engage/generated/app/
commonreliancetalksequence.rs1#[cfg(feature = "app-commonreliancetalksequence-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/commonreliancetalksequence/CommonRelianceTalkSequence.md"))]
14 #[::unity::class(namespace = "App", name = "CommonRelianceTalkSequence")]
15 #[parent(crate::app::procinst::ProcInst)]
16 pub struct CommonRelianceTalkSequence {
17 #[offset(112)]
18 #[rename(name = "m_MessFileName")]
19 pub m_mess_file_name: ::unity::Il2CppString,
20 #[offset(120)]
21 #[rename(name = "m_IsLoadedMessFile")]
22 pub m_is_loaded_mess_file: bool,
23 }
24}
25
26#[cfg(feature = "app-commonreliancetalksequence-types")]
27pub use __types::*;
28
29#[cfg(feature = "app-commonreliancetalksequence")]
30pub trait ICommonRelianceTalkSequenceMethods: ICommonRelianceTalkSequence {
31 #[doc = "`CreateDescs()` overload"]
32 fn create_descs(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
33 unsafe {
34 let __receiver =
35 <CommonRelianceTalkSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
36 ::unity::il2cpp_call!((::unity::module_base()+0x252f9f0usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
37(CommonRelianceTalkSequence)__receiver)
38 }
39 }
40 #[doc = "`.ctor()` overload"]
41 fn ctor(self) -> () {
42 unsafe {
43 let __receiver =
44 <CommonRelianceTalkSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
45 ::unity::il2cpp_call!((::unity::module_base()+0x252fcc0usize)as*mut u8,();
46(CommonRelianceTalkSequence)__receiver)
47 }
48 }
49 #[doc = "`OnDispose()` overload"]
50 fn on_dispose(self) -> () {
51 unsafe {
52 let __receiver =
53 <CommonRelianceTalkSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
54 {
55 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
56 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
57 panic!(
58 "unity: virtual slot {}
59 out of range (vtable len {}
60) on the runtime class behind {}
61 (method `{}
62`)",
63 10usize,
64 __vt.len(),
65 <CommonRelianceTalkSequence as ::unity::ClassIdentity>::NAME,
66 "OnDispose",
67 )
68 });
69 let __inner: extern "C" fn(CommonRelianceTalkSequence, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
70 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
71 __inner(__receiver, __mi)
72 }
73 }
74 }
75 #[doc = "`Setup()` overload"]
76 fn setup(self) -> () {
77 unsafe {
78 let __receiver =
79 <CommonRelianceTalkSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80 ::unity::il2cpp_call!((::unity::module_base()+0x252fd00usize)as*mut u8,();
81(CommonRelianceTalkSequence)__receiver)
82 }
83 }
84 #[doc = "`Start()` overload"]
85 fn start(self) -> () {
86 unsafe {
87 let __receiver =
88 <CommonRelianceTalkSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
89 ::unity::il2cpp_call!((::unity::module_base()+0x252fe60usize)as*mut u8,();
90(CommonRelianceTalkSequence)__receiver)
91 }
92 }
93 #[doc = "`Cleanup()` overload"]
94 fn cleanup(self) -> () {
95 unsafe {
96 let __receiver =
97 <CommonRelianceTalkSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
98 ::unity::il2cpp_call!((::unity::module_base()+0x252feb0usize)as*mut u8,();
99(CommonRelianceTalkSequence)__receiver)
100 }
101 }
102 #[doc = "`CreateMessFileName(bool)` overload"]
103 fn create_mess_file_name(self, is_reverse: impl ::core::convert::Into<bool>) -> ::unity::Il2CppString {
104 unsafe {
105 let __receiver =
106 <CommonRelianceTalkSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107 {
108 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
109 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
110 panic!(
111 "unity: virtual slot {}
112 out of range (vtable len {}
113) on the runtime class behind {}
114 (method `{}
115`)",
116 18usize,
117 __vt.len(),
118 <CommonRelianceTalkSequence as ::unity::ClassIdentity>::NAME,
119 "CreateMessFileName",
120 )
121 });
122 let __inner: extern "C" fn(CommonRelianceTalkSequence, bool, ::unity::OptionalMethod) -> ::unity::Il2CppString =
123 ::core::mem::transmute(__vi.method_ptr);
124 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
125 __inner(__receiver, ::core::convert::Into::into(is_reverse), __mi)
126 }
127 }
128 }
129 #[doc = "`CreateMid()` overload"]
130 fn create_mid(self) -> ::unity::Il2CppString {
131 unsafe {
132 let __receiver =
133 <CommonRelianceTalkSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
134 {
135 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
136 let __vi = *__vt.get(19usize).unwrap_or_else(|| {
137 panic!(
138 "unity: virtual slot {}
139 out of range (vtable len {}
140) on the runtime class behind {}
141 (method `{}
142`)",
143 19usize,
144 __vt.len(),
145 <CommonRelianceTalkSequence as ::unity::ClassIdentity>::NAME,
146 "CreateMid",
147 )
148 });
149 let __inner: extern "C" fn(CommonRelianceTalkSequence, ::unity::OptionalMethod) -> ::unity::Il2CppString =
150 ::core::mem::transmute(__vi.method_ptr);
151 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
152 __inner(__receiver, __mi)
153 }
154 }
155 }
156 #[doc = "`LevelUp()` overload"]
157 fn level_up(self) -> () {
158 unsafe {
159 let __receiver =
160 <CommonRelianceTalkSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
161 {
162 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
163 let __vi = *__vt.get(20usize).unwrap_or_else(|| {
164 panic!(
165 "unity: virtual slot {}
166 out of range (vtable len {}
167) on the runtime class behind {}
168 (method `{}
169`)",
170 20usize,
171 __vt.len(),
172 <CommonRelianceTalkSequence as ::unity::ClassIdentity>::NAME,
173 "LevelUp",
174 )
175 });
176 let __inner: extern "C" fn(CommonRelianceTalkSequence, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
177 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
178 __inner(__receiver, __mi)
179 }
180 }
181 }
182 #[doc = "`get_MessFileName()` overload"]
183 fn get_mess_file_name(self) -> ::unity::Il2CppString {
184 unsafe {
185 let __receiver =
186 <CommonRelianceTalkSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187 ::unity::il2cpp_call!((::unity::module_base()+0x252ff30usize)as*mut u8, ::unity::Il2CppString;
188(CommonRelianceTalkSequence)__receiver)
189 }
190 }
191 #[doc = "`get_IsLoadedMessFile()` overload"]
192 fn get_is_loaded_mess_file(self) -> bool {
193 unsafe {
194 let __receiver =
195 <CommonRelianceTalkSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
196 ::unity::il2cpp_call!((::unity::module_base()+0x252ff40usize)as*mut u8,bool;
197(CommonRelianceTalkSequence)__receiver)
198 }
199 }
200}
201
202#[cfg(feature = "app-commonreliancetalksequence")]
203impl<__T: ICommonRelianceTalkSequence> ICommonRelianceTalkSequenceMethods for __T {}
204
205#[cfg(feature = "app-commonreliancetalksequence")]
206impl CommonRelianceTalkSequence {
207 pub fn create_descs_method_info() -> &'static ::unity::il2cpp::MethodInfo {
208 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
209 }
210
211 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
212 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
213 }
214
215 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
216 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
217 }
218
219 pub fn setup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
220 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
221 }
222
223 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
224 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
225 }
226
227 pub fn cleanup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
228 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
229 }
230
231 pub fn create_mess_file_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
232 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
233 }
234
235 pub fn create_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
236 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
237 }
238
239 pub fn level_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
240 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
241 }
242
243 pub fn get_mess_file_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
244 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
245 }
246
247 pub fn get_is_loaded_mess_file_method_info() -> &'static ::unity::il2cpp::MethodInfo {
248 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
249 }
250}
251
252#[cfg(feature = "app-commonreliancetalksequence")]
253impl CommonRelianceTalkSequence {
254 #[doc = "Direct (non-virtual) call to `CommonRelianceTalkSequence`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
255 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
256 let __mi = Self::on_dispose_method_info();
257 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
258 __inner(this.into(), ::core::option::Option::None)
259 }
260
261 #[doc = "Direct (non-virtual) call to `CommonRelianceTalkSequence`'s own `CreateMessFileName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
262 pub unsafe fn create_mess_file_name(this: impl ::core::convert::Into<::unity::IlInstance>, is_reverse: bool) -> ::unity::Il2CppString {
263 let __mi = Self::create_mess_file_name_method_info();
264 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> ::unity::Il2CppString =
265 ::core::mem::transmute(__mi.method_ptr);
266 __inner(this.into(), is_reverse, ::core::option::Option::None)
267 }
268
269 #[doc = "Direct (non-virtual) call to `CommonRelianceTalkSequence`'s own `CreateMid`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
270 pub unsafe fn create_mid(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
271 let __mi = Self::create_mid_method_info();
272 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
273 __inner(this.into(), ::core::option::Option::None)
274 }
275
276 #[doc = "Direct (non-virtual) call to `CommonRelianceTalkSequence`'s own `LevelUp`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
277 pub unsafe fn level_up(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
278 let __mi = Self::level_up_method_info();
279 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
280 __inner(this.into(), ::core::option::Option::None)
281 }
282}
283
284#[cfg(feature = "app-commonreliancetalksequence")]
285impl CommonRelianceTalkSequence {
286 #[doc = "`.ctor()` — no args"]
287 pub fn new() -> Self {
288 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
289 panic!(
290 "{}
291::{}
292 failed to instantiate",
293 ::core::stringify!(CommonRelianceTalkSequence),
294 ::core::stringify!(new),
295 )
296 });
297 <Self as ICommonRelianceTalkSequenceMethods>::ctor(this);
298 this
299 }
300}
301
302#[cfg(feature = "app-commonreliancetalksequence")]
303#[doc(hidden)]
304pub mod prelude {
305 pub use super::{CommonRelianceTalkSequence, ICommonRelianceTalkSequence, ICommonRelianceTalkSequenceMethods};
306 #[cfg(feature = "app-procinst")]
307 pub use crate::app::procinst::IProcInstMethods;
308 #[cfg(feature = "system-object")]
309 pub use crate::system::object::IObjectMethods;
310 pub use crate::{app::procinst::IProcInst, system::object::IObject};
311}