Skip to main content

engage/generated/nintendo/message_studio/lib/
binmsgfile.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "nintendo-message_studio-lib-binmsgfile-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        nintendo::message_studio::lib::binlibmsfilebase::{BinLibmsFileBase, IBinLibmsFileBase},
10        system::object::{IObject, Object},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/nintendo/message_studio/lib/binmsgfile/BinMsgFile.md"))]
14    #[::unity::class(namespace = "Nintendo.MessageStudio.Lib", name = "BinMsgFile")]
15    #[parent(crate::nintendo::message_studio::lib::binlibmsfilebase::BinLibmsFileBase)]
16    pub struct BinMsgFile {}
17}
18
19#[cfg(feature = "nintendo-message_studio-lib-binmsgfile-types")]
20pub use __types::*;
21
22#[cfg(feature = "nintendo-message_studio-lib-binmsgfile")]
23pub trait IBinMsgFileMethods: IBinMsgFile {
24    #[doc = "`InitObject(::unity::IntPtr)` overload"]
25    fn init_object(self, resource_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> ::unity::IntPtr {
26        unsafe {
27            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
28            {
29                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
30                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
31                    panic!(
32                        "unity: virtual slot {}
33 out of range (vtable len {}
34) on the runtime class behind {}
35 (method `{}
36`)",
37                        5usize,
38                        __vt.len(),
39                        <BinMsgFile as ::unity::ClassIdentity>::NAME,
40                        "InitObject",
41                    )
42                });
43                let __inner: extern "C" fn(BinMsgFile, ::unity::IntPtr, ::unity::OptionalMethod) -> ::unity::IntPtr =
44                    ::core::mem::transmute(__vi.method_ptr);
45                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
46                __inner(__receiver, ::core::convert::Into::into(resource_ptr), __mi)
47            }
48        }
49    }
50    #[doc = "`CloseObject(::unity::IntPtr)` overload"]
51    fn close_object(self, object_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
52        unsafe {
53            let __receiver = <BinMsgFile 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(6usize).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                        6usize,
64                        __vt.len(),
65                        <BinMsgFile as ::unity::ClassIdentity>::NAME,
66                        "CloseObject",
67                    )
68                });
69                let __inner: extern "C" fn(BinMsgFile, ::unity::IntPtr, ::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, ::core::convert::Into::into(object_ptr), __mi)
72            }
73        }
74    }
75    #[doc = "`SearchMessageBlock(::unity::Il2CppString)` overload"]
76    fn search_message_block(self, block: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
77        unsafe {
78            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
79            ::unity::il2cpp_call!((::unity::module_base()+0x1e967b0usize)as*mut u8,i32;
80(BinMsgFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(block))
81        }
82    }
83    #[doc = "`GetBlockInfo(::unity::Il2CppString)` overload"]
84    fn get_block_info(self, block: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::nintendo::message_studio::lib::blockinfo::BlockInfo {
85        unsafe {
86            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
87            ::unity::il2cpp_call!((::unity::module_base()+0x1e96830usize)as*mut u8,crate::nintendo::message_studio::lib::blockinfo::BlockInfo;
88(BinMsgFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(block))
89        }
90    }
91    #[doc = "`GetAttributes(::unity::Il2CppString)` overload"]
92    fn get_attributes(self, label: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Array<u8> {
93        unsafe {
94            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
95            ::unity::il2cpp_call!((::unity::module_base()+0x1e969a0usize)as*mut u8, ::unity::Array<u8> ;
96(BinMsgFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(label))
97        }
98    }
99    #[doc = "`GetAttributes(i32)` overload"]
100    fn get_attributes_2(self, index: impl ::core::convert::Into<i32>) -> ::unity::Array<u8> {
101        unsafe {
102            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
103            ::unity::il2cpp_call!((::unity::module_base()+0x1e96a30usize)as*mut u8, ::unity::Array<u8> ;
104(BinMsgFile)__receiver,(i32)::core::convert::Into::into(index))
105        }
106    }
107    #[doc = "`GetInt8Attribute(::unity::Array<u8>, i32)` overload"]
108    fn get_int8_attribute(self, attr: impl ::core::convert::Into<::unity::Array<u8>>, index: impl ::core::convert::Into<i32>) -> i8 {
109        unsafe {
110            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
111            ::unity::il2cpp_call!((::unity::module_base()+0x1e96b70usize)as*mut u8,i8;
112(BinMsgFile)__receiver,(::unity::Array<u8>)::core::convert::Into::into(attr),(i32)::core::convert::Into::into(index))
113        }
114    }
115    #[doc = "`GetUInt8Attribute(::unity::Array<u8>, i32)` overload"]
116    fn get_u_int8_attribute(self, attr: impl ::core::convert::Into<::unity::Array<u8>>, index: impl ::core::convert::Into<i32>) -> u8 {
117        unsafe {
118            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119            ::unity::il2cpp_call!((::unity::module_base()+0x1e96c20usize)as*mut u8,u8;
120(BinMsgFile)__receiver,(::unity::Array<u8>)::core::convert::Into::into(attr),(i32)::core::convert::Into::into(index))
121        }
122    }
123    #[doc = "`GetInt16Attribute(::unity::Array<u8>, i32)` overload"]
124    fn get_int16_attribute(self, attr: impl ::core::convert::Into<::unity::Array<u8>>, index: impl ::core::convert::Into<i32>) -> i16 {
125        unsafe {
126            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127            ::unity::il2cpp_call!((::unity::module_base()+0x1e96cd0usize)as*mut u8,i16;
128(BinMsgFile)__receiver,(::unity::Array<u8>)::core::convert::Into::into(attr),(i32)::core::convert::Into::into(index))
129        }
130    }
131    #[doc = "`GetUInt16Attribute(::unity::Array<u8>, i32)` overload"]
132    fn get_u_int16_attribute(self, attr: impl ::core::convert::Into<::unity::Array<u8>>, index: impl ::core::convert::Into<i32>) -> u16 {
133        unsafe {
134            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
135            ::unity::il2cpp_call!((::unity::module_base()+0x1e96da0usize)as*mut u8,u16;
136(BinMsgFile)__receiver,(::unity::Array<u8>)::core::convert::Into::into(attr),(i32)::core::convert::Into::into(index))
137        }
138    }
139    #[doc = "`GetInt32Attribute(::unity::Array<u8>, i32)` overload"]
140    fn get_int32_attribute(self, attr: impl ::core::convert::Into<::unity::Array<u8>>, index: impl ::core::convert::Into<i32>) -> i32 {
141        unsafe {
142            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
143            ::unity::il2cpp_call!((::unity::module_base()+0x1e96e70usize)as*mut u8,i32;
144(BinMsgFile)__receiver,(::unity::Array<u8>)::core::convert::Into::into(attr),(i32)::core::convert::Into::into(index))
145        }
146    }
147    #[doc = "`GetUInt32Attribute(::unity::Array<u8>, i32)` overload"]
148    fn get_u_int32_attribute(self, attr: impl ::core::convert::Into<::unity::Array<u8>>, index: impl ::core::convert::Into<i32>) -> u32 {
149        unsafe {
150            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151            ::unity::il2cpp_call!((::unity::module_base()+0x1e96f40usize)as*mut u8,u32;
152(BinMsgFile)__receiver,(::unity::Array<u8>)::core::convert::Into::into(attr),(i32)::core::convert::Into::into(index))
153        }
154    }
155    #[doc = "`GetFloatAttribute(::unity::Array<u8>, i32)` overload"]
156    fn get_float_attribute(self, attr: impl ::core::convert::Into<::unity::Array<u8>>, index: impl ::core::convert::Into<i32>) -> f32 {
157        unsafe {
158            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
159            ::unity::il2cpp_call!((::unity::module_base()+0x1e97010usize)as*mut u8,f32;
160(BinMsgFile)__receiver,(::unity::Array<u8>)::core::convert::Into::into(attr),(i32)::core::convert::Into::into(index))
161        }
162    }
163    #[doc = "`GetDoubleAttribute(::unity::Array<u8>, i32)` overload"]
164    fn get_double_attribute(self, attr: impl ::core::convert::Into<::unity::Array<u8>>, index: impl ::core::convert::Into<i32>) -> f64 {
165        unsafe {
166            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
167            ::unity::il2cpp_call!((::unity::module_base()+0x1e970e0usize)as*mut u8,f64;
168(BinMsgFile)__receiver,(::unity::Array<u8>)::core::convert::Into::into(attr),(i32)::core::convert::Into::into(index))
169        }
170    }
171    #[doc = "`GetStringAttribute(::unity::Array<u8>, i32)` overload"]
172    fn get_string_attribute(
173        self,
174        attr: impl ::core::convert::Into<::unity::Array<u8>>,
175        index: impl ::core::convert::Into<i32>,
176    ) -> ::unity::Il2CppString {
177        unsafe {
178            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
179            ::unity::il2cpp_call!((::unity::module_base()+0x1e971b0usize)as*mut u8, ::unity::Il2CppString;
180(BinMsgFile)__receiver,(::unity::Array<u8>)::core::convert::Into::into(attr),(i32)::core::convert::Into::into(index))
181        }
182    }
183    #[doc = "`GetListAttribute(::unity::Array<u8>, i32)` overload"]
184    fn get_list_attribute(self, attr: impl ::core::convert::Into<::unity::Array<u8>>, index: impl ::core::convert::Into<i32>) -> i32 {
185        unsafe {
186            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187            ::unity::il2cpp_call!((::unity::module_base()+0x1e972c0usize)as*mut u8,i32;
188(BinMsgFile)__receiver,(::unity::Array<u8>)::core::convert::Into::into(attr),(i32)::core::convert::Into::into(index))
189        }
190    }
191    #[doc = "`GetStyle(::unity::Il2CppString)` overload"]
192    fn get_style(self, label: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
193        unsafe {
194            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195            ::unity::il2cpp_call!((::unity::module_base()+0x1e97370usize)as*mut u8,i32;
196(BinMsgFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(label))
197        }
198    }
199    #[doc = "`GetStyle(i32)` overload"]
200    fn get_style_2(self, index: impl ::core::convert::Into<i32>) -> i32 {
201        unsafe {
202            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203            ::unity::il2cpp_call!((::unity::module_base()+0x1e973f0usize)as*mut u8,i32;
204(BinMsgFile)__receiver,(i32)::core::convert::Into::into(index))
205        }
206    }
207    #[doc = "`GetLabel(i32)` overload"]
208    fn get_label(self, index: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
209        unsafe {
210            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
211            ::unity::il2cpp_call!((::unity::module_base()+0x1e97470usize)as*mut u8, ::unity::Il2CppString;
212(BinMsgFile)__receiver,(i32)::core::convert::Into::into(index))
213        }
214    }
215    #[doc = "`GetTextNum()` overload"]
216    fn get_text_num(self) -> i32 {
217        unsafe {
218            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
219            ::unity::il2cpp_call!((::unity::module_base()+0x1e97550usize)as*mut u8,i32;
220(BinMsgFile)__receiver)
221        }
222    }
223    #[doc = "`GetTextIndex(::unity::Il2CppString)` overload"]
224    fn get_text_index(self, label: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
225        unsafe {
226            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
227            ::unity::il2cpp_call!((::unity::module_base()+0x1e975c0usize)as*mut u8,i32;
228(BinMsgFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(label))
229        }
230    }
231    #[doc = "`GetTextSize(i32)` overload"]
232    fn get_text_size(self, index: impl ::core::convert::Into<i32>) -> i32 {
233        unsafe {
234            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
235            ::unity::il2cpp_call!((::unity::module_base()+0x1e97640usize)as*mut u8,i32;
236(BinMsgFile)__receiver,(i32)::core::convert::Into::into(index))
237        }
238    }
239    #[doc = "`GetText(::unity::Il2CppString)` overload"]
240    fn get_text(self, str_label: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::IntPtr {
241        unsafe {
242            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
243            ::unity::il2cpp_call!((::unity::module_base()+0x1e976c0usize)as*mut u8, ::unity::IntPtr;
244(BinMsgFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(str_label))
245        }
246    }
247    #[doc = "`GetText(i32)` overload"]
248    fn get_text_2(self, index: impl ::core::convert::Into<i32>) -> ::unity::IntPtr {
249        unsafe {
250            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
251            ::unity::il2cpp_call!((::unity::module_base()+0x1e97770usize)as*mut u8, ::unity::IntPtr;
252(BinMsgFile)__receiver,(i32)::core::convert::Into::into(index))
253        }
254    }
255    #[doc = "`.ctor()` overload"]
256    fn ctor(self) -> () {
257        unsafe {
258            let __receiver = <BinMsgFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
259            ::unity::il2cpp_call!((::unity::module_base()+0x1e97820usize)as*mut u8,();
260(BinMsgFile)__receiver)
261        }
262    }
263}
264
265#[cfg(feature = "nintendo-message_studio-lib-binmsgfile")]
266impl<__T: IBinMsgFile> IBinMsgFileMethods for __T {}
267
268#[cfg(feature = "nintendo-message_studio-lib-binmsgfile")]
269impl BinMsgFile {
270    pub fn init_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
271        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
272    }
273
274    pub fn close_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
275        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
276    }
277
278    pub fn search_message_block_method_info() -> &'static ::unity::il2cpp::MethodInfo {
279        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
280    }
281
282    pub fn get_block_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
283        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
284    }
285
286    pub fn get_attributes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
287        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
288    }
289
290    pub fn get_attributes_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
291        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
292    }
293
294    pub fn get_int8_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
295        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
296    }
297
298    pub fn get_u_int8_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
299        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
300    }
301
302    pub fn get_int16_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
303        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
304    }
305
306    pub fn get_u_int16_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
307        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
308    }
309
310    pub fn get_int32_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
311        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
312    }
313
314    pub fn get_u_int32_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
315        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
316    }
317
318    pub fn get_float_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
319        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
320    }
321
322    pub fn get_double_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
323        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
324    }
325
326    pub fn get_string_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
327        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
328    }
329
330    pub fn get_list_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
331        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
332    }
333
334    pub fn get_style_method_info() -> &'static ::unity::il2cpp::MethodInfo {
335        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
336    }
337
338    pub fn get_style_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
339        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
340    }
341
342    pub fn get_label_method_info() -> &'static ::unity::il2cpp::MethodInfo {
343        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
344    }
345
346    pub fn get_text_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
347        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
348    }
349
350    pub fn get_text_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
351        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
352    }
353
354    pub fn get_text_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
355        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
356    }
357
358    pub fn get_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
359        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
360    }
361
362    pub fn get_text_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
363        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
364    }
365
366    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
367        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
368    }
369}
370
371#[cfg(feature = "nintendo-message_studio-lib-binmsgfile")]
372impl BinMsgFile {
373    #[doc = "Direct (non-virtual) call to `BinMsgFile`'s own `InitObject`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
374    pub unsafe fn init_object(this: impl ::core::convert::Into<::unity::IlInstance>, resource_ptr: ::unity::IntPtr) -> ::unity::IntPtr {
375        let __mi = Self::init_object_method_info();
376        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> ::unity::IntPtr =
377            ::core::mem::transmute(__mi.method_ptr);
378        __inner(this.into(), resource_ptr, ::core::option::Option::None)
379    }
380
381    #[doc = "Direct (non-virtual) call to `BinMsgFile`'s own `CloseObject`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
382    pub unsafe fn close_object(this: impl ::core::convert::Into<::unity::IlInstance>, object_ptr: ::unity::IntPtr) -> () {
383        let __mi = Self::close_object_method_info();
384        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
385        __inner(this.into(), object_ptr, ::core::option::Option::None)
386    }
387}
388
389#[cfg(feature = "nintendo-message_studio-lib-binmsgfile")]
390impl BinMsgFile {
391    #[doc = "`.ctor()` — no args"]
392    pub fn new() -> Self {
393        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
394            panic!(
395                "{}
396::{}
397 failed to instantiate",
398                ::core::stringify!(BinMsgFile),
399                ::core::stringify!(new),
400            )
401        });
402        <Self as IBinMsgFileMethods>::ctor(this);
403        this
404    }
405}
406
407#[cfg(feature = "nintendo-message_studio-lib-binmsgfile")]
408#[doc(hidden)]
409pub mod prelude {
410    pub use super::{BinMsgFile, IBinMsgFile, IBinMsgFileMethods};
411    #[cfg(feature = "nintendo-message_studio-lib-binlibmsfilebase")]
412    pub use crate::nintendo::message_studio::lib::binlibmsfilebase::IBinLibmsFileBaseMethods;
413    #[cfg(feature = "system-object")]
414    pub use crate::system::object::IObjectMethods;
415    pub use crate::{nintendo::message_studio::lib::binlibmsfilebase::IBinLibmsFileBase, system::object::IObject};
416}