Skip to main content

engage/generated/app/
synthesisringexecute.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-synthesisringexecute-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/synthesisringexecute/SynthesisRingExecute.md"))]
11    #[::unity::class(namespace = "App", name = "SynthesisRingExecute")]
12    #[parent(crate::system::object::Object)]
13    pub struct SynthesisRingExecute {}
14}
15
16#[cfg(feature = "app-synthesisringexecute-types")]
17pub use __types::*;
18
19#[cfg(feature = "app-synthesisringexecute")]
20impl SynthesisRingExecute {
21    #[doc = "`Do(::unity::Il2CppString, i32, i32)` overload"]
22    pub fn r#do(
23        base_ring_rnid: impl ::core::convert::Into<::unity::Il2CppString>,
24        count_base_ring: impl ::core::convert::Into<i32>,
25        count_piece_of_bonds: impl ::core::convert::Into<i32>,
26    ) -> bool {
27        unsafe {
28            ::unity::il2cpp_call!((::unity::module_base()+0x20b2ae0usize)as*mut u8,bool;
29(::unity::Il2CppString)::core::convert::Into::into(base_ring_rnid),(i32)::core::convert::Into::into(count_base_ring),(i32)::core::convert::Into::into(count_piece_of_bonds))
30        }
31    }
32}
33
34#[cfg(feature = "app-synthesisringexecute")]
35pub trait ISynthesisRingExecuteMethods: ISynthesisRingExecute {
36    #[doc = "`.ctor()` overload"]
37    fn ctor(self) -> () {
38        unsafe {
39            let __receiver = <SynthesisRingExecute as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
40            ::unity::il2cpp_call!((::unity::module_base()+0x20b2d10usize)as*mut u8,();
41(SynthesisRingExecute)__receiver)
42        }
43    }
44}
45
46#[cfg(feature = "app-synthesisringexecute")]
47impl<__T: ISynthesisRingExecute> ISynthesisRingExecuteMethods for __T {}
48
49#[cfg(feature = "app-synthesisringexecute")]
50impl SynthesisRingExecute {
51    pub fn do_method_info() -> &'static ::unity::il2cpp::MethodInfo {
52        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
53    }
54
55    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
56        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
57    }
58}
59
60#[cfg(feature = "app-synthesisringexecute")]
61impl SynthesisRingExecute {
62    #[doc = "`.ctor()` — no args"]
63    pub fn new() -> Self {
64        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
65            panic!(
66                "{}
67::{}
68 failed to instantiate",
69                ::core::stringify!(SynthesisRingExecute),
70                ::core::stringify!(new),
71            )
72        });
73        <Self as ISynthesisRingExecuteMethods>::ctor(this);
74        this
75    }
76}
77
78#[cfg(feature = "app-synthesisringexecute")]
79#[doc(hidden)]
80pub mod prelude {
81    pub use super::{ISynthesisRingExecute, ISynthesisRingExecuteMethods, SynthesisRingExecute};
82    pub use crate::system::object::IObject;
83    #[cfg(feature = "system-object")]
84    pub use crate::system::object::IObjectMethods;
85}