Skip to main content

engage/generated/app/
animalsequence.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-animalsequence-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            procinst::{IProcInst, ProcInst},
11            singletonprocinst_1::{ISingletonProcInst_1, SingletonProcInst_1},
12        },
13        system::{
14            object::{IObject, Object},
15            r#enum::{Enum, IEnum},
16            valuetype::{IValueType, ValueType},
17        },
18    };
19
20    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/animalsequence/AnimalSequence_Label.md"))]
21    #[repr(C)]
22    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
23    pub struct AnimalSequence_Label {
24        pub value: i32,
25    }
26    impl ::unity::ClassIdentity for AnimalSequence_Label {
27        const NAME: &'static str = "AnimalSequence.Label";
28        const NAMESPACE: &'static str = "App";
29
30        fn class() -> ::unity::Class {
31            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
32            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
33        }
34    }
35    impl ::unity::IlType for AnimalSequence_Label {
36        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
37            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
38        }
39    }
40    impl AnimalSequence_Label {
41        pub fn init() -> Self {
42            Self { value: 0 }
43        }
44
45        pub fn main() -> Self {
46            Self { value: 1 }
47        }
48
49        pub fn load() -> Self {
50            Self { value: 2 }
51        }
52
53        pub fn end() -> Self {
54            Self { value: 3 }
55        }
56    }
57
58    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/animalsequence/AnimalSequence.md"))]
59    #[::unity::class(namespace = "App", name = "AnimalSequence")]
60    #[parent(crate::app::singletonprocinst_1::SingletonProcInst_1<crate::app::animalsequence::AnimalSequence>)]
61    pub struct AnimalSequence {
62        #[offset(128)]
63        #[rename(name = "AnimalList")]
64        pub animal_list: ::unity::Array<::unity::Il2CppString>,
65        #[offset(136)]
66        #[rename(name = "AnimalLoadingCount")]
67        pub animal_loading_count: i32,
68    }
69}
70
71#[cfg(feature = "app-animalsequence-types")]
72pub use __types::*;
73
74#[cfg(feature = "app-animalsequence")]
75impl AnimalSequence {
76    #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
77    pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::procinst::ProcInst {
78        unsafe {
79            ::unity::il2cpp_call!((::unity::module_base()+0x1c9bb30usize)as*mut u8,crate::app::procinst::ProcInst;
80(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
81        }
82    }
83}
84
85#[cfg(feature = "app-animalsequence")]
86pub trait IAnimalSequenceMethods: IAnimalSequence {
87    #[doc = "`get_Player()` overload"]
88    fn get_player(self) -> crate::app::hubplayercontroller::HubPlayerController {
89        unsafe {
90            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91            ::unity::il2cpp_call!((::unity::module_base()+0x1c9aad0usize)as*mut u8,crate::app::hubplayercontroller::HubPlayerController;
92(AnimalSequence)__receiver)
93        }
94    }
95    #[doc = "`get_Camera()` overload"]
96    fn get_camera(self) -> crate::app::hubcamera::HubCamera {
97        unsafe {
98            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99            ::unity::il2cpp_call!((::unity::module_base()+0x1c9ab50usize)as*mut u8,crate::app::hubcamera::HubCamera;
100(AnimalSequence)__receiver)
101        }
102    }
103    #[doc = "`get_IsDirtyFlag()` overload"]
104    fn get_is_dirty_flag(self) -> bool {
105        unsafe {
106            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107            ::unity::il2cpp_call!((::unity::module_base()+0x1c9abd0usize)as*mut u8,bool;
108(AnimalSequence)__receiver)
109        }
110    }
111    #[doc = "`set_IsDirtyFlag(bool)` overload"]
112    fn set_is_dirty_flag(self, value: impl ::core::convert::Into<bool>) -> () {
113        unsafe {
114            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
115            ::unity::il2cpp_call!((::unity::module_base()+0x1c9abe0usize)as*mut u8,();
116(AnimalSequence)__receiver,(bool)::core::convert::Into::into(value))
117        }
118    }
119    #[doc = "`IsDirty()` overload"]
120    fn is_dirty(self) -> bool {
121        unsafe {
122            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123            ::unity::il2cpp_call!((::unity::module_base()+0x1c9abf0usize)as*mut u8,bool;
124(AnimalSequence)__receiver)
125        }
126    }
127    #[doc = "`Init()` overload"]
128    fn init(self) -> () {
129        unsafe {
130            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131            ::unity::il2cpp_call!((::unity::module_base()+0x1c9ac00usize)as*mut u8,();
132(AnimalSequence)__receiver)
133        }
134    }
135    #[doc = "`Exit()` overload"]
136    fn exit(self) -> () {
137        unsafe {
138            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139            ::unity::il2cpp_call!((::unity::module_base()+0x1c9ac80usize)as*mut u8,();
140(AnimalSequence)__receiver)
141        }
142    }
143    #[doc = "`CreateMenu()` overload"]
144    fn create_menu(self) -> () {
145        unsafe {
146            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147            ::unity::il2cpp_call!((::unity::module_base()+0x1c9ad10usize)as*mut u8,();
148(AnimalSequence)__receiver)
149        }
150    }
151    #[doc = "`Prepare()` overload"]
152    fn prepare(self) -> () {
153        unsafe {
154            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155            ::unity::il2cpp_call!((::unity::module_base()+0x1c9ad20usize)as*mut u8,();
156(AnimalSequence)__receiver)
157        }
158    }
159    #[doc = "`ClearLocator(crate::unity_engine::gameobject::GameObject)` overload"]
160    fn clear_locator(self, locator: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
161        unsafe {
162            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163            ::unity::il2cpp_call!((::unity::module_base()+0x1c9b0c0usize)as*mut u8,();
164(AnimalSequence)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(locator))
165        }
166    }
167    #[doc = "`SetupCharacterFadeLength(crate::combat::character::Character, f32)` overload"]
168    fn setup_character_fade_length(
169        self,
170        chara: impl ::core::convert::Into<crate::combat::character::Character>,
171        fade_distance: impl ::core::convert::Into<f32>,
172    ) -> () {
173        unsafe {
174            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
175            ::unity::il2cpp_call!((::unity::module_base()+0x1c9b400usize)as*mut u8,();
176(AnimalSequence)__receiver,(crate::combat::character::Character)::core::convert::Into::into(chara),(f32)::core::convert::Into::into(fade_distance))
177        }
178    }
179    #[doc = "`SetupCharacterFadeRadius(crate::combat::character::Character, f32)` overload"]
180    fn setup_character_fade_radius(
181        self,
182        chara: impl ::core::convert::Into<crate::combat::character::Character>,
183        radius: impl ::core::convert::Into<f32>,
184    ) -> () {
185        unsafe {
186            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187            ::unity::il2cpp_call!((::unity::module_base()+0x1c9b4c0usize)as*mut u8,();
188(AnimalSequence)__receiver,(crate::combat::character::Character)::core::convert::Into::into(chara),(f32)::core::convert::Into::into(radius))
189        }
190    }
191    #[doc = "`LoadCharacter(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject, crate::app::hubaccess::HubAccess, crate::system::action_1::Action_1<crate::app::hubunitcontroller::HubUnitController>)` overload"]
192    fn load_character(
193        self,
194        pid: impl ::core::convert::Into<::unity::Il2CppString>,
195        locator: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
196        access: impl ::core::convert::Into<crate::app::hubaccess::HubAccess>,
197        callback: impl ::core::convert::Into<crate::system::action_1::Action_1<crate::app::hubunitcontroller::HubUnitController>>,
198    ) -> () {
199        unsafe {
200            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201            ::unity::il2cpp_call!((::unity::module_base()+0x1c9b590usize)as*mut u8,();
202(AnimalSequence)__receiver,(::unity::Il2CppString)::core::convert::Into::into(pid),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(locator),(crate::app::hubaccess::HubAccess)::core::convert::Into::into(access),(crate::system::action_1::Action_1<crate::app::hubunitcontroller::HubUnitController>)::core::convert::Into::into(callback))
203        }
204    }
205    #[doc = "`Load()` overload"]
206    fn load(self) -> () {
207        unsafe {
208            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209            ::unity::il2cpp_call!((::unity::module_base()+0x1c9b780usize)as*mut u8,();
210(AnimalSequence)__receiver)
211        }
212    }
213    #[doc = "`PostLoad()` overload"]
214    fn post_load(self) -> () {
215        unsafe {
216            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217            ::unity::il2cpp_call!((::unity::module_base()+0x1c9ba50usize)as*mut u8,();
218(AnimalSequence)__receiver)
219        }
220    }
221    #[doc = "`IsLoading()` overload"]
222    fn is_loading(self) -> bool {
223        unsafe {
224            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225            ::unity::il2cpp_call!((::unity::module_base()+0x1c9c7c0usize)as*mut u8,bool;
226(AnimalSequence)__receiver)
227        }
228    }
229    #[doc = "`.ctor()` overload"]
230    fn ctor(self) -> () {
231        unsafe {
232            let __receiver = <AnimalSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
233            ::unity::il2cpp_call!((::unity::module_base()+0x1c9c3a0usize)as*mut u8,();
234(AnimalSequence)__receiver)
235        }
236    }
237}
238
239#[cfg(feature = "app-animalsequence")]
240impl<__T: IAnimalSequence> IAnimalSequenceMethods for __T {}
241
242#[cfg(feature = "app-animalsequence")]
243impl AnimalSequence {
244    pub fn get_player_method_info() -> &'static ::unity::il2cpp::MethodInfo {
245        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
246    }
247
248    pub fn get_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
249        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
250    }
251
252    pub fn get_is_dirty_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
253        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
254    }
255
256    pub fn set_is_dirty_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
257        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
258    }
259
260    pub fn is_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
261        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
262    }
263
264    pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
265        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
266    }
267
268    pub fn exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
269        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
270    }
271
272    pub fn create_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
273        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
274    }
275
276    pub fn prepare_method_info() -> &'static ::unity::il2cpp::MethodInfo {
277        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
278    }
279
280    pub fn clear_locator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
281        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
282    }
283
284    pub fn setup_character_fade_length_method_info() -> &'static ::unity::il2cpp::MethodInfo {
285        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
286    }
287
288    pub fn setup_character_fade_radius_method_info() -> &'static ::unity::il2cpp::MethodInfo {
289        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
290    }
291
292    pub fn load_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
293        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
294    }
295
296    pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
297        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
298    }
299
300    pub fn post_load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
301        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
302    }
303
304    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
305        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
306    }
307
308    pub fn is_loading_method_info() -> &'static ::unity::il2cpp::MethodInfo {
309        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
310    }
311
312    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
313        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
314    }
315}
316
317#[cfg(feature = "app-animalsequence")]
318impl AnimalSequence {
319    #[doc = "`.ctor()` — no args"]
320    pub fn new() -> Self {
321        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
322            panic!(
323                "{}
324::{}
325 failed to instantiate",
326                ::core::stringify!(AnimalSequence),
327                ::core::stringify!(new),
328            )
329        });
330        <Self as IAnimalSequenceMethods>::ctor(this);
331        this
332    }
333}
334
335#[cfg(feature = "app-animalsequence")]
336#[doc(hidden)]
337pub mod prelude {
338    pub use super::{AnimalSequence, AnimalSequence_Label, IAnimalSequence, IAnimalSequenceMethods};
339    #[cfg(feature = "app-procinst")]
340    pub use crate::app::procinst::IProcInstMethods;
341    #[cfg(feature = "app-singletonprocinst_1")]
342    pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
343    #[cfg(feature = "system-object")]
344    pub use crate::system::object::IObjectMethods;
345    #[cfg(feature = "system-enum")]
346    pub use crate::system::r#enum::IEnumMethods;
347    #[cfg(feature = "system-valuetype")]
348    pub use crate::system::valuetype::IValueTypeMethods;
349    pub use crate::{
350        app::{procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1},
351        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
352    };
353}