Skip to main content

engage/generated/app/
godbond.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-godbond-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::pool::{IPool_Node, Pool_Node},
10        system::object::{IObject, Object},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/godbond/GodBond.md"))]
14    #[::unity::class(namespace = "App", name = "GodBond")]
15    #[parent(crate::app::pool::Pool_Node)]
16    pub struct GodBond {
17        #[static_field]
18        #[rename(name = "NormalEnemyLevelForGainAbility")]
19        pub normal_enemy_level_for_gain_ability: i32,
20        #[static_field]
21        #[rename(name = "RampageEnemyLevelForGainAbility")]
22        pub rampage_enemy_level_for_gain_ability: i32,
23        #[static_field]
24        #[rename(name = "Version")]
25        pub version: i32,
26        #[offset(16)]
27        #[rename(name = "m_GodData")]
28        pub m_god_data: crate::app::goddata::GodData,
29        #[offset(24)]
30        #[rename(name = "m_RelianceS")]
31        pub m_reliance_s: crate::app::godreliances::GodRelianceS,
32        #[offset(32)]
33        #[rename(name = "m_Pid")]
34        pub m_pid: ::unity::Il2CppString,
35        #[offset(40)]
36        #[rename(name = "m_Level")]
37        pub m_level: u8,
38        #[offset(42)]
39        #[rename(name = "m_Exp")]
40        pub m_exp: u16,
41        #[offset(48)]
42        #[rename(name = "m_InheritedSkills")]
43        pub m_inherited_skills: crate::app::godinheritedskills::GodInheritedSkills,
44        #[offset(56)]
45        #[rename(name = "m_NotifiedLevelCapTalk")]
46        pub m_notified_level_cap_talk: u8,
47        #[offset(64)]
48        #[rename(name = "m_LevelData")]
49        pub m_level_data: crate::app::godgrowthdata::GodGrowthData_LevelData,
50        #[static_field]
51        #[rename(name = "NullLevelData")]
52        pub null_level_data: crate::app::godgrowthdata::GodGrowthData_LevelData,
53    }
54}
55
56#[cfg(feature = "app-godbond-types")]
57pub use __types::*;
58
59#[cfg(feature = "app-godbond")]
60impl GodBond {
61    #[doc = "`.cctor()` overload"]
62    pub fn cctor() -> () {
63        unsafe {
64            ::unity::il2cpp_call!((::unity::module_base()+0x2b4f120usize)as*mut u8,();
65            )
66        }
67    }
68}
69
70#[cfg(feature = "app-godbond")]
71pub trait IGodBondMethods: IGodBond {
72    #[doc = "`Build(crate::app::goddata::GodData, crate::app::godreliances::GodRelianceS, ::unity::Il2CppString)` overload"]
73    fn build(
74        self,
75        god_data: impl ::core::convert::Into<crate::app::goddata::GodData>,
76        reliance_s: impl ::core::convert::Into<crate::app::godreliances::GodRelianceS>,
77        pid: impl ::core::convert::Into<::unity::Il2CppString>,
78    ) -> () {
79        unsafe {
80            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
81            ::unity::il2cpp_call!((::unity::module_base()+0x2b4d040usize)as*mut u8,();
82(GodBond)__receiver,(crate::app::goddata::GodData)::core::convert::Into::into(god_data),(crate::app::godreliances::GodRelianceS)::core::convert::Into::into(reliance_s),(::unity::Il2CppString)::core::convert::Into::into(pid))
83        }
84    }
85    #[doc = "`OnEnter()` overload"]
86    fn on_enter(self) -> () {
87        unsafe {
88            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
89            {
90                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
91                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
92                    panic!(
93                        "unity: virtual slot {}
94 out of range (vtable len {}
95) on the runtime class behind {}
96 (method `{}
97`)",
98                        4usize,
99                        __vt.len(),
100                        <GodBond as ::unity::ClassIdentity>::NAME,
101                        "OnEnter",
102                    )
103                });
104                let __inner: extern "C" fn(GodBond, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
105                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
106                __inner(__receiver, __mi)
107            }
108        }
109    }
110    #[doc = "`OnExit()` overload"]
111    fn on_exit(self) -> () {
112        unsafe {
113            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
114            {
115                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
116                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
117                    panic!(
118                        "unity: virtual slot {}
119 out of range (vtable len {}
120) on the runtime class behind {}
121 (method `{}
122`)",
123                        5usize,
124                        __vt.len(),
125                        <GodBond as ::unity::ClassIdentity>::NAME,
126                        "OnExit",
127                    )
128                });
129                let __inner: extern "C" fn(GodBond, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
130                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
131                __inner(__receiver, __mi)
132            }
133        }
134    }
135    #[doc = "`DbgSetExp(i32)` overload"]
136    fn dbg_set_exp(self, exp: impl ::core::convert::Into<i32>) -> () {
137        unsafe {
138            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139            ::unity::il2cpp_call!((::unity::module_base()+0x2b4d300usize)as*mut u8,();
140(GodBond)__receiver,(i32)::core::convert::Into::into(exp))
141        }
142    }
143    #[doc = "`SetExpForRewind(i32)` overload"]
144    fn set_exp_for_rewind(self, exp: impl ::core::convert::Into<i32>) -> () {
145        unsafe {
146            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147            ::unity::il2cpp_call!((::unity::module_base()+0x2b4d980usize)as*mut u8,();
148(GodBond)__receiver,(i32)::core::convert::Into::into(exp))
149        }
150    }
151    #[doc = "`CanAddExp()` overload"]
152    fn can_add_exp(self) -> bool {
153        unsafe {
154            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155            ::unity::il2cpp_call!((::unity::module_base()+0x2b4d400usize)as*mut u8,bool;
156(GodBond)__receiver)
157        }
158    }
159    #[doc = "`TryAddExp(i32)` overload"]
160    fn try_add_exp(self, exp: impl ::core::convert::Into<i32>) -> bool {
161        unsafe {
162            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163            ::unity::il2cpp_call!((::unity::module_base()+0x2b4d990usize)as*mut u8,bool;
164(GodBond)__receiver,(i32)::core::convert::Into::into(exp))
165        }
166    }
167    #[doc = "`GetLevelExp(i32)` overload"]
168    fn get_level_exp(self, level: impl ::core::convert::Into<i32>) -> i32 {
169        unsafe {
170            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
171            ::unity::il2cpp_call!((::unity::module_base()+0x2b4dac0usize)as*mut u8,i32;
172(GodBond)__receiver,(i32)::core::convert::Into::into(level))
173        }
174    }
175    #[doc = "`GetCurrentLevelExp()` overload"]
176    fn get_current_level_exp(self) -> i32 {
177        unsafe {
178            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
179            ::unity::il2cpp_call!((::unity::module_base()+0x2b4dcd0usize)as*mut u8,i32;
180(GodBond)__receiver)
181        }
182    }
183    #[doc = "`GetNextLevelExp()` overload"]
184    fn get_next_level_exp(self) -> i32 {
185        unsafe {
186            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187            ::unity::il2cpp_call!((::unity::module_base()+0x2b4dce0usize)as*mut u8,i32;
188(GodBond)__receiver)
189        }
190    }
191    #[doc = "`GetNextLevelExpInternal(*mutbool)` overload"]
192    fn get_next_level_exp_internal(self) -> (i32, bool) {
193        unsafe {
194            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195            let mut __out_0 = ::core::mem::MaybeUninit::<bool>::uninit();
196            let __ret = {
197                ::unity::il2cpp_call!((::unity::module_base()+0x2b4dab0usize)as*mut u8,i32;
198(GodBond)__receiver,(*mut bool)__out_0.as_mut_ptr())
199            };
200            (__ret, __out_0.assume_init())
201        }
202    }
203    #[doc = "`GetNextLevelExpInternal(i32, *mutbool)` overload"]
204    fn get_next_level_exp_internal_2(self, level: impl ::core::convert::Into<i32>) -> (i32, bool) {
205        unsafe {
206            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
207            let mut __out_0 = ::core::mem::MaybeUninit::<bool>::uninit();
208            let __ret = {
209                ::unity::il2cpp_call!((::unity::module_base()+0x2b4dd10usize)as*mut u8,i32;
210(GodBond)__receiver,(i32)::core::convert::Into::into(level),(*mut bool)__out_0.as_mut_ptr())
211            };
212            (__ret, __out_0.assume_init())
213        }
214    }
215    #[doc = "`GetNextLevelCap()` overload"]
216    fn get_next_level_cap(self) -> i32 {
217        unsafe {
218            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
219            ::unity::il2cpp_call!((::unity::module_base()+0x2b4df90usize)as*mut u8,i32;
220(GodBond)__receiver)
221        }
222    }
223    #[doc = "`LevelUp()` overload"]
224    fn level_up(self) -> () {
225        unsafe {
226            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
227            ::unity::il2cpp_call!((::unity::module_base()+0x2b4dff0usize)as*mut u8,();
228(GodBond)__receiver)
229        }
230    }
231    #[doc = "`SetLevel(i32)` overload"]
232    fn set_level(self, level: impl ::core::convert::Into<i32>) -> () {
233        unsafe {
234            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
235            ::unity::il2cpp_call!((::unity::module_base()+0x2b4d760usize)as*mut u8,();
236(GodBond)__receiver,(i32)::core::convert::Into::into(level))
237        }
238    }
239    #[doc = "`SetLevelFromUnitReliance(crate::app::reliancedata::RelianceData_Level)` overload"]
240    fn set_level_from_unit_reliance(self, unit_reliance_level: impl ::core::convert::Into<crate::app::reliancedata::RelianceData_Level>) -> () {
241        unsafe {
242            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
243            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e2b0usize)as*mut u8,();
244(GodBond)__receiver,(crate::app::reliancedata::RelianceData_Level)::core::convert::Into::into(unit_reliance_level))
245        }
246    }
247    #[doc = "`DbgSetLevel(i32)` overload"]
248    fn dbg_set_level(self, level: impl ::core::convert::Into<i32>) -> () {
249        unsafe {
250            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
251            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e440usize)as*mut u8,();
252(GodBond)__receiver,(i32)::core::convert::Into::into(level))
253        }
254    }
255    #[doc = "`IsLevelCapNormal()` overload"]
256    fn is_level_cap_normal(self) -> bool {
257        unsafe {
258            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
259            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e470usize)as*mut u8,bool;
260(GodBond)__receiver)
261        }
262    }
263    #[doc = "`IsLevelCapNormalInternal(i32)` overload"]
264    fn is_level_cap_normal_internal(self, level: impl ::core::convert::Into<i32>) -> bool {
265        unsafe {
266            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
267            ::unity::il2cpp_call!((::unity::module_base()+0x2b4deb0usize)as*mut u8,bool;
268(GodBond)__receiver,(i32)::core::convert::Into::into(level))
269        }
270    }
271    #[doc = "`IsLevelCapTalk()` overload"]
272    fn is_level_cap_talk(self) -> bool {
273        unsafe {
274            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
275            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e510usize)as*mut u8,bool;
276(GodBond)__receiver)
277        }
278    }
279    #[doc = "`IsLevelCapTalkInternal(i32)` overload"]
280    fn is_level_cap_talk_internal(self, level: impl ::core::convert::Into<i32>) -> bool {
281        unsafe {
282            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
283            ::unity::il2cpp_call!((::unity::module_base()+0x2b4df60usize)as*mut u8,bool;
284(GodBond)__receiver,(i32)::core::convert::Into::into(level))
285        }
286    }
287    #[doc = "`IsNotifiedLevelCapTalk()` overload"]
288    fn is_notified_level_cap_talk(self) -> bool {
289        unsafe {
290            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
291            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e560usize)as*mut u8,bool;
292(GodBond)__receiver)
293        }
294    }
295    #[doc = "`SetNotifiedLevelCapTalk(bool)` overload"]
296    fn set_notified_level_cap_talk(self, flag: impl ::core::convert::Into<bool>) -> () {
297        unsafe {
298            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
299            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e640usize)as*mut u8,();
300(GodBond)__receiver,(bool)::core::convert::Into::into(flag))
301        }
302    }
303    #[doc = "`SetNotifiedLevelCapTalk(crate::app::goddata::GodData_RelianceLevel, bool)` overload"]
304    fn set_notified_level_cap_talk_2(
305        self,
306        reliance_level: impl ::core::convert::Into<crate::app::goddata::GodData_RelianceLevel>,
307        flag: impl ::core::convert::Into<bool>,
308    ) -> () {
309        unsafe {
310            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
311            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e280usize)as*mut u8,();
312(GodBond)__receiver,(crate::app::goddata::GodData_RelianceLevel)::core::convert::Into::into(reliance_level),(bool)::core::convert::Into::into(flag))
313        }
314    }
315    #[doc = "`GetLevelFromExp()` overload"]
316    fn get_level_from_exp(self) -> i32 {
317        unsafe {
318            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
319            ::unity::il2cpp_call!((::unity::module_base()+0x2b4d600usize)as*mut u8,i32;
320(GodBond)__receiver)
321        }
322    }
323    #[doc = "`GetMaxLevel()` overload"]
324    fn get_max_level(self) -> i32 {
325        unsafe {
326            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
327            ::unity::il2cpp_call!((::unity::module_base()+0x2b4db90usize)as*mut u8,i32;
328(GodBond)__receiver)
329        }
330    }
331    #[doc = "`GetMaxLevelExp()` overload"]
332    fn get_max_level_exp(self) -> i32 {
333        unsafe {
334            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
335            ::unity::il2cpp_call!((::unity::module_base()+0x2b4d590usize)as*mut u8,i32;
336(GodBond)__receiver)
337        }
338    }
339    #[doc = "`GetRelianceLevel()` overload"]
340    fn get_reliance_level(self) -> crate::app::goddata::GodData_RelianceLevel {
341        unsafe {
342            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
343            ::unity::il2cpp_call!((::unity::module_base()+0x2b4d490usize)as*mut u8,crate::app::goddata::GodData_RelianceLevel;
344(GodBond)__receiver)
345        }
346    }
347    #[doc = "`GetMaxRelianceLevel()` overload"]
348    fn get_max_reliance_level(self) -> crate::app::goddata::GodData_RelianceLevel {
349        unsafe {
350            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
351            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e5e0usize)as*mut u8,crate::app::goddata::GodData_RelianceLevel;
352(GodBond)__receiver)
353        }
354    }
355    #[doc = "`CanBeRelianceLevelS()` overload"]
356    fn can_be_reliance_level_s(self) -> bool {
357        unsafe {
358            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
359            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e700usize)as*mut u8,bool;
360(GodBond)__receiver)
361        }
362    }
363    #[doc = "`SetRelianceLevelS()` overload"]
364    fn set_reliance_level_s(self) -> () {
365        unsafe {
366            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
367            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e1b0usize)as*mut u8,();
368(GodBond)__receiver)
369        }
370    }
371    #[doc = "`DbgSetRelianceLevelS()` overload"]
372    fn dbg_set_reliance_level_s(self) -> () {
373        unsafe {
374            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
375            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e8e0usize)as*mut u8,();
376(GodBond)__receiver)
377        }
378    }
379    #[doc = "`IsRelianceLevelS()` overload"]
380    fn is_reliance_level_s(self) -> bool {
381        unsafe {
382            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
383            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e690usize)as*mut u8,bool;
384(GodBond)__receiver)
385        }
386    }
387    #[doc = "`IsOtherRelianceLevelS()` overload"]
388    fn is_other_reliance_level_s(self) -> bool {
389        unsafe {
390            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
391            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e890usize)as*mut u8,bool;
392(GodBond)__receiver)
393        }
394    }
395    #[doc = "`CanTalk()` overload"]
396    fn can_talk(self) -> bool {
397        unsafe {
398            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
399            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e8f0usize)as*mut u8,bool;
400(GodBond)__receiver)
401        }
402    }
403    #[doc = "`UpdateForGodState(crate::app::godstate::GodState)` overload"]
404    fn update_for_god_state(self, god_state: impl ::core::convert::Into<crate::app::godstate::GodState>) -> () {
405        unsafe {
406            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
407            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e9b0usize)as*mut u8,();
408(GodBond)__receiver,(crate::app::godstate::GodState)::core::convert::Into::into(god_state))
409        }
410    }
411    #[doc = "`GetLevelData(i32)` overload"]
412    fn get_level_data(self, level: impl ::core::convert::Into<i32>) -> crate::app::godleveldata::GodLevelData {
413        unsafe {
414            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
415            ::unity::il2cpp_call!((::unity::module_base()+0x2b4dbf0usize)as*mut u8,crate::app::godleveldata::GodLevelData;
416(GodBond)__receiver,(i32)::core::convert::Into::into(level))
417        }
418    }
419    #[doc = "`GainAbility(i32)` overload"]
420    fn gain_ability(self, level: impl ::core::convert::Into<i32>) -> () {
421        unsafe {
422            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
423            ::unity::il2cpp_call!((::unity::module_base()+0x2b4d210usize)as*mut u8,();
424(GodBond)__receiver,(i32)::core::convert::Into::into(level))
425        }
426    }
427    #[doc = "`GainCurrentAbility()` overload"]
428    fn gain_current_ability(self) -> () {
429        unsafe {
430            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
431            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e0f0usize)as*mut u8,();
432(GodBond)__receiver)
433        }
434    }
435    #[doc = "`GainAbilityImpl(crate::app::goddata::GodData, i32)` overload"]
436    fn gain_ability_impl(self, god_data: impl ::core::convert::Into<crate::app::goddata::GodData>, level: impl ::core::convert::Into<i32>) -> () {
437        unsafe {
438            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
439            ::unity::il2cpp_call!((::unity::module_base()+0x2b4eb60usize)as*mut u8,();
440(GodBond)__receiver,(crate::app::goddata::GodData)::core::convert::Into::into(god_data),(i32)::core::convert::Into::into(level))
441        }
442    }
443    #[doc = "`IsLinkSelf()` overload"]
444    fn is_link_self(self) -> bool {
445        unsafe {
446            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
447            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e6c0usize)as*mut u8,bool;
448(GodBond)__receiver)
449        }
450    }
451    #[doc = "`Clear()` overload"]
452    fn clear(self) -> () {
453        unsafe {
454            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
455            ::unity::il2cpp_call!((::unity::module_base()+0x2b4d170usize)as*mut u8,();
456(GodBond)__receiver)
457        }
458    }
459    #[doc = "`ChangeOpponent(crate::app::goddata::GodData)` overload"]
460    fn change_opponent(self, data: impl ::core::convert::Into<crate::app::goddata::GodData>) -> () {
461        unsafe {
462            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
463            ::unity::il2cpp_call!((::unity::module_base()+0x2b4ed00usize)as*mut u8,();
464(GodBond)__receiver,(crate::app::goddata::GodData)::core::convert::Into::into(data))
465        }
466    }
467    #[doc = "`ToGodRelianceLevel(crate::app::reliancedata::RelianceData_Level)` overload"]
468    fn to_god_reliance_level(
469        self,
470        unit_reliance_level: impl ::core::convert::Into<crate::app::reliancedata::RelianceData_Level>,
471    ) -> crate::app::goddata::GodData_RelianceLevel {
472        unsafe {
473            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
474            ::unity::il2cpp_call!((::unity::module_base()+0x2b4e430usize)as*mut u8,crate::app::goddata::GodData_RelianceLevel;
475(GodBond)__receiver,(crate::app::reliancedata::RelianceData_Level)::core::convert::Into::into(unit_reliance_level))
476        }
477    }
478    #[doc = "`Serialize(crate::app::stream_2::Stream_2)` overload"]
479    fn serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
480        unsafe {
481            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
482            ::unity::il2cpp_call!((::unity::module_base()+0x2b4ed10usize)as*mut u8,();
483(GodBond)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
484        }
485    }
486    #[doc = "`Deserialize(crate::app::stream_2::Stream_2)` overload"]
487    fn deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
488        unsafe {
489            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
490            ::unity::il2cpp_call!((::unity::module_base()+0x2b4ed80usize)as*mut u8,();
491(GodBond)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
492        }
493    }
494    #[doc = "`get_Level()` overload"]
495    fn get_level(self) -> i32 {
496        unsafe {
497            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
498            ::unity::il2cpp_call!((::unity::module_base()+0x2b4f050usize)as*mut u8,i32;
499(GodBond)__receiver)
500        }
501    }
502    #[doc = "`get_Exp()` overload"]
503    fn get_exp(self) -> i32 {
504        unsafe {
505            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
506            ::unity::il2cpp_call!((::unity::module_base()+0x2b4f060usize)as*mut u8,i32;
507(GodBond)__receiver)
508        }
509    }
510    #[doc = "`get_EngageSkills()` overload"]
511    fn get_engage_skills(self) -> crate::app::skillarray::SkillArray {
512        unsafe {
513            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
514            ::unity::il2cpp_call!((::unity::module_base()+0x2b4f070usize)as*mut u8,crate::app::skillarray::SkillArray;
515(GodBond)__receiver)
516        }
517    }
518    #[doc = "`get_SynchroSkills()` overload"]
519    fn get_synchro_skills(self) -> crate::app::skillarray::SkillArray {
520        unsafe {
521            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
522            ::unity::il2cpp_call!((::unity::module_base()+0x2b4f080usize)as*mut u8,crate::app::skillarray::SkillArray;
523(GodBond)__receiver)
524        }
525    }
526    #[doc = "`get_EngagedSkills()` overload"]
527    fn get_engaged_skills(self) -> crate::app::skillarray::SkillArray {
528        unsafe {
529            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
530            ::unity::il2cpp_call!((::unity::module_base()+0x2b4f090usize)as*mut u8,crate::app::skillarray::SkillArray;
531(GodBond)__receiver)
532        }
533    }
534    #[doc = "`get_Aptitude()` overload"]
535    fn get_aptitude(self) -> crate::app::weaponmask::WeaponMask {
536        unsafe {
537            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
538            ::unity::il2cpp_call!((::unity::module_base()+0x2b4f0a0usize)as*mut u8,crate::app::weaponmask::WeaponMask;
539(GodBond)__receiver)
540        }
541    }
542    #[doc = "`get_InheritedSkills()` overload"]
543    fn get_inherited_skills(self) -> crate::app::godinheritedskills::GodInheritedSkills {
544        unsafe {
545            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
546            ::unity::il2cpp_call!((::unity::module_base()+0x2b4f0b0usize)as*mut u8,crate::app::godinheritedskills::GodInheritedSkills;
547(GodBond)__receiver)
548        }
549    }
550    #[doc = "`get_Flags()` overload"]
551    fn get_flags(self) -> crate::app::godgrowthdata::GodGrowthData_FlagField {
552        unsafe {
553            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
554            ::unity::il2cpp_call!((::unity::module_base()+0x2b4f0c0usize)as*mut u8,crate::app::godgrowthdata::GodGrowthData_FlagField;
555(GodBond)__receiver)
556        }
557    }
558    #[doc = "`GetEngageItems(crate::app::battlestyle::BattleStyle_Types)` overload"]
559    fn get_engage_items(
560        self,
561        style: impl ::core::convert::Into<crate::app::battlestyle::BattleStyle_Types>,
562    ) -> crate::system::collections::generic::list_1::List_1<crate::app::itemdata::ItemData> {
563        unsafe {
564            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
565            ::unity::il2cpp_call!((::unity::module_base()+0x2b4f0d0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::itemdata::ItemData> ;
566(GodBond)__receiver,(crate::app::battlestyle::BattleStyle_Types)::core::convert::Into::into(style))
567        }
568    }
569    #[doc = "`.ctor()` overload"]
570    fn ctor(self) -> () {
571        unsafe {
572            let __receiver = <GodBond as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
573            ::unity::il2cpp_call!((::unity::module_base()+0x2b4f110usize)as*mut u8,();
574(GodBond)__receiver)
575        }
576    }
577}
578
579#[cfg(feature = "app-godbond")]
580impl<__T: IGodBond> IGodBondMethods for __T {}
581
582#[cfg(feature = "app-godbond")]
583impl GodBond {
584    pub fn build_method_info() -> &'static ::unity::il2cpp::MethodInfo {
585        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
586    }
587
588    pub fn on_enter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
589        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
590    }
591
592    pub fn on_exit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
593        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
594    }
595
596    pub fn dbg_set_exp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
597        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
598    }
599
600    pub fn set_exp_for_rewind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
601        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
602    }
603
604    pub fn can_add_exp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
605        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
606    }
607
608    pub fn try_add_exp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
609        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
610    }
611
612    pub fn get_level_exp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
613        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
614    }
615
616    pub fn get_current_level_exp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
617        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
618    }
619
620    pub fn get_next_level_exp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
621        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
622    }
623
624    pub fn get_next_level_exp_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
625        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
626    }
627
628    pub fn get_next_level_exp_internal_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
629        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
630    }
631
632    pub fn get_next_level_cap_method_info() -> &'static ::unity::il2cpp::MethodInfo {
633        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
634    }
635
636    pub fn level_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
637        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
638    }
639
640    pub fn set_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
641        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
642    }
643
644    pub fn set_level_from_unit_reliance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
645        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
646    }
647
648    pub fn dbg_set_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
649        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
650    }
651
652    pub fn is_level_cap_normal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
653        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
654    }
655
656    pub fn is_level_cap_normal_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
657        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
658    }
659
660    pub fn is_level_cap_talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
661        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
662    }
663
664    pub fn is_level_cap_talk_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
665        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
666    }
667
668    pub fn is_notified_level_cap_talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
669        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
670    }
671
672    pub fn set_notified_level_cap_talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
673        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
674    }
675
676    pub fn set_notified_level_cap_talk_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
677        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
678    }
679
680    pub fn get_level_from_exp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
681        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
682    }
683
684    pub fn get_max_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
685        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
686    }
687
688    pub fn get_max_level_exp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
689        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
690    }
691
692    pub fn get_reliance_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
693        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
694    }
695
696    pub fn get_max_reliance_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
697        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
698    }
699
700    pub fn can_be_reliance_level_s_method_info() -> &'static ::unity::il2cpp::MethodInfo {
701        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
702    }
703
704    pub fn set_reliance_level_s_method_info() -> &'static ::unity::il2cpp::MethodInfo {
705        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
706    }
707
708    pub fn dbg_set_reliance_level_s_method_info() -> &'static ::unity::il2cpp::MethodInfo {
709        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
710    }
711
712    pub fn is_reliance_level_s_method_info() -> &'static ::unity::il2cpp::MethodInfo {
713        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
714    }
715
716    pub fn is_other_reliance_level_s_method_info() -> &'static ::unity::il2cpp::MethodInfo {
717        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
718    }
719
720    pub fn can_talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
721        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
722    }
723
724    pub fn update_for_god_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
725        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
726    }
727
728    pub fn get_level_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
729        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
730    }
731
732    pub fn gain_ability_method_info() -> &'static ::unity::il2cpp::MethodInfo {
733        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
734    }
735
736    pub fn gain_current_ability_method_info() -> &'static ::unity::il2cpp::MethodInfo {
737        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
738    }
739
740    pub fn gain_ability_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
741        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
742    }
743
744    pub fn is_link_self_method_info() -> &'static ::unity::il2cpp::MethodInfo {
745        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
746    }
747
748    pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
749        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
750    }
751
752    pub fn change_opponent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
753        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
754    }
755
756    pub fn to_god_reliance_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
757        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
758    }
759
760    pub fn serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
761        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
762    }
763
764    pub fn deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
765        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
766    }
767
768    pub fn get_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
769        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
770    }
771
772    pub fn get_exp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
773        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
774    }
775
776    pub fn get_engage_skills_method_info() -> &'static ::unity::il2cpp::MethodInfo {
777        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
778    }
779
780    pub fn get_synchro_skills_method_info() -> &'static ::unity::il2cpp::MethodInfo {
781        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
782    }
783
784    pub fn get_engaged_skills_method_info() -> &'static ::unity::il2cpp::MethodInfo {
785        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
786    }
787
788    pub fn get_aptitude_method_info() -> &'static ::unity::il2cpp::MethodInfo {
789        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
790    }
791
792    pub fn get_inherited_skills_method_info() -> &'static ::unity::il2cpp::MethodInfo {
793        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
794    }
795
796    pub fn get_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
797        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
798    }
799
800    pub fn get_engage_items_method_info() -> &'static ::unity::il2cpp::MethodInfo {
801        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
802    }
803
804    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
805        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
806    }
807
808    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
809        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
810    }
811}
812
813#[cfg(feature = "app-godbond")]
814impl GodBond {
815    #[doc = "Direct (non-virtual) call to `GodBond`'s own `OnEnter`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
816    pub unsafe fn on_enter(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
817        let __mi = Self::on_enter_method_info();
818        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
819        __inner(this.into(), ::core::option::Option::None)
820    }
821
822    #[doc = "Direct (non-virtual) call to `GodBond`'s own `OnExit`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
823    pub unsafe fn on_exit(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
824        let __mi = Self::on_exit_method_info();
825        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
826        __inner(this.into(), ::core::option::Option::None)
827    }
828}
829
830#[cfg(feature = "app-godbond")]
831impl GodBond {
832    #[doc = "`.ctor()` — no args"]
833    pub fn new() -> Self {
834        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
835            panic!(
836                "{}
837::{}
838 failed to instantiate",
839                ::core::stringify!(GodBond),
840                ::core::stringify!(new),
841            )
842        });
843        <Self as IGodBondMethods>::ctor(this);
844        this
845    }
846}
847
848#[cfg(feature = "app-godbond")]
849#[doc(hidden)]
850pub mod prelude {
851    pub use super::{GodBond, IGodBond, IGodBondMethods};
852    #[cfg(feature = "app-pool")]
853    pub use crate::app::pool::IPool_NodeMethods;
854    #[cfg(feature = "system-object")]
855    pub use crate::system::object::IObjectMethods;
856    pub use crate::{app::pool::IPool_Node, system::object::IObject};
857}