Skip to main content

engage/generated/app/
unitreliance.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-unitreliance-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unitreliance/UnitReliance.md"))]
11    #[::unity::class(namespace = "App", name = "UnitReliance")]
12    #[parent(crate::system::object::Object)]
13    pub struct UnitReliance {
14        #[static_field]
15        #[rename(name = "MaxScore")]
16        pub max_score: i32,
17        #[static_field]
18        #[rename(name = "Version")]
19        pub version: i32,
20        #[static_field]
21        #[rename(name = "s_DataDict")]
22        pub s_data_dict:
23            crate::system::collections::generic::dictionary_2::Dictionary_2<::unity::Il2CppString, crate::app::unitreliancedata::UnitRelianceData>,
24        #[static_field]
25        #[rename(name = "s_EachDataDict")]
26        pub s_each_data_dict: crate::app::eachdictionary_2::EachDictionary_2<i32, crate::app::unitreliancedata::UnitRelianceData>,
27    }
28}
29
30#[cfg(feature = "app-unitreliance-types")]
31pub use __types::*;
32
33#[cfg(feature = "app-unitreliance")]
34impl UnitReliance {
35    #[doc = "`Initialize()` overload"]
36    pub fn initialize() -> () {
37        unsafe {
38            ::unity::il2cpp_call!((::unity::module_base()+0x1c59140usize)as*mut u8,();
39            )
40        }
41    }
42
43    #[doc = "`Reset()` overload"]
44    pub fn reset() -> () {
45        unsafe {
46            ::unity::il2cpp_call!((::unity::module_base()+0x1c59650usize)as*mut u8,();
47            )
48        }
49    }
50
51    #[doc = "`ResetMapBegin()` overload"]
52    pub fn reset_map_begin() -> () {
53        unsafe {
54            ::unity::il2cpp_call!((::unity::module_base()+0x1c59660usize)as*mut u8,();
55            )
56        }
57    }
58
59    #[doc = "`ReflectScore()` overload"]
60    pub fn reflect_score() -> () {
61        unsafe {
62            ::unity::il2cpp_call!((::unity::module_base()+0x1c597b0usize)as*mut u8,();
63            )
64        }
65    }
66
67    #[doc = "`TryGet(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
68    pub fn try_get(
69        pid_a: impl ::core::convert::Into<::unity::Il2CppString>,
70        pid_b: impl ::core::convert::Into<::unity::Il2CppString>,
71    ) -> crate::app::unitreliancedata::UnitRelianceData {
72        unsafe {
73            ::unity::il2cpp_call!((::unity::module_base()+0x1c57860usize)as*mut u8,crate::app::unitreliancedata::UnitRelianceData;
74(::unity::Il2CppString)::core::convert::Into::into(pid_a),(::unity::Il2CppString)::core::convert::Into::into(pid_b))
75        }
76    }
77
78    #[doc = "`TryGet(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
79    pub fn try_get_2(
80        unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
81        unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
82    ) -> crate::app::unitreliancedata::UnitRelianceData {
83        unsafe {
84            ::unity::il2cpp_call!((::unity::module_base()+0x1c5a040usize)as*mut u8,crate::app::unitreliancedata::UnitRelianceData;
85(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b))
86        }
87    }
88
89    #[doc = "`TryGet(crate::app::persondata::PersonData, crate::app::persondata::PersonData)` overload"]
90    pub fn try_get_3(
91        person_a: impl ::core::convert::Into<crate::app::persondata::PersonData>,
92        person_b: impl ::core::convert::Into<crate::app::persondata::PersonData>,
93    ) -> crate::app::unitreliancedata::UnitRelianceData {
94        unsafe {
95            ::unity::il2cpp_call!((::unity::module_base()+0x1c59fa0usize)as*mut u8,crate::app::unitreliancedata::UnitRelianceData;
96(crate::app::persondata::PersonData)::core::convert::Into::into(person_a),(crate::app::persondata::PersonData)::core::convert::Into::into(person_b))
97        }
98    }
99
100    #[doc = "`CanAddScore(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
101    pub fn can_add_score(
102        unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
103        unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
104    ) -> bool {
105        unsafe {
106            ::unity::il2cpp_call!((::unity::module_base()+0x1c5a110usize)as*mut u8,bool;
107(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b))
108        }
109    }
110
111    #[doc = "`CanAddScore(crate::app::unit::Unit, crate::app::unit::Unit, crate::app::unitreliancedata::UnitRelianceData)` overload"]
112    pub fn can_add_score_2(
113        unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
114        unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
115        data: impl ::core::convert::Into<crate::app::unitreliancedata::UnitRelianceData>,
116    ) -> bool {
117        unsafe {
118            ::unity::il2cpp_call!((::unity::module_base()+0x1c5a260usize)as*mut u8,bool;
119(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b),(crate::app::unitreliancedata::UnitRelianceData)::core::convert::Into::into(data))
120        }
121    }
122
123    #[doc = "`CanAddExpHub(crate::app::unit::Unit, crate::app::unit::Unit, crate::app::unitreliancedata::UnitRelianceData)` overload"]
124    pub fn can_add_exp_hub(
125        unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
126        unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
127        data: impl ::core::convert::Into<crate::app::unitreliancedata::UnitRelianceData>,
128    ) -> bool {
129        unsafe {
130            ::unity::il2cpp_call!((::unity::module_base()+0x1c5a310usize)as*mut u8,bool;
131(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b),(crate::app::unitreliancedata::UnitRelianceData)::core::convert::Into::into(data))
132        }
133    }
134
135    #[doc = "`CanAddExpHub(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
136    pub fn can_add_exp_hub_2(
137        unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
138        unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
139    ) -> bool {
140        unsafe {
141            ::unity::il2cpp_call!((::unity::module_base()+0x1c5a330usize)as*mut u8,bool;
142(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b))
143        }
144    }
145
146    #[doc = "`TryAddScore(crate::app::unit::Unit, crate::app::unit::Unit, i32)` overload"]
147    pub fn try_add_score(
148        unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
149        unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
150        value: impl ::core::convert::Into<i32>,
151    ) -> bool {
152        unsafe {
153            ::unity::il2cpp_call!((::unity::module_base()+0x1c5a420usize)as*mut u8,bool;
154(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b),(i32)::core::convert::Into::into(value))
155        }
156    }
157
158    #[doc = "`TryAddExpByHub(crate::app::unit::Unit, crate::app::unit::Unit, i32)` overload"]
159    pub fn try_add_exp_by_hub(
160        unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
161        unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
162        value: impl ::core::convert::Into<i32>,
163    ) -> bool {
164        unsafe {
165            ::unity::il2cpp_call!((::unity::module_base()+0x1c5a630usize)as*mut u8,bool;
166(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b),(i32)::core::convert::Into::into(value))
167        }
168    }
169
170    #[doc = "`CanLevelUp(crate::app::persondata::PersonData, crate::app::persondata::PersonData)` overload"]
171    pub fn can_level_up(
172        person_a: impl ::core::convert::Into<crate::app::persondata::PersonData>,
173        person_b: impl ::core::convert::Into<crate::app::persondata::PersonData>,
174    ) -> bool {
175        unsafe {
176            ::unity::il2cpp_call!((::unity::module_base()+0x1c5a770usize)as*mut u8,bool;
177(crate::app::persondata::PersonData)::core::convert::Into::into(person_a),(crate::app::persondata::PersonData)::core::convert::Into::into(person_b))
178        }
179    }
180
181    #[doc = "`CanLevelUp(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
182    pub fn can_level_up_2(
183        unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
184        unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
185    ) -> bool {
186        unsafe {
187            ::unity::il2cpp_call!((::unity::module_base()+0x1c5a930usize)as*mut u8,bool;
188(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b))
189        }
190    }
191
192    #[doc = "`LevelUp(crate::app::persondata::PersonData, crate::app::persondata::PersonData)` overload"]
193    pub fn level_up(
194        person_a: impl ::core::convert::Into<crate::app::persondata::PersonData>,
195        person_b: impl ::core::convert::Into<crate::app::persondata::PersonData>,
196    ) -> () {
197        unsafe {
198            ::unity::il2cpp_call!((::unity::module_base()+0x1c5a950usize)as*mut u8,();
199(crate::app::persondata::PersonData)::core::convert::Into::into(person_a),(crate::app::persondata::PersonData)::core::convert::Into::into(person_b))
200        }
201    }
202
203    #[doc = "`LevelUp(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
204    pub fn level_up_2(unit_a: impl ::core::convert::Into<crate::app::unit::Unit>, unit_b: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
205        unsafe {
206            ::unity::il2cpp_call!((::unity::module_base()+0x1c5abf0usize)as*mut u8,();
207(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b))
208        }
209    }
210
211    #[doc = "`CanBeLevelAPlus(crate::app::persondata::PersonData, crate::app::persondata::PersonData)` overload"]
212    pub fn can_be_level_a_plus(
213        person_a: impl ::core::convert::Into<crate::app::persondata::PersonData>,
214        person_b: impl ::core::convert::Into<crate::app::persondata::PersonData>,
215    ) -> bool {
216        unsafe {
217            ::unity::il2cpp_call!((::unity::module_base()+0x1c5ac10usize)as*mut u8,bool;
218(crate::app::persondata::PersonData)::core::convert::Into::into(person_a),(crate::app::persondata::PersonData)::core::convert::Into::into(person_b))
219        }
220    }
221
222    #[doc = "`CanBeLevelAPlus(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
223    pub fn can_be_level_a_plus_2(
224        unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
225        unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
226    ) -> bool {
227        unsafe {
228            ::unity::il2cpp_call!((::unity::module_base()+0x1c5ae10usize)as*mut u8,bool;
229(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b))
230        }
231    }
232
233    #[doc = "`SetLevelAPlus(crate::app::persondata::PersonData, crate::app::persondata::PersonData)` overload"]
234    pub fn set_level_a_plus(
235        person_a: impl ::core::convert::Into<crate::app::persondata::PersonData>,
236        person_b: impl ::core::convert::Into<crate::app::persondata::PersonData>,
237    ) -> () {
238        unsafe {
239            ::unity::il2cpp_call!((::unity::module_base()+0x1c5ae30usize)as*mut u8,();
240(crate::app::persondata::PersonData)::core::convert::Into::into(person_a),(crate::app::persondata::PersonData)::core::convert::Into::into(person_b))
241        }
242    }
243
244    #[doc = "`SetLevelAPlus(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
245    pub fn set_level_a_plus_2(
246        unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
247        unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
248    ) -> () {
249        unsafe {
250            ::unity::il2cpp_call!((::unity::module_base()+0x1c5b020usize)as*mut u8,();
251(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b))
252        }
253    }
254
255    #[doc = "`TryGetLevel(::unity::Il2CppString, ::unity::Il2CppString, *mutcrate::app::reliancedata::RelianceData_Level)` overload"]
256    pub fn try_get_level(
257        pid_a: impl ::core::convert::Into<::unity::Il2CppString>,
258        pid_b: impl ::core::convert::Into<::unity::Il2CppString>,
259    ) -> (bool, crate::app::reliancedata::RelianceData_Level) {
260        unsafe {
261            let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::reliancedata::RelianceData_Level>::uninit();
262            let __ret = {
263                ::unity::il2cpp_call!((::unity::module_base()+0x1c5b040usize)as*mut u8,bool;
264(::unity::Il2CppString)::core::convert::Into::into(pid_a),(::unity::Il2CppString)::core::convert::Into::into(pid_b),(*mut crate::app::reliancedata::RelianceData_Level)__out_0.as_mut_ptr())
265            };
266            (__ret, __out_0.assume_init())
267        }
268    }
269
270    #[doc = "`TryGetLevel(crate::app::persondata::PersonData, crate::app::persondata::PersonData, *mutcrate::app::reliancedata::RelianceData_Level)` overload"]
271    pub fn try_get_level_2(
272        person_a: impl ::core::convert::Into<crate::app::persondata::PersonData>,
273        person_b: impl ::core::convert::Into<crate::app::persondata::PersonData>,
274    ) -> (bool, crate::app::reliancedata::RelianceData_Level) {
275        unsafe {
276            let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::reliancedata::RelianceData_Level>::uninit();
277            let __ret = {
278                ::unity::il2cpp_call!((::unity::module_base()+0x1c5b080usize)as*mut u8,bool;
279(crate::app::persondata::PersonData)::core::convert::Into::into(person_a),(crate::app::persondata::PersonData)::core::convert::Into::into(person_b),(*mut crate::app::reliancedata::RelianceData_Level)__out_0.as_mut_ptr())
280            };
281            (__ret, __out_0.assume_init())
282        }
283    }
284
285    #[doc = "`TryGetLevel(crate::app::unit::Unit, crate::app::unit::Unit, *mutcrate::app::reliancedata::RelianceData_Level)` overload"]
286    pub fn try_get_level_3(
287        unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
288        unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
289    ) -> (bool, crate::app::reliancedata::RelianceData_Level) {
290        unsafe {
291            let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::reliancedata::RelianceData_Level>::uninit();
292            let __ret = {
293                ::unity::il2cpp_call!((::unity::module_base()+0x1c5b0e0usize)as*mut u8,bool;
294(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b),(*mut crate::app::reliancedata::RelianceData_Level)__out_0.as_mut_ptr())
295            };
296            (__ret, __out_0.assume_init())
297        }
298    }
299
300    #[doc = "`TryGetSupportData(crate::app::unit::Unit, crate::app::unit::Unit, *mutcrate::app::reliancedata::RelianceData_Level)` overload"]
301    pub fn try_get_support_data(
302        unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
303        unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
304    ) -> (crate::app::supportdata::SupportData, crate::app::reliancedata::RelianceData_Level) {
305        unsafe {
306            let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::reliancedata::RelianceData_Level>::uninit();
307            let __ret = {
308                ::unity::il2cpp_call!((::unity::module_base()+0x1c5b150usize)as*mut u8,crate::app::supportdata::SupportData;
309(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b),(*mut crate::app::reliancedata::RelianceData_Level)__out_0.as_mut_ptr())
310            };
311            (__ret, __out_0.assume_init())
312        }
313    }
314
315    #[doc = "`Serialize(crate::app::stream_2::Stream_2)` overload"]
316    pub fn serialize(stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
317        unsafe {
318            ::unity::il2cpp_call!((::unity::module_base()+0x1c5b290usize)as*mut u8,();
319(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
320        }
321    }
322
323    #[doc = "`Deserialize(crate::app::stream_2::Stream_2)` overload"]
324    pub fn deserialize(stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
325        unsafe {
326            ::unity::il2cpp_call!((::unity::module_base()+0x1c5b4d0usize)as*mut u8,();
327(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
328        }
329    }
330
331    #[doc = "`GetValidRelianceExpData(i32, i32)` overload"]
332    pub fn get_valid_reliance_exp_data(
333        index_a: impl ::core::convert::Into<i32>,
334        index_b: impl ::core::convert::Into<i32>,
335    ) -> crate::app::relianceexpdata::RelianceExpData {
336        unsafe {
337            ::unity::il2cpp_call!((::unity::module_base()+0x1c594f0usize)as*mut u8,crate::app::relianceexpdata::RelianceExpData;
338(i32)::core::convert::Into::into(index_a),(i32)::core::convert::Into::into(index_b))
339        }
340    }
341
342    #[doc = "`MakeDataDictKey(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
343    pub fn make_data_dict_key(
344        pid_a: impl ::core::convert::Into<::unity::Il2CppString>,
345        pid_b: impl ::core::convert::Into<::unity::Il2CppString>,
346    ) -> ::unity::Il2CppString {
347        unsafe {
348            ::unity::il2cpp_call!((::unity::module_base()+0x1c59600usize)as*mut u8, ::unity::Il2CppString;
349(::unity::Il2CppString)::core::convert::Into::into(pid_a),(::unity::Il2CppString)::core::convert::Into::into(pid_b))
350        }
351    }
352
353    #[doc = "`GetPidFromDictKey(::unity::Il2CppString, *mut::unity::Il2CppString, *mut::unity::Il2CppString)` overload"]
354    pub fn get_pid_from_dict_key(key: impl ::core::convert::Into<::unity::Il2CppString>) -> (::unity::Il2CppString, ::unity::Il2CppString) {
355        unsafe {
356            let mut __out_0 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
357            let mut __out_1 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
358            ::unity::il2cpp_call!((::unity::module_base()+0x1c59bd0usize)as*mut u8,();
359(::unity::Il2CppString)::core::convert::Into::into(key),(*mut::unity::Il2CppString)__out_0.as_mut_ptr(),(*mut::unity::Il2CppString)__out_1.as_mut_ptr());
360            (__out_0.assume_init(), __out_1.assume_init())
361        }
362    }
363
364    #[doc = "`GetRelianceExpDataFromDictKey(::unity::Il2CppString)` overload"]
365    pub fn get_reliance_exp_data_from_dict_key(
366        key: impl ::core::convert::Into<::unity::Il2CppString>,
367    ) -> crate::app::relianceexpdata::RelianceExpData {
368        unsafe {
369            ::unity::il2cpp_call!((::unity::module_base()+0x1c5be80usize)as*mut u8,crate::app::relianceexpdata::RelianceExpData;
370(::unity::Il2CppString)::core::convert::Into::into(key))
371        }
372    }
373
374    #[doc = "`ShuffleSameScore(crate::system::collections::generic::list_1::List_1<crate::app::unitreliancemapresult::UnitRelianceMapResult>)` overload"]
375    pub fn shuffle_same_score(
376        results: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::unitreliancemapresult::UnitRelianceMapResult>>,
377    ) -> () {
378        unsafe {
379            ::unity::il2cpp_call!((::unity::module_base()+0x1c59db0usize)as*mut u8,();
380(crate::system::collections::generic::list_1::List_1<crate::app::unitreliancemapresult::UnitRelianceMapResult>)::core::convert::Into::into(results))
381        }
382    }
383
384    #[doc = "`ShuffleSameScore(crate::system::collections::generic::list_1::List_1<crate::app::unitreliancemapresult::UnitRelianceMapResult>, i32, i32)` overload"]
385    pub fn shuffle_same_score_2(
386        results: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::unitreliancemapresult::UnitRelianceMapResult>>,
387        start_index: impl ::core::convert::Into<i32>,
388        end_index: impl ::core::convert::Into<i32>,
389    ) -> () {
390        unsafe {
391            ::unity::il2cpp_call!((::unity::module_base()+0x1c5c140usize)as*mut u8,();
392(crate::system::collections::generic::list_1::List_1<crate::app::unitreliancemapresult::UnitRelianceMapResult>)::core::convert::Into::into(results),(i32)::core::convert::Into::into(start_index),(i32)::core::convert::Into::into(end_index))
393        }
394    }
395
396    #[doc = "`LinkGodUnitGet(crate::app::persondata::PersonData)` overload"]
397    pub fn link_god_unit_get(person: impl ::core::convert::Into<crate::app::persondata::PersonData>) -> crate::app::godunit::GodUnit {
398        unsafe {
399            ::unity::il2cpp_call!((::unity::module_base()+0x1c5ad40usize)as*mut u8,crate::app::godunit::GodUnit;
400(crate::app::persondata::PersonData)::core::convert::Into::into(person))
401        }
402    }
403
404    #[doc = "`LinkGodUnitIsExists(crate::app::persondata::PersonData, crate::app::persondata::PersonData)` overload"]
405    pub fn link_god_unit_is_exists(
406        person_a: impl ::core::convert::Into<crate::app::persondata::PersonData>,
407        person_b: impl ::core::convert::Into<crate::app::persondata::PersonData>,
408    ) -> bool {
409        unsafe {
410            ::unity::il2cpp_call!((::unity::module_base()+0x1c5c260usize)as*mut u8,bool;
411(crate::app::persondata::PersonData)::core::convert::Into::into(person_a),(crate::app::persondata::PersonData)::core::convert::Into::into(person_b))
412        }
413    }
414
415    #[doc = "`LinkGodUnitIsExists(crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
416    pub fn link_god_unit_is_exists_2(
417        unit_a: impl ::core::convert::Into<crate::app::unit::Unit>,
418        unit_b: impl ::core::convert::Into<crate::app::unit::Unit>,
419    ) -> bool {
420        unsafe {
421            ::unity::il2cpp_call!((::unity::module_base()+0x1c5c2e0usize)as*mut u8,bool;
422(crate::app::unit::Unit)::core::convert::Into::into(unit_a),(crate::app::unit::Unit)::core::convert::Into::into(unit_b))
423        }
424    }
425
426    #[doc = "`LinkGodUnitLevelUp(crate::app::persondata::PersonData, crate::app::persondata::PersonData, crate::app::reliancedata::RelianceData_Level)` overload"]
427    pub fn link_god_unit_level_up(
428        person_a: impl ::core::convert::Into<crate::app::persondata::PersonData>,
429        person_b: impl ::core::convert::Into<crate::app::persondata::PersonData>,
430        level: impl ::core::convert::Into<crate::app::reliancedata::RelianceData_Level>,
431    ) -> () {
432        unsafe {
433            ::unity::il2cpp_call!((::unity::module_base()+0x1c5aa50usize)as*mut u8,();
434(crate::app::persondata::PersonData)::core::convert::Into::into(person_a),(crate::app::persondata::PersonData)::core::convert::Into::into(person_b),(crate::app::reliancedata::RelianceData_Level)::core::convert::Into::into(level))
435        }
436    }
437
438    #[doc = "`LinkGodUnitCanBeRelianceLevelS(crate::app::godunit::GodUnit, crate::app::persondata::PersonData)` overload"]
439    pub fn link_god_unit_can_be_reliance_level_s(
440        god_unit_a: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
441        person_b: impl ::core::convert::Into<crate::app::persondata::PersonData>,
442    ) -> bool {
443        unsafe {
444            ::unity::il2cpp_call!((::unity::module_base()+0x1c5ad60usize)as*mut u8,bool;
445(crate::app::godunit::GodUnit)::core::convert::Into::into(god_unit_a),(crate::app::persondata::PersonData)::core::convert::Into::into(person_b))
446        }
447    }
448
449    #[doc = "`LinkGodUnitSetRelianceLevelS(crate::app::godunit::GodUnit, crate::app::persondata::PersonData)` overload"]
450    pub fn link_god_unit_set_reliance_level_s(
451        god_unit_a: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
452        person_b: impl ::core::convert::Into<crate::app::persondata::PersonData>,
453    ) -> () {
454        unsafe {
455            ::unity::il2cpp_call!((::unity::module_base()+0x1c5af70usize)as*mut u8,();
456(crate::app::godunit::GodUnit)::core::convert::Into::into(god_unit_a),(crate::app::persondata::PersonData)::core::convert::Into::into(person_b))
457        }
458    }
459}
460
461#[cfg(feature = "app-unitreliance")]
462pub trait IUnitRelianceMethods: IUnitReliance {
463    #[doc = "`.ctor()` overload"]
464    fn ctor(self) -> () {
465        unsafe {
466            let __receiver = <UnitReliance as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
467            ::unity::il2cpp_call!((::unity::module_base()+0x1c5c380usize)as*mut u8,();
468(UnitReliance)__receiver)
469        }
470    }
471}
472
473#[cfg(feature = "app-unitreliance")]
474impl<__T: IUnitReliance> IUnitRelianceMethods for __T {}
475
476#[cfg(feature = "app-unitreliance")]
477impl UnitReliance {
478    pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
479        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
480    }
481
482    pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
483        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
484    }
485
486    pub fn reset_map_begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
487        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
488    }
489
490    pub fn reflect_score_method_info() -> &'static ::unity::il2cpp::MethodInfo {
491        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
492    }
493
494    pub fn try_get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
495        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
496    }
497
498    pub fn try_get_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
499        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
500    }
501
502    pub fn try_get_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
503        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
504    }
505
506    pub fn can_add_score_method_info() -> &'static ::unity::il2cpp::MethodInfo {
507        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
508    }
509
510    pub fn can_add_score_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
511        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
512    }
513
514    pub fn can_add_exp_hub_method_info() -> &'static ::unity::il2cpp::MethodInfo {
515        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
516    }
517
518    pub fn can_add_exp_hub_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
519        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
520    }
521
522    pub fn try_add_score_method_info() -> &'static ::unity::il2cpp::MethodInfo {
523        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
524    }
525
526    pub fn try_add_exp_by_hub_method_info() -> &'static ::unity::il2cpp::MethodInfo {
527        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
528    }
529
530    pub fn can_level_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
531        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
532    }
533
534    pub fn can_level_up_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
535        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
536    }
537
538    pub fn level_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
539        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
540    }
541
542    pub fn level_up_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
543        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
544    }
545
546    pub fn can_be_level_a_plus_method_info() -> &'static ::unity::il2cpp::MethodInfo {
547        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
548    }
549
550    pub fn can_be_level_a_plus_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
551        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
552    }
553
554    pub fn set_level_a_plus_method_info() -> &'static ::unity::il2cpp::MethodInfo {
555        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
556    }
557
558    pub fn set_level_a_plus_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
559        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
560    }
561
562    pub fn try_get_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
563        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
564    }
565
566    pub fn try_get_level_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
567        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
568    }
569
570    pub fn try_get_level_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
571        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
572    }
573
574    pub fn try_get_support_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
575        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
576    }
577
578    pub fn serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
579        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
580    }
581
582    pub fn deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
583        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
584    }
585
586    pub fn get_valid_reliance_exp_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
587        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
588    }
589
590    pub fn make_data_dict_key_method_info() -> &'static ::unity::il2cpp::MethodInfo {
591        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
592    }
593
594    pub fn get_pid_from_dict_key_method_info() -> &'static ::unity::il2cpp::MethodInfo {
595        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
596    }
597
598    pub fn get_reliance_exp_data_from_dict_key_method_info() -> &'static ::unity::il2cpp::MethodInfo {
599        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
600    }
601
602    pub fn shuffle_same_score_method_info() -> &'static ::unity::il2cpp::MethodInfo {
603        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
604    }
605
606    pub fn shuffle_same_score_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
607        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
608    }
609
610    pub fn link_god_unit_get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
611        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
612    }
613
614    pub fn link_god_unit_is_exists_method_info() -> &'static ::unity::il2cpp::MethodInfo {
615        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
616    }
617
618    pub fn link_god_unit_is_exists_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
619        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
620    }
621
622    pub fn link_god_unit_level_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
623        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
624    }
625
626    pub fn link_god_unit_can_be_reliance_level_s_method_info() -> &'static ::unity::il2cpp::MethodInfo {
627        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
628    }
629
630    pub fn link_god_unit_set_reliance_level_s_method_info() -> &'static ::unity::il2cpp::MethodInfo {
631        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
632    }
633
634    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
635        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
636    }
637}
638
639#[cfg(feature = "app-unitreliance")]
640impl UnitReliance {
641    #[doc = "`.ctor()` — no args"]
642    pub fn new() -> Self {
643        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
644            panic!(
645                "{}
646::{}
647 failed to instantiate",
648                ::core::stringify!(UnitReliance),
649                ::core::stringify!(new),
650            )
651        });
652        <Self as IUnitRelianceMethods>::ctor(this);
653        this
654    }
655}
656
657#[cfg(feature = "app-unitreliance")]
658#[doc(hidden)]
659pub mod prelude {
660    pub use super::{IUnitReliance, IUnitRelianceMethods, UnitReliance};
661    pub use crate::system::object::IObject;
662    #[cfg(feature = "system-object")]
663    pub use crate::system::object::IObjectMethods;
664}