Skip to main content

engage/generated/unity_engine/
setupcoroutine.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-setupcoroutine-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/unity_engine/setupcoroutine/SetupCoroutine.md"))]
11    #[::unity::class(namespace = "UnityEngine", name = "SetupCoroutine")]
12    #[parent(crate::system::object::Object)]
13    pub struct SetupCoroutine {}
14}
15
16#[cfg(feature = "unity_engine-setupcoroutine-types")]
17pub use __types::*;
18
19#[cfg(feature = "unity_engine-setupcoroutine")]
20impl SetupCoroutine {
21    #[doc = "`InvokeMoveNext(crate::system::collections::ienumerator::IEnumerator, ::unity::IntPtr)` overload"]
22    pub fn invoke_move_next(
23        enumerator: impl ::core::convert::Into<crate::system::collections::ienumerator::IEnumerator>,
24        return_value_address: impl ::core::convert::Into<::unity::IntPtr>,
25    ) -> () {
26        unsafe {
27            ::unity::il2cpp_call!((::unity::module_base()+0x2f8e830usize)as*mut u8,();
28(crate::system::collections::ienumerator::IEnumerator)::core::convert::Into::into(enumerator),(::unity::IntPtr)::core::convert::Into::into(return_value_address))
29        }
30    }
31
32    #[doc = "`InvokeMember(crate::system::object::Object, ::unity::Il2CppString, crate::system::object::Object)` overload"]
33    pub fn invoke_member(
34        behaviour: impl ::core::convert::Into<crate::system::object::Object>,
35        name: impl ::core::convert::Into<::unity::Il2CppString>,
36        variable: impl ::core::convert::Into<crate::system::object::Object>,
37    ) -> crate::system::object::Object {
38        unsafe {
39            ::unity::il2cpp_call!((::unity::module_base()+0x2f8e970usize)as*mut u8,crate::system::object::Object;
40(crate::system::object::Object)::core::convert::Into::into(behaviour),(::unity::Il2CppString)::core::convert::Into::into(name),(crate::system::object::Object)::core::convert::Into::into(variable))
41        }
42    }
43}
44
45#[cfg(feature = "unity_engine-setupcoroutine")]
46impl SetupCoroutine {
47    pub fn invoke_move_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
48        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
49    }
50
51    pub fn invoke_member_method_info() -> &'static ::unity::il2cpp::MethodInfo {
52        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
53    }
54}
55
56#[cfg(feature = "unity_engine-setupcoroutine")]
57#[doc(hidden)]
58pub mod prelude {
59    pub use super::{ISetupCoroutine, SetupCoroutine};
60    pub use crate::system::object::IObject;
61    #[cfg(feature = "system-object")]
62    pub use crate::system::object::IObjectMethods;
63}