Skip to main content

engage/generated/app/
levelupwindowcontroller.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-levelupwindowcontroller-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/levelupwindowcontroller/LevelUpWindowController.md"))]
19    #[::unity::class(namespace = "App", name = "LevelUpWindowController")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct LevelUpWindowController {
22        #[offset(24)]
23        #[rename(name = "m_CharaName")]
24        pub m_chara_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
25        #[offset(32)]
26        #[rename(name = "m_TitleLevel")]
27        pub m_title_level: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
28        #[offset(40)]
29        #[rename(name = "m_Level")]
30        pub m_level: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
31        #[offset(48)]
32        #[rename(name = "m_Job")]
33        pub m_job: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
34        #[offset(56)]
35        #[rename(name = "m_ParameterMax")]
36        pub m_parameter_max: i32,
37        #[offset(64)]
38        #[rename(name = "m_Hp")]
39        pub m_hp: crate::unity_engine::gameobject::GameObject,
40        #[offset(72)]
41        #[rename(name = "m_Str")]
42        pub m_str: crate::unity_engine::gameobject::GameObject,
43        #[offset(80)]
44        #[rename(name = "m_Magic")]
45        pub m_magic: crate::unity_engine::gameobject::GameObject,
46        #[offset(88)]
47        #[rename(name = "m_Tech")]
48        pub m_tech: crate::unity_engine::gameobject::GameObject,
49        #[offset(96)]
50        #[rename(name = "m_Quick")]
51        pub m_quick: crate::unity_engine::gameobject::GameObject,
52        #[offset(104)]
53        #[rename(name = "m_Def")]
54        pub m_def: crate::unity_engine::gameobject::GameObject,
55        #[offset(112)]
56        #[rename(name = "m_Mdef")]
57        pub m_mdef: crate::unity_engine::gameobject::GameObject,
58        #[offset(120)]
59        #[rename(name = "m_Luck")]
60        pub m_luck: crate::unity_engine::gameobject::GameObject,
61        #[offset(128)]
62        #[rename(name = "m_Phys")]
63        pub m_phys: crate::unity_engine::gameobject::GameObject,
64        #[offset(136)]
65        #[rename(name = "m_Sight")]
66        pub m_sight: crate::unity_engine::gameobject::GameObject,
67        #[offset(144)]
68        #[rename(name = "m_Move")]
69        pub m_move: crate::unity_engine::gameobject::GameObject,
70        #[offset(152)]
71        #[rename(name = "m_ArrowUp")]
72        pub m_arrow_up: crate::unity_engine::sprite::Sprite,
73        #[offset(160)]
74        #[rename(name = "m_ArrowDown")]
75        pub m_arrow_down: crate::unity_engine::sprite::Sprite,
76        #[offset(168)]
77        #[rename(name = "m_FrameUp")]
78        pub m_frame_up: crate::unity_engine::sprite::Sprite,
79        #[offset(176)]
80        #[rename(name = "m_FrameDown")]
81        pub m_frame_down: crate::unity_engine::sprite::Sprite,
82        #[offset(184)]
83        #[rename(name = "m_ParamObjectArray")]
84        pub m_param_object_array: ::unity::Array<crate::unity_engine::gameobject::GameObject>,
85    }
86}
87
88#[cfg(feature = "app-levelupwindowcontroller-types")]
89pub use __types::*;
90
91#[cfg(feature = "app-levelupwindowcontroller")]
92pub trait ILevelUpWindowControllerMethods: ILevelUpWindowController {
93    #[doc = "`Start()` overload"]
94    fn start(self) -> () {
95        unsafe {
96            let __receiver =
97                <LevelUpWindowController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
98            ::unity::il2cpp_call!((::unity::module_base()+0x1be9fc0usize)as*mut u8,();
99(LevelUpWindowController)__receiver)
100        }
101    }
102    #[doc = "`Update()` overload"]
103    fn update(self) -> () {
104        unsafe {
105            let __receiver =
106                <LevelUpWindowController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107            ::unity::il2cpp_call!((::unity::module_base()+0x1bea880usize)as*mut u8,();
108(LevelUpWindowController)__receiver)
109        }
110    }
111    #[doc = "`GetValueTextMesh(crate::unity_engine::gameobject::GameObject)` overload"]
112    fn get_value_text_mesh(
113        self,
114        param_root: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
115    ) -> crate::tm_pro::textmeshprougui::TextMeshProUGUI {
116        unsafe {
117            let __receiver =
118                <LevelUpWindowController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119            ::unity::il2cpp_call!((::unity::module_base()+0x1bea890usize)as*mut u8,crate::tm_pro::textmeshprougui::TextMeshProUGUI;
120(LevelUpWindowController)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(param_root))
121        }
122    }
123    #[doc = "`StartAnime(crate::unity_engine::gameobject::GameObject)` overload"]
124    fn start_anime(self, param_root: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
125        unsafe {
126            let __receiver =
127                <LevelUpWindowController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128            ::unity::il2cpp_call!((::unity::module_base()+0x1bea930usize)as*mut u8,();
129(LevelUpWindowController)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(param_root))
130        }
131    }
132    #[doc = "`SetupParams(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
133    fn setup_params(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>, next: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
134        unsafe {
135            let __receiver =
136                <LevelUpWindowController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137            ::unity::il2cpp_call!((::unity::module_base()+0x1be1e30usize)as*mut u8,();
138(LevelUpWindowController)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::unit::Unit)::core::convert::Into::into(next))
139        }
140    }
141    #[doc = "`ChangeParam(crate::app::capabilitydefinition::CapabilityDefinition_Type, i32, i32)` overload"]
142    fn change_param(
143        self,
144        r#type: impl ::core::convert::Into<crate::app::capabilitydefinition::CapabilityDefinition_Type>,
145        change: impl ::core::convert::Into<i32>,
146        new_value: impl ::core::convert::Into<i32>,
147    ) -> () {
148        unsafe {
149            let __receiver =
150                <LevelUpWindowController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151            ::unity::il2cpp_call!((::unity::module_base()+0x1be6b60usize)as*mut u8,();
152(LevelUpWindowController)__receiver,(crate::app::capabilitydefinition::CapabilityDefinition_Type)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(change),(i32)::core::convert::Into::into(new_value))
153        }
154    }
155    #[doc = "`OutAnime()` overload"]
156    fn out_anime(self) -> () {
157        unsafe {
158            let __receiver =
159                <LevelUpWindowController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
160            ::unity::il2cpp_call!((::unity::module_base()+0x1be92e0usize)as*mut u8,();
161(LevelUpWindowController)__receiver)
162        }
163    }
164    #[doc = "`IsAnimation()` overload"]
165    fn is_animation(self) -> bool {
166        unsafe {
167            let __receiver =
168                <LevelUpWindowController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
169            ::unity::il2cpp_call!((::unity::module_base()+0x1be5090usize)as*mut u8,bool;
170(LevelUpWindowController)__receiver)
171        }
172    }
173    #[doc = "`.ctor()` overload"]
174    fn ctor(self) -> () {
175        unsafe {
176            let __receiver =
177                <LevelUpWindowController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
178            ::unity::il2cpp_call!((::unity::module_base()+0x1beaa00usize)as*mut u8,();
179(LevelUpWindowController)__receiver)
180        }
181    }
182}
183
184#[cfg(feature = "app-levelupwindowcontroller")]
185impl<__T: ILevelUpWindowController> ILevelUpWindowControllerMethods for __T {}
186
187#[cfg(feature = "app-levelupwindowcontroller")]
188impl LevelUpWindowController {
189    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
190        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
191    }
192
193    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
194        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
195    }
196
197    pub fn get_value_text_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
198        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
199    }
200
201    pub fn start_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
202        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
203    }
204
205    pub fn setup_params_method_info() -> &'static ::unity::il2cpp::MethodInfo {
206        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
207    }
208
209    pub fn change_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
210        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
211    }
212
213    pub fn out_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
214        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
215    }
216
217    pub fn is_animation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
218        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
219    }
220
221    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
223    }
224}
225
226#[cfg(feature = "app-levelupwindowcontroller")]
227impl LevelUpWindowController {
228    #[doc = "`.ctor()` — no args"]
229    pub fn new() -> Self {
230        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
231            panic!(
232                "{}
233::{}
234 failed to instantiate",
235                ::core::stringify!(LevelUpWindowController),
236                ::core::stringify!(new),
237            )
238        });
239        <Self as ILevelUpWindowControllerMethods>::ctor(this);
240        this
241    }
242}
243
244#[cfg(feature = "app-levelupwindowcontroller")]
245#[doc(hidden)]
246pub mod prelude {
247    pub use super::{ILevelUpWindowController, ILevelUpWindowControllerMethods, LevelUpWindowController};
248    #[cfg(feature = "system-object")]
249    pub use crate::system::object::IObjectMethods;
250    #[cfg(feature = "unity_engine-behaviour")]
251    pub use crate::unity_engine::behaviour::IBehaviourMethods;
252    #[cfg(feature = "unity_engine-component")]
253    pub use crate::unity_engine::component::IComponentMethods;
254    #[cfg(feature = "unity_engine-monobehaviour")]
255    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
256    #[cfg(feature = "unity_engine-object_2")]
257    pub use crate::unity_engine::object_2::IObject_2Methods;
258    pub use crate::{
259        system::object::IObject,
260        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
261    };
262}