Skip to main content

engage/generated/app/talk3_d/
talkptr.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-talk3_d-talkptr-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/talk3_d/talkptr/TalkPtr.md"))]
11    #[::unity::class(namespace = "App.Talk3D", name = "TalkPtr")]
12    #[parent(crate::system::object::Object)]
13    pub struct TalkPtr {
14        #[static_field]
15        #[rename(name = "CharSize")]
16        pub char_size: i32,
17        #[static_field]
18        #[rename(name = "GroupSize")]
19        pub group_size: i32,
20    }
21}
22
23#[cfg(feature = "app-talk3_d-talkptr-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-talk3_d-talkptr")]
27pub trait ITalkPtrMethods: ITalkPtr {
28    #[doc = "`get_OriginalPtr()` overload"]
29    fn get_original_ptr(self) -> ::unity::IntPtr {
30        unsafe {
31            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
32            ::unity::il2cpp_call!((::unity::module_base()+0x20c4e10usize)as*mut u8, ::unity::IntPtr;
33(TalkPtr)__receiver)
34        }
35    }
36    #[doc = "`set_OriginalPtr(::unity::IntPtr)` overload"]
37    fn set_original_ptr(self, value: impl ::core::convert::Into<::unity::IntPtr>) -> () {
38        unsafe {
39            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
40            ::unity::il2cpp_call!((::unity::module_base()+0x20c4e20usize)as*mut u8,();
41(TalkPtr)__receiver,(::unity::IntPtr)::core::convert::Into::into(value))
42        }
43    }
44    #[doc = "`get_NowPtr()` overload"]
45    fn get_now_ptr(self) -> ::unity::IntPtr {
46        unsafe {
47            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
48            ::unity::il2cpp_call!((::unity::module_base()+0x20c4e30usize)as*mut u8, ::unity::IntPtr;
49(TalkPtr)__receiver)
50        }
51    }
52    #[doc = "`set_NowPtr(::unity::IntPtr)` overload"]
53    fn set_now_ptr(self, value: impl ::core::convert::Into<::unity::IntPtr>) -> () {
54        unsafe {
55            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
56            ::unity::il2cpp_call!((::unity::module_base()+0x20c4e40usize)as*mut u8,();
57(TalkPtr)__receiver,(::unity::IntPtr)::core::convert::Into::into(value))
58        }
59    }
60    #[doc = "`.ctor(::unity::IntPtr)` overload"]
61    fn ctor(self, ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
62        unsafe {
63            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
64            ::unity::il2cpp_call!((::unity::module_base()+0x20b9250usize)as*mut u8,();
65(TalkPtr)__receiver,(::unity::IntPtr)::core::convert::Into::into(ptr))
66        }
67    }
68    #[doc = "`.ctor(::unity::Il2CppString)` overload"]
69    fn ctor_2(self, mid: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
70        unsafe {
71            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
72            ::unity::il2cpp_call!((::unity::module_base()+0x20c4e50usize)as*mut u8,();
73(TalkPtr)__receiver,(::unity::Il2CppString)::core::convert::Into::into(mid))
74        }
75    }
76    #[doc = "`ResetPosition()` overload"]
77    fn reset_position(self) -> () {
78        unsafe {
79            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80            ::unity::il2cpp_call!((::unity::module_base()+0x20c4ea0usize)as*mut u8,();
81(TalkPtr)__receiver)
82        }
83    }
84    #[doc = "`Forward(i32)` overload"]
85    fn forward(self, size: impl ::core::convert::Into<i32>) -> () {
86        unsafe {
87            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
88            ::unity::il2cpp_call!((::unity::module_base()+0x20c4f00usize)as*mut u8,();
89(TalkPtr)__receiver,(i32)::core::convert::Into::into(size))
90        }
91    }
92    #[doc = "`ReadTagGroup()` overload"]
93    fn read_tag_group(self) -> crate::app::mess::Mess_TagGroup {
94        unsafe {
95            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
96            ::unity::il2cpp_call!((::unity::module_base()+0x20c4f60usize)as*mut u8,crate::app::mess::Mess_TagGroup;
97(TalkPtr)__receiver)
98        }
99    }
100    #[doc = "`ReadInt32()` overload"]
101    fn read_int32(self) -> i32 {
102        unsafe {
103            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
104            ::unity::il2cpp_call!((::unity::module_base()+0x20c5020usize)as*mut u8,i32;
105(TalkPtr)__receiver)
106        }
107    }
108    #[doc = "`ReadInt16()` overload"]
109    fn read_int16(self) -> i32 {
110        unsafe {
111            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
112            ::unity::il2cpp_call!((::unity::module_base()+0x20c50e0usize)as*mut u8,i32;
113(TalkPtr)__receiver)
114        }
115    }
116    #[doc = "`ReadByte()` overload"]
117    fn read_byte(self) -> i32 {
118        unsafe {
119            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
120            ::unity::il2cpp_call!((::unity::module_base()+0x20c51a0usize)as*mut u8,i32;
121(TalkPtr)__receiver)
122        }
123    }
124    #[doc = "`ReadChar()` overload"]
125    fn read_char(self) -> u16 {
126        unsafe {
127            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128            ::unity::il2cpp_call!((::unity::module_base()+0x20c5260usize)as*mut u8,u16;
129(TalkPtr)__receiver)
130        }
131    }
132    #[doc = "`ReadStringParam()` overload"]
133    fn read_string_param(self) -> ::unity::Il2CppString {
134        unsafe {
135            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136            ::unity::il2cpp_call!((::unity::module_base()+0x20c5370usize)as*mut u8, ::unity::Il2CppString;
137(TalkPtr)__receiver)
138        }
139    }
140    #[doc = "`ReadPID()` overload"]
141    fn read_pid(self) -> ::unity::Il2CppString {
142        unsafe {
143            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
144            ::unity::il2cpp_call!((::unity::module_base()+0x20c5440usize)as*mut u8, ::unity::Il2CppString;
145(TalkPtr)__receiver)
146        }
147    }
148    #[doc = "`WriteShiftIn()` overload"]
149    fn write_shift_in(self) -> () {
150        unsafe {
151            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
152            ::unity::il2cpp_call!((::unity::module_base()+0x20b9380usize)as*mut u8,();
153(TalkPtr)__receiver)
154        }
155    }
156    #[doc = "`WriteShiftOut()` overload"]
157    fn write_shift_out(self) -> () {
158        unsafe {
159            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
160            ::unity::il2cpp_call!((::unity::module_base()+0x20c5450usize)as*mut u8,();
161(TalkPtr)__receiver)
162        }
163    }
164    #[doc = "`WriteTagGroup(crate::app::mess::Mess_TagGroup)` overload"]
165    fn write_tag_group(self, group: impl ::core::convert::Into<crate::app::mess::Mess_TagGroup>) -> () {
166        unsafe {
167            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
168            ::unity::il2cpp_call!((::unity::module_base()+0x20b9430usize)as*mut u8,();
169(TalkPtr)__receiver,(crate::app::mess::Mess_TagGroup)::core::convert::Into::into(group))
170        }
171    }
172    #[doc = "`WriteInt16(i16)` overload"]
173    fn write_int16(self, value: impl ::core::convert::Into<i16>) -> () {
174        unsafe {
175            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
176            ::unity::il2cpp_call!((::unity::module_base()+0x20b9440usize)as*mut u8,();
177(TalkPtr)__receiver,(i16)::core::convert::Into::into(value))
178        }
179    }
180    #[doc = "`WriteInt16(i32)` overload"]
181    fn write_int16_2(self, value: impl ::core::convert::Into<i32>) -> () {
182        unsafe {
183            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
184            ::unity::il2cpp_call!((::unity::module_base()+0x20b9500usize)as*mut u8,();
185(TalkPtr)__receiver,(i32)::core::convert::Into::into(value))
186        }
187    }
188    #[doc = "`WriteString(::unity::Il2CppString)` overload"]
189    fn write_string(self, str: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
190        unsafe {
191            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
192            ::unity::il2cpp_call!((::unity::module_base()+0x20b9510usize)as*mut u8,();
193(TalkPtr)__receiver,(::unity::Il2CppString)::core::convert::Into::into(str))
194        }
195    }
196    #[doc = "`IsNull()` overload"]
197    fn is_null(self) -> bool {
198        unsafe {
199            let __receiver = <TalkPtr as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
200            ::unity::il2cpp_call!((::unity::module_base()+0x20c5500usize)as*mut u8,bool;
201(TalkPtr)__receiver)
202        }
203    }
204}
205
206#[cfg(feature = "app-talk3_d-talkptr")]
207impl<__T: ITalkPtr> ITalkPtrMethods for __T {}
208
209#[cfg(feature = "app-talk3_d-talkptr")]
210impl TalkPtr {
211    pub fn get_original_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
212        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
213    }
214
215    pub fn set_original_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
216        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
217    }
218
219    pub fn get_now_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
220        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
221    }
222
223    pub fn set_now_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
224        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
225    }
226
227    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
228        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
229    }
230
231    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
232        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
233    }
234
235    pub fn reset_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
236        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
237    }
238
239    pub fn forward_method_info() -> &'static ::unity::il2cpp::MethodInfo {
240        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
241    }
242
243    pub fn read_tag_group_method_info() -> &'static ::unity::il2cpp::MethodInfo {
244        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
245    }
246
247    pub fn read_int32_method_info() -> &'static ::unity::il2cpp::MethodInfo {
248        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
249    }
250
251    pub fn read_int16_method_info() -> &'static ::unity::il2cpp::MethodInfo {
252        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
253    }
254
255    pub fn read_byte_method_info() -> &'static ::unity::il2cpp::MethodInfo {
256        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
257    }
258
259    pub fn read_char_method_info() -> &'static ::unity::il2cpp::MethodInfo {
260        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
261    }
262
263    pub fn read_string_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
264        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
265    }
266
267    pub fn read_pid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
268        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
269    }
270
271    pub fn write_shift_in_method_info() -> &'static ::unity::il2cpp::MethodInfo {
272        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
273    }
274
275    pub fn write_shift_out_method_info() -> &'static ::unity::il2cpp::MethodInfo {
276        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
277    }
278
279    pub fn write_tag_group_method_info() -> &'static ::unity::il2cpp::MethodInfo {
280        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
281    }
282
283    pub fn write_int16_method_info() -> &'static ::unity::il2cpp::MethodInfo {
284        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
285    }
286
287    pub fn write_int16_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
289    }
290
291    pub fn write_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
293    }
294
295    pub fn is_null_method_info() -> &'static ::unity::il2cpp::MethodInfo {
296        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
297    }
298}
299
300#[cfg(feature = "app-talk3_d-talkptr")]
301impl TalkPtr {
302    #[doc = "`.ctor(::unity::IntPtr)` — overload selector"]
303    pub fn new(ptr: ::unity::IntPtr) -> Self {
304        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
305            panic!(
306                "{}
307::{}
308 failed to instantiate",
309                ::core::stringify!(TalkPtr),
310                ::core::stringify!(new),
311            )
312        });
313        <Self as ITalkPtrMethods>::ctor(this, ptr);
314        this
315    }
316
317    #[doc = "`.ctor(::unity::Il2CppString)` — overload selector"]
318    pub fn new_2(mid: ::unity::Il2CppString) -> Self {
319        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
320            panic!(
321                "{}
322::{}
323 failed to instantiate",
324                ::core::stringify!(TalkPtr),
325                ::core::stringify!(new_2),
326            )
327        });
328        <Self as ITalkPtrMethods>::ctor_2(this, mid);
329        this
330    }
331}
332
333#[cfg(feature = "app-talk3_d-talkptr")]
334#[doc(hidden)]
335pub mod prelude {
336    pub use super::{ITalkPtr, ITalkPtrMethods, TalkPtr};
337    pub use crate::system::object::IObject;
338    #[cfg(feature = "system-object")]
339    pub use crate::system::object::IObjectMethods;
340}