Skip to main content

engage/generated/app/
skilleditroot.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-skilleditroot-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::{
11            behaviour::{Behaviour, IBehaviour},
12            component::{Component, IComponent},
13            monobehaviour::{IMonoBehaviour, MonoBehaviour},
14            object_2::{IObject_2, Object_2},
15        },
16    };
17
18    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/skilleditroot/SkillEditRoot.md"))]
19    #[::unity::class(namespace = "App", name = "SkillEditRoot")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct SkillEditRoot {
22        #[offset(24)]
23        #[rename(name = "m_EquipSkillList")]
24        pub m_equip_skill_list: crate::unity_engine::gameobject::GameObject,
25        #[offset(32)]
26        #[rename(name = "m_PoolSkillList")]
27        pub m_pool_skill_list: crate::unity_engine::gameobject::GameObject,
28        #[offset(40)]
29        #[rename(name = "m_SkillInfo")]
30        pub m_skill_info: crate::unity_engine::gameobject::GameObject,
31        #[offset(48)]
32        #[rename(name = "m_SkillInfoRoot")]
33        pub m_skill_info_root: crate::unity_engine::gameobject::GameObject,
34    }
35}
36
37#[cfg(feature = "app-skilleditroot-types")]
38pub use __types::*;
39
40#[cfg(feature = "app-skilleditroot")]
41pub trait ISkillEditRootMethods: ISkillEditRoot {
42    #[doc = "`GetGameObjectEquip()` overload"]
43    fn get_game_object_equip(self) -> crate::unity_engine::gameobject::GameObject {
44        unsafe {
45            let __receiver = <SkillEditRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
46            ::unity::il2cpp_call!((::unity::module_base()+0x24a16a0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
47(SkillEditRoot)__receiver)
48        }
49    }
50    #[doc = "`GetGameObjectPool()` overload"]
51    fn get_game_object_pool(self) -> crate::unity_engine::gameobject::GameObject {
52        unsafe {
53            let __receiver = <SkillEditRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
54            ::unity::il2cpp_call!((::unity::module_base()+0x24a16b0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
55(SkillEditRoot)__receiver)
56        }
57    }
58    #[doc = "`GetSkillInfo()` overload"]
59    fn get_skill_info(self) -> crate::unity_engine::gameobject::GameObject {
60        unsafe {
61            let __receiver = <SkillEditRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
62            ::unity::il2cpp_call!((::unity::module_base()+0x24a16c0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
63(SkillEditRoot)__receiver)
64        }
65    }
66    #[doc = "`GetSkillInfoRoot()` overload"]
67    fn get_skill_info_root(self) -> crate::unity_engine::gameobject::GameObject {
68        unsafe {
69            let __receiver = <SkillEditRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
70            ::unity::il2cpp_call!((::unity::module_base()+0x24a16d0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
71(SkillEditRoot)__receiver)
72        }
73    }
74    #[doc = "`.ctor()` overload"]
75    fn ctor(self) -> () {
76        unsafe {
77            let __receiver = <SkillEditRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
78            ::unity::il2cpp_call!((::unity::module_base()+0x24a16e0usize)as*mut u8,();
79(SkillEditRoot)__receiver)
80        }
81    }
82}
83
84#[cfg(feature = "app-skilleditroot")]
85impl<__T: ISkillEditRoot> ISkillEditRootMethods for __T {}
86
87#[cfg(feature = "app-skilleditroot")]
88impl SkillEditRoot {
89    pub fn get_game_object_equip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
90        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
91    }
92
93    pub fn get_game_object_pool_method_info() -> &'static ::unity::il2cpp::MethodInfo {
94        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
95    }
96
97    pub fn get_skill_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
98        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
99    }
100
101    pub fn get_skill_info_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
102        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
103    }
104
105    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
106        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
107    }
108}
109
110#[cfg(feature = "app-skilleditroot")]
111impl SkillEditRoot {
112    #[doc = "`.ctor()` — no args"]
113    pub fn new() -> Self {
114        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
115            panic!(
116                "{}
117::{}
118 failed to instantiate",
119                ::core::stringify!(SkillEditRoot),
120                ::core::stringify!(new),
121            )
122        });
123        <Self as ISkillEditRootMethods>::ctor(this);
124        this
125    }
126}
127
128#[cfg(feature = "app-skilleditroot")]
129#[doc(hidden)]
130pub mod prelude {
131    pub use super::{ISkillEditRoot, ISkillEditRootMethods, SkillEditRoot};
132    #[cfg(feature = "system-object")]
133    pub use crate::system::object::IObjectMethods;
134    #[cfg(feature = "unity_engine-behaviour")]
135    pub use crate::unity_engine::behaviour::IBehaviourMethods;
136    #[cfg(feature = "unity_engine-component")]
137    pub use crate::unity_engine::component::IComponentMethods;
138    #[cfg(feature = "unity_engine-monobehaviour")]
139    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
140    #[cfg(feature = "unity_engine-object_2")]
141    pub use crate::unity_engine::object_2::IObject_2Methods;
142    pub use crate::{
143        system::object::IObject,
144        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
145    };
146}