1#[cfg(feature = "app-levelupsequnece-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::procinst::{IProcInst, ProcInst},
10 system::object::{IObject, Object},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/levelupsequnece/LevelUpSequnece.md"))]
14 #[::unity::class(namespace = "App", name = "LevelUpSequnece")]
15 #[parent(crate::app::procinst::ProcInst)]
16 pub struct LevelUpSequnece {
17 #[offset(112)]
18 #[rename(name = "ResNameLevelUp")]
19 pub res_name_level_up: ::unity::Il2CppString,
20 #[offset(120)]
21 #[rename(name = "ResNameClassChange")]
22 pub res_name_class_change: ::unity::Il2CppString,
23 #[offset(128)]
24 #[rename(name = "m_Unit")]
25 pub m_unit: crate::app::unit::Unit,
26 #[offset(136)]
27 #[rename(name = "m_Grow")]
28 pub m_grow: crate::app::unit::Unit,
29 #[offset(144)]
30 #[rename(name = "m_Level")]
31 pub m_level: i32,
32 #[offset(148)]
33 #[rename(name = "m_IsClassChange")]
34 pub m_is_class_change: bool,
35 #[offset(152)]
36 #[rename(name = "m_TalkMid")]
37 pub m_talk_mid: ::unity::Il2CppString,
38 #[offset(160)]
39 #[rename(name = "m_Window")]
40 pub m_window: crate::app::levelupwindowcontroller::LevelUpWindowController,
41 #[offset(168)]
42 #[rename(name = "m_IsShowCharaImage")]
43 pub m_is_show_chara_image: bool,
44 #[offset(169)]
45 #[rename(name = "m_IsTalk")]
46 pub m_is_talk: bool,
47 #[offset(172)]
48 #[rename(name = "m_NowCapabilityIndex")]
49 pub m_now_capability_index: i32,
50 #[offset(176)]
51 #[rename(name = "m_CapabilityOrder")]
52 pub m_capability_order: ::unity::Array<crate::app::capabilitydefinition::CapabilityDefinition_Type>,
53 }
54}
55
56#[cfg(feature = "app-levelupsequnece-types")]
57pub use __types::*;
58
59#[cfg(feature = "app-levelupsequnece")]
60impl LevelUpSequnece {
61 #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::unit::Unit, i32, bool, bool)` overload"]
62 pub fn create_bind(
63 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
64 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
65 level: impl ::core::convert::Into<i32>,
66 is_show_chara_image: impl ::core::convert::Into<bool>,
67 is_talk: impl ::core::convert::Into<bool>,
68 ) -> () {
69 unsafe {
70 ::unity::il2cpp_call!((::unity::module_base()+0x1be9600usize)as*mut u8,();
71(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(level),(bool)::core::convert::Into::into(is_show_chara_image),(bool)::core::convert::Into::into(is_talk))
72 }
73 }
74
75 #[doc = "`CreateBindClassChange(crate::app::procinst::ProcInst, crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
76 pub fn create_bind_class_change(
77 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
78 before_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
79 after_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
80 ) -> () {
81 unsafe {
82 ::unity::il2cpp_call!((::unity::module_base()+0x1be9f40usize)as*mut u8,();
83(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(before_unit),(crate::app::unit::Unit)::core::convert::Into::into(after_unit))
84 }
85 }
86}
87
88#[cfg(feature = "app-levelupsequnece")]
89pub trait ILevelUpSequneceMethods: ILevelUpSequnece {
90 #[doc = "`.ctor(crate::app::unit::Unit, i32, bool, bool)` overload"]
91 fn ctor(
92 self,
93 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
94 level: impl ::core::convert::Into<i32>,
95 is_show_chara_image: impl ::core::convert::Into<bool>,
96 is_talk: impl ::core::convert::Into<bool>,
97 ) -> () {
98 unsafe {
99 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
100 ::unity::il2cpp_call!((::unity::module_base()+0x1be0f50usize)as*mut u8,();
101(LevelUpSequnece)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(level),(bool)::core::convert::Into::into(is_show_chara_image),(bool)::core::convert::Into::into(is_talk))
102 }
103 }
104 #[doc = "`.ctor(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
105 fn ctor_2(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>, grow: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
106 unsafe {
107 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
108 ::unity::il2cpp_call!((::unity::module_base()+0x1be10c0usize)as*mut u8,();
109(LevelUpSequnece)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::unit::Unit)::core::convert::Into::into(grow))
110 }
111 }
112 #[doc = "`OnCreate()` overload"]
113 fn on_create(self) -> () {
114 unsafe {
115 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
116 {
117 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
118 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
119 panic!(
120 "unity: virtual slot {}
121 out of range (vtable len {}
122) on the runtime class behind {}
123 (method `{}
124`)",
125 9usize,
126 __vt.len(),
127 <LevelUpSequnece as ::unity::ClassIdentity>::NAME,
128 "OnCreate",
129 )
130 });
131 let __inner: extern "C" fn(LevelUpSequnece, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
132 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
133 __inner(__receiver, __mi)
134 }
135 }
136 }
137 #[doc = "`OnDispose()` overload"]
138 fn on_dispose(self) -> () {
139 unsafe {
140 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
141 {
142 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
143 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
144 panic!(
145 "unity: virtual slot {}
146 out of range (vtable len {}
147) on the runtime class behind {}
148 (method `{}
149`)",
150 10usize,
151 __vt.len(),
152 <LevelUpSequnece as ::unity::ClassIdentity>::NAME,
153 "OnDispose",
154 )
155 });
156 let __inner: extern "C" fn(LevelUpSequnece, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
157 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
158 __inner(__receiver, __mi)
159 }
160 }
161 }
162 #[doc = "`GetResName()` overload"]
163 fn get_res_name(self) -> ::unity::Il2CppString {
164 unsafe {
165 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
166 ::unity::il2cpp_call!((::unity::module_base()+0x1be1240usize)as*mut u8, ::unity::Il2CppString;
167(LevelUpSequnece)__receiver)
168 }
169 }
170 #[doc = "`Prepare()` overload"]
171 fn prepare(self) -> () {
172 unsafe {
173 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
174 ::unity::il2cpp_call!((::unity::module_base()+0x1be1260usize)as*mut u8,();
175(LevelUpSequnece)__receiver)
176 }
177 }
178 #[doc = "`Reflect()` overload"]
179 fn reflect(self) -> () {
180 unsafe {
181 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
182 ::unity::il2cpp_call!((::unity::module_base()+0x1be13a0usize)as*mut u8,();
183(LevelUpSequnece)__receiver)
184 }
185 }
186 #[doc = "`ReloadActor()` overload"]
187 fn reload_actor(self) -> () {
188 unsafe {
189 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
190 ::unity::il2cpp_call!((::unity::module_base()+0x1be19a0usize)as*mut u8,();
191(LevelUpSequnece)__receiver)
192 }
193 }
194 #[doc = "`WaitReloadActor()` overload"]
195 fn wait_reload_actor(self) -> () {
196 unsafe {
197 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
198 ::unity::il2cpp_call!((::unity::module_base()+0x1be1af0usize)as*mut u8,();
199(LevelUpSequnece)__receiver)
200 }
201 }
202 #[doc = "`Effect()` overload"]
203 fn effect(self) -> () {
204 unsafe {
205 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
206 ::unity::il2cpp_call!((::unity::module_base()+0x1be1ba0usize)as*mut u8,();
207(LevelUpSequnece)__receiver)
208 }
209 }
210 #[doc = "`IsLoadingRes()` overload"]
211 fn is_loading_res(self) -> bool {
212 unsafe {
213 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
214 ::unity::il2cpp_call!((::unity::module_base()+0x1be1c60usize)as*mut u8,bool;
215(LevelUpSequnece)__receiver)
216 }
217 }
218 #[doc = "`Open()` overload"]
219 fn open(self) -> () {
220 unsafe {
221 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
222 ::unity::il2cpp_call!((::unity::module_base()+0x1be1cf0usize)as*mut u8,();
223(LevelUpSequnece)__receiver)
224 }
225 }
226 #[doc = "`WaitAnime()` overload"]
227 fn wait_anime(self) -> () {
228 unsafe {
229 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
230 ::unity::il2cpp_call!((::unity::module_base()+0x1be5040usize)as*mut u8,();
231(LevelUpSequnece)__receiver)
232 }
233 }
234 #[doc = "`CheckParamChange()` overload"]
235 fn check_param_change(self) -> () {
236 unsafe {
237 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
238 ::unity::il2cpp_call!((::unity::module_base()+0x1be5260usize)as*mut u8,();
239(LevelUpSequnece)__receiver)
240 }
241 }
242 #[doc = "`GetUpParamCount()` overload"]
243 fn get_up_param_count(self) -> i32 {
244 unsafe {
245 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
246 ::unity::il2cpp_call!((::unity::module_base()+0x1be7200usize)as*mut u8,i32;
247(LevelUpSequnece)__receiver)
248 }
249 }
250 #[doc = "`GetLimitParamCount()` overload"]
251 fn get_limit_param_count(self) -> i32 {
252 unsafe {
253 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
254 ::unity::il2cpp_call!((::unity::module_base()+0x1be8d20usize)as*mut u8,i32;
255(LevelUpSequnece)__receiver)
256 }
257 }
258 #[doc = "`CalcTalkMid()` overload"]
259 fn calc_talk_mid(self) -> () {
260 unsafe {
261 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
262 ::unity::il2cpp_call!((::unity::module_base()+0x1be8e80usize)as*mut u8,();
263(LevelUpSequnece)__receiver)
264 }
265 }
266 #[doc = "`Talk()` overload"]
267 fn talk(self) -> () {
268 unsafe {
269 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
270 ::unity::il2cpp_call!((::unity::module_base()+0x1be9100usize)as*mut u8,();
271(LevelUpSequnece)__receiver)
272 }
273 }
274 #[doc = "`KeyWait()` overload"]
275 fn key_wait(self) -> () {
276 unsafe {
277 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
278 ::unity::il2cpp_call!((::unity::module_base()+0x1be9150usize)as*mut u8,();
279(LevelUpSequnece)__receiver)
280 }
281 }
282 #[doc = "`Release()` overload"]
283 fn release(self) -> () {
284 unsafe {
285 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
286 ::unity::il2cpp_call!((::unity::module_base()+0x1be93c0usize)as*mut u8,();
287(LevelUpSequnece)__receiver)
288 }
289 }
290 #[doc = "`LearnJobSkill()` overload"]
291 fn learn_job_skill(self) -> () {
292 unsafe {
293 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
294 ::unity::il2cpp_call!((::unity::module_base()+0x1be94b0usize)as*mut u8,();
295(LevelUpSequnece)__receiver)
296 }
297 }
298 #[doc = "`CreateBindImpl(crate::app::procinst::ProcInst)` overload"]
299 fn create_bind_impl(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
300 unsafe {
301 let __receiver = <LevelUpSequnece as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
302 ::unity::il2cpp_call!((::unity::module_base()+0x1be96a0usize)as*mut u8,();
303(LevelUpSequnece)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
304 }
305 }
306}
307
308#[cfg(feature = "app-levelupsequnece")]
309impl<__T: ILevelUpSequnece> ILevelUpSequneceMethods for __T {}
310
311#[cfg(feature = "app-levelupsequnece")]
312impl LevelUpSequnece {
313 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
314 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
315 }
316
317 pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
318 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
319 }
320
321 pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
322 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
323 }
324
325 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
326 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
327 }
328
329 pub fn get_res_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
330 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
331 }
332
333 pub fn prepare_method_info() -> &'static ::unity::il2cpp::MethodInfo {
334 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
335 }
336
337 pub fn reflect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
338 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
339 }
340
341 pub fn reload_actor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
342 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
343 }
344
345 pub fn wait_reload_actor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
346 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
347 }
348
349 pub fn effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
350 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
351 }
352
353 pub fn is_loading_res_method_info() -> &'static ::unity::il2cpp::MethodInfo {
354 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
355 }
356
357 pub fn open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
358 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
359 }
360
361 pub fn wait_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
362 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
363 }
364
365 pub fn check_param_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
366 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
367 }
368
369 pub fn get_up_param_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
370 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
371 }
372
373 pub fn get_limit_param_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
374 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
375 }
376
377 pub fn calc_talk_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
378 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
379 }
380
381 pub fn talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
382 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
383 }
384
385 pub fn key_wait_method_info() -> &'static ::unity::il2cpp::MethodInfo {
386 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
387 }
388
389 pub fn release_method_info() -> &'static ::unity::il2cpp::MethodInfo {
390 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
391 }
392
393 pub fn learn_job_skill_method_info() -> &'static ::unity::il2cpp::MethodInfo {
394 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
395 }
396
397 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
398 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
399 }
400
401 pub fn create_bind_class_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
402 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
403 }
404
405 pub fn create_bind_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
406 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
407 }
408}
409
410#[cfg(feature = "app-levelupsequnece")]
411impl LevelUpSequnece {
412 #[doc = "Direct (non-virtual) call to `LevelUpSequnece`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
413 pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
414 let __mi = Self::on_create_method_info();
415 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
416 __inner(this.into(), ::core::option::Option::None)
417 }
418
419 #[doc = "Direct (non-virtual) call to `LevelUpSequnece`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
420 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
421 let __mi = Self::on_dispose_method_info();
422 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
423 __inner(this.into(), ::core::option::Option::None)
424 }
425}
426
427#[cfg(feature = "app-levelupsequnece")]
428impl LevelUpSequnece {
429 #[doc = "`.ctor(crate::app::unit::Unit, i32, bool, bool)` — overload selector"]
430 pub fn new(unit: crate::app::unit::Unit, level: i32, is_show_chara_image: bool, is_talk: bool) -> Self {
431 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
432 panic!(
433 "{}
434::{}
435 failed to instantiate",
436 ::core::stringify!(LevelUpSequnece),
437 ::core::stringify!(new),
438 )
439 });
440 <Self as ILevelUpSequneceMethods>::ctor(this, unit, level, is_show_chara_image, is_talk);
441 this
442 }
443
444 #[doc = "`.ctor(crate::app::unit::Unit, crate::app::unit::Unit)` — overload selector"]
445 pub fn new_2(unit: crate::app::unit::Unit, grow: crate::app::unit::Unit) -> Self {
446 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
447 panic!(
448 "{}
449::{}
450 failed to instantiate",
451 ::core::stringify!(LevelUpSequnece),
452 ::core::stringify!(new_2),
453 )
454 });
455 <Self as ILevelUpSequneceMethods>::ctor_2(this, unit, grow);
456 this
457 }
458}
459
460#[cfg(feature = "app-levelupsequnece")]
461#[doc(hidden)]
462pub mod prelude {
463 pub use super::{ILevelUpSequnece, ILevelUpSequneceMethods, LevelUpSequnece};
464 #[cfg(feature = "app-procinst")]
465 pub use crate::app::procinst::IProcInstMethods;
466 #[cfg(feature = "system-object")]
467 pub use crate::system::object::IObjectMethods;
468 pub use crate::{app::procinst::IProcInst, system::object::IObject};
469}