Skip to main content

engage/generated/app/
report.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-report-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/report/Report.md"))]
11    #[::unity::class(namespace = "App", name = "Report")]
12    #[parent(crate::system::object::Object)]
13    pub struct Report {
14        #[static_field]
15        #[rename(name = "Header")]
16        pub header: ::unity::Il2CppString,
17    }
18}
19
20#[cfg(feature = "app-report-types")]
21pub use __types::*;
22
23#[cfg(feature = "app-report")]
24impl Report {
25    #[doc = "`MapStart()` overload"]
26    pub fn map_start() -> () {
27        unsafe {
28            ::unity::il2cpp_call!((::unity::module_base()+0x2013370usize)as*mut u8,();
29            )
30        }
31    }
32
33    #[doc = "`MapComplete()` overload"]
34    pub fn map_complete() -> () {
35        unsafe {
36            ::unity::il2cpp_call!((::unity::module_base()+0x2013380usize)as*mut u8,();
37            )
38        }
39    }
40
41    #[doc = "`Kizuna()` overload"]
42    pub fn kizuna() -> () {
43        unsafe {
44            ::unity::il2cpp_call!((::unity::module_base()+0x2013390usize)as*mut u8,();
45            )
46        }
47    }
48
49    #[doc = "`AddBoughtItem(crate::app::itemdata::ItemData)` overload"]
50    pub fn add_bought_item(item: impl ::core::convert::Into<crate::app::itemdata::ItemData>) -> () {
51        unsafe {
52            ::unity::il2cpp_call!((::unity::module_base()+0x20133a0usize)as*mut u8,();
53(crate::app::itemdata::ItemData)::core::convert::Into::into(item))
54        }
55    }
56
57    #[doc = "`AddRefineItem(crate::app::itemdata::ItemData, i32)` overload"]
58    pub fn add_refine_item(item: impl ::core::convert::Into<crate::app::itemdata::ItemData>, level: impl ::core::convert::Into<i32>) -> () {
59        unsafe {
60            ::unity::il2cpp_call!((::unity::module_base()+0x20133b0usize)as*mut u8,();
61(crate::app::itemdata::ItemData)::core::convert::Into::into(item),(i32)::core::convert::Into::into(level))
62        }
63    }
64
65    #[doc = "`AddEvolveItem(crate::app::itemdata::ItemData, crate::app::itemdata::ItemData)` overload"]
66    pub fn add_evolve_item(
67        prev: impl ::core::convert::Into<crate::app::itemdata::ItemData>,
68        next: impl ::core::convert::Into<crate::app::itemdata::ItemData>,
69    ) -> () {
70        unsafe {
71            ::unity::il2cpp_call!((::unity::module_base()+0x20133c0usize)as*mut u8,();
72(crate::app::itemdata::ItemData)::core::convert::Into::into(prev),(crate::app::itemdata::ItemData)::core::convert::Into::into(next))
73        }
74    }
75
76    #[doc = "`AddUseItem(crate::app::itemdata::ItemData)` overload"]
77    pub fn add_use_item(item: impl ::core::convert::Into<crate::app::itemdata::ItemData>) -> () {
78        unsafe {
79            ::unity::il2cpp_call!((::unity::module_base()+0x20133d0usize)as*mut u8,();
80(crate::app::itemdata::ItemData)::core::convert::Into::into(item))
81        }
82    }
83
84    #[doc = "`AddPickupItem(crate::app::itemdata::ItemData)` overload"]
85    pub fn add_pickup_item(item: impl ::core::convert::Into<crate::app::itemdata::ItemData>) -> () {
86        unsafe {
87            ::unity::il2cpp_call!((::unity::module_base()+0x20133e0usize)as*mut u8,();
88(crate::app::itemdata::ItemData)::core::convert::Into::into(item))
89        }
90    }
91
92    #[doc = "`AddTalk(crate::app::persondata::PersonData)` overload"]
93    pub fn add_talk(person: impl ::core::convert::Into<crate::app::persondata::PersonData>) -> () {
94        unsafe {
95            ::unity::il2cpp_call!((::unity::module_base()+0x20133f0usize)as*mut u8,();
96(crate::app::persondata::PersonData)::core::convert::Into::into(person))
97        }
98    }
99
100    #[doc = "`AddEquipSkillPool(crate::app::unit::Unit, crate::app::godunit::GodUnit, ::unity::Il2CppString)` overload"]
101    pub fn add_equip_skill_pool(
102        unit: impl ::core::convert::Into<crate::app::unit::Unit>,
103        god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
104        skill_name: impl ::core::convert::Into<::unity::Il2CppString>,
105    ) -> () {
106        unsafe {
107            ::unity::il2cpp_call!((::unity::module_base()+0x2013400usize)as*mut u8,();
108(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::godunit::GodUnit)::core::convert::Into::into(god),(::unity::Il2CppString)::core::convert::Into::into(skill_name))
109        }
110    }
111
112    #[doc = "`AddEngageFull(crate::app::unit::Unit)` overload"]
113    pub fn add_engage_full(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
114        unsafe {
115            ::unity::il2cpp_call!((::unity::module_base()+0x2013410usize)as*mut u8,();
116(crate::app::unit::Unit)::core::convert::Into::into(unit))
117        }
118    }
119
120    #[doc = "`AddEngageStart(crate::app::unit::Unit)` overload"]
121    pub fn add_engage_start(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
122        unsafe {
123            ::unity::il2cpp_call!((::unity::module_base()+0x2013420usize)as*mut u8,();
124(crate::app::unit::Unit)::core::convert::Into::into(unit))
125        }
126    }
127
128    #[doc = "`AddEngageAttack(crate::app::unit::Unit)` overload"]
129    pub fn add_engage_attack(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
130        unsafe {
131            ::unity::il2cpp_call!((::unity::module_base()+0x2013430usize)as*mut u8,();
132(crate::app::unit::Unit)::core::convert::Into::into(unit))
133        }
134    }
135
136    #[doc = "`ClearRepoart()` overload"]
137    pub fn clear_repoart() -> () {
138        unsafe {
139            ::unity::il2cpp_call!((::unity::module_base()+0x2013440usize)as*mut u8,();
140            )
141        }
142    }
143}
144
145#[cfg(feature = "app-report")]
146pub trait IReportMethods: IReport {
147    #[doc = "`.ctor()` overload"]
148    fn ctor(self) -> () {
149        unsafe {
150            let __receiver = <Report as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151            ::unity::il2cpp_call!((::unity::module_base()+0x2013450usize)as*mut u8,();
152(Report)__receiver)
153        }
154    }
155}
156
157#[cfg(feature = "app-report")]
158impl<__T: IReport> IReportMethods for __T {}
159
160#[cfg(feature = "app-report")]
161impl Report {
162    pub fn map_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
163        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
164    }
165
166    pub fn map_complete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
167        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
168    }
169
170    pub fn kizuna_method_info() -> &'static ::unity::il2cpp::MethodInfo {
171        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
172    }
173
174    pub fn add_bought_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
176    }
177
178    pub fn add_refine_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
179        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
180    }
181
182    pub fn add_evolve_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
183        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
184    }
185
186    pub fn add_use_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
187        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
188    }
189
190    pub fn add_pickup_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
191        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
192    }
193
194    pub fn add_talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
195        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
196    }
197
198    pub fn add_equip_skill_pool_method_info() -> &'static ::unity::il2cpp::MethodInfo {
199        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
200    }
201
202    pub fn add_engage_full_method_info() -> &'static ::unity::il2cpp::MethodInfo {
203        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
204    }
205
206    pub fn add_engage_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
207        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
208    }
209
210    pub fn add_engage_attack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
211        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
212    }
213
214    pub fn clear_repoart_method_info() -> &'static ::unity::il2cpp::MethodInfo {
215        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
216    }
217
218    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
219        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
220    }
221}
222
223#[cfg(feature = "app-report")]
224impl Report {
225    #[doc = "`.ctor()` — no args"]
226    pub fn new() -> Self {
227        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
228            panic!(
229                "{}
230::{}
231 failed to instantiate",
232                ::core::stringify!(Report),
233                ::core::stringify!(new),
234            )
235        });
236        <Self as IReportMethods>::ctor(this);
237        this
238    }
239}
240
241#[cfg(feature = "app-report")]
242#[doc(hidden)]
243pub mod prelude {
244    pub use super::{IReport, IReportMethods, Report};
245    pub use crate::system::object::IObject;
246    #[cfg(feature = "system-object")]
247    pub use crate::system::object::IObjectMethods;
248}