Skip to main content

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

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "nintendo-message_studio-lib-binprjfile-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/binprjfile/BinPrjFile.md"))]
14    #[::unity::class(namespace = "Nintendo.MessageStudio.Lib", name = "BinPrjFile")]
15    #[parent(crate::nintendo::message_studio::lib::binlibmsfilebase::BinLibmsFileBase)]
16    pub struct BinPrjFile {}
17}
18
19#[cfg(feature = "nintendo-message_studio-lib-binprjfile-types")]
20pub use __types::*;
21
22#[cfg(feature = "nintendo-message_studio-lib-binprjfile")]
23pub trait IBinPrjFileMethods: IBinPrjFile {
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 = <BinPrjFile 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                        <BinPrjFile as ::unity::ClassIdentity>::NAME,
40                        "InitObject",
41                    )
42                });
43                let __inner: extern "C" fn(BinPrjFile, ::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 = <BinPrjFile 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                        <BinPrjFile as ::unity::ClassIdentity>::NAME,
66                        "CloseObject",
67                    )
68                });
69                let __inner: extern "C" fn(BinPrjFile, ::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 = "`SearchProjectBlock(::unity::Il2CppString)` overload"]
76    fn search_project_block(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
77        unsafe {
78            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
79            ::unity::il2cpp_call!((::unity::module_base()+0x1e97950usize)as*mut u8,i32;
80(BinPrjFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
81        }
82    }
83    #[doc = "`GetColorIndex(::unity::Il2CppString)` overload"]
84    fn get_color_index(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
85        unsafe {
86            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
87            ::unity::il2cpp_call!((::unity::module_base()+0x1e979d0usize)as*mut u8,i32;
88(BinPrjFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
89        }
90    }
91    #[doc = "`GetColor(i32)` overload"]
92    fn get_color(self, index: impl ::core::convert::Into<i32>) -> crate::nintendo::message_studio::lib::lmscolor::LMSColor {
93        unsafe {
94            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
95            ::unity::il2cpp_call!((::unity::module_base()+0x1e97a50usize)as*mut u8,crate::nintendo::message_studio::lib::lmscolor::LMSColor;
96(BinPrjFile)__receiver,(i32)::core::convert::Into::into(index))
97        }
98    }
99    #[doc = "`GetColor(::unity::Il2CppString)` overload"]
100    fn get_color_2(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::nintendo::message_studio::lib::lmscolor::LMSColor {
101        unsafe {
102            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
103            ::unity::il2cpp_call!((::unity::module_base()+0x1e97ae0usize)as*mut u8,crate::nintendo::message_studio::lib::lmscolor::LMSColor;
104(BinPrjFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
105        }
106    }
107    #[doc = "`GetColorNum()` overload"]
108    fn get_color_num(self) -> i32 {
109        unsafe {
110            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
111            ::unity::il2cpp_call!((::unity::module_base()+0x1e97b70usize)as*mut u8,i32;
112(BinPrjFile)__receiver)
113        }
114    }
115    #[doc = "`GetContentsNum()` overload"]
116    fn get_contents_num(self) -> i32 {
117        unsafe {
118            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119            ::unity::il2cpp_call!((::unity::module_base()+0x1e97be0usize)as*mut u8,i32;
120(BinPrjFile)__receiver)
121        }
122    }
123    #[doc = "`GetContentPath(i32)` overload"]
124    fn get_content_path(self, index: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
125        unsafe {
126            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127            ::unity::il2cpp_call!((::unity::module_base()+0x1e97c50usize)as*mut u8, ::unity::Il2CppString;
128(BinPrjFile)__receiver,(i32)::core::convert::Into::into(index))
129        }
130    }
131    #[doc = "`GetAttrInfoIndex(::unity::Il2CppString)` overload"]
132    fn get_attr_info_index(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
133        unsafe {
134            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
135            ::unity::il2cpp_call!((::unity::module_base()+0x1e97d10usize)as*mut u8,i32;
136(BinPrjFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
137        }
138    }
139    #[doc = "`GetAttrType(i32)` overload"]
140    fn get_attr_type(self, index: impl ::core::convert::Into<i32>) -> crate::nintendo::message_studio::lib::libmstype::LibmsType {
141        unsafe {
142            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
143            ::unity::il2cpp_call!((::unity::module_base()+0x1e97d90usize)as*mut u8,crate::nintendo::message_studio::lib::libmstype::LibmsType;
144(BinPrjFile)__receiver,(i32)::core::convert::Into::into(index))
145        }
146    }
147    #[doc = "`GetAttrType(::unity::Il2CppString)` overload"]
148    fn get_attr_type_2(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::nintendo::message_studio::lib::libmstype::LibmsType {
149        unsafe {
150            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151            ::unity::il2cpp_call!((::unity::module_base()+0x1e97e10usize)as*mut u8,crate::nintendo::message_studio::lib::libmstype::LibmsType;
152(BinPrjFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
153        }
154    }
155    #[doc = "`GetAttrOffset(i32)` overload"]
156    fn get_attr_offset(self, index: impl ::core::convert::Into<i32>) -> i32 {
157        unsafe {
158            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
159            ::unity::il2cpp_call!((::unity::module_base()+0x1e97e90usize)as*mut u8,i32;
160(BinPrjFile)__receiver,(i32)::core::convert::Into::into(index))
161        }
162    }
163    #[doc = "`GetAttrOffset(::unity::Il2CppString)` overload"]
164    fn get_attr_offset_2(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
165        unsafe {
166            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
167            ::unity::il2cpp_call!((::unity::module_base()+0x1e97f10usize)as*mut u8,i32;
168(BinPrjFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
169        }
170    }
171    #[doc = "`GetAttrListItemName(i32, i32)` overload"]
172    fn get_attr_list_item_name(
173        self,
174        attr_index: impl ::core::convert::Into<i32>,
175        item_index: impl ::core::convert::Into<i32>,
176    ) -> ::unity::Il2CppString {
177        unsafe {
178            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
179            ::unity::il2cpp_call!((::unity::module_base()+0x1e97f90usize)as*mut u8, ::unity::Il2CppString;
180(BinPrjFile)__receiver,(i32)::core::convert::Into::into(attr_index),(i32)::core::convert::Into::into(item_index))
181        }
182    }
183    #[doc = "`GetAttrListItemName(::unity::Il2CppString, i32)` overload"]
184    fn get_attr_list_item_name_2(
185        self,
186        attr_name: impl ::core::convert::Into<::unity::Il2CppString>,
187        item_index: impl ::core::convert::Into<i32>,
188    ) -> ::unity::Il2CppString {
189        unsafe {
190            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
191            ::unity::il2cpp_call!((::unity::module_base()+0x1e98060usize)as*mut u8, ::unity::Il2CppString;
192(BinPrjFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(attr_name),(i32)::core::convert::Into::into(item_index))
193        }
194    }
195    #[doc = "`GetAttrNum()` overload"]
196    fn get_attr_num(self) -> i32 {
197        unsafe {
198            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
199            ::unity::il2cpp_call!((::unity::module_base()+0x1e98130usize)as*mut u8,i32;
200(BinPrjFile)__receiver)
201        }
202    }
203    #[doc = "`GetAttrListItemNum(i32)` overload"]
204    fn get_attr_list_item_num(self, attr_index: impl ::core::convert::Into<i32>) -> i32 {
205        unsafe {
206            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
207            ::unity::il2cpp_call!((::unity::module_base()+0x1e981a0usize)as*mut u8,i32;
208(BinPrjFile)__receiver,(i32)::core::convert::Into::into(attr_index))
209        }
210    }
211    #[doc = "`GetTagGroupName(u16)` overload"]
212    fn get_tag_group_name(self, group_id: impl ::core::convert::Into<u16>) -> ::unity::Il2CppString {
213        unsafe {
214            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
215            ::unity::il2cpp_call!((::unity::module_base()+0x1e98220usize)as*mut u8, ::unity::Il2CppString;
216(BinPrjFile)__receiver,(u16)::core::convert::Into::into(group_id))
217        }
218    }
219    #[doc = "`GetTagName(u16, u16)` overload"]
220    fn get_tag_name(self, group_id: impl ::core::convert::Into<u16>, tag_id: impl ::core::convert::Into<u16>) -> ::unity::Il2CppString {
221        unsafe {
222            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
223            ::unity::il2cpp_call!((::unity::module_base()+0x1e982e0usize)as*mut u8, ::unity::Il2CppString;
224(BinPrjFile)__receiver,(u16)::core::convert::Into::into(group_id),(u16)::core::convert::Into::into(tag_id))
225        }
226    }
227    #[doc = "`GetTagParamName(u16, u16, u16)` overload"]
228    fn get_tag_param_name(
229        self,
230        group_id: impl ::core::convert::Into<u16>,
231        tag_id: impl ::core::convert::Into<u16>,
232        param_id: impl ::core::convert::Into<u16>,
233    ) -> ::unity::Il2CppString {
234        unsafe {
235            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
236            ::unity::il2cpp_call!((::unity::module_base()+0x1e983b0usize)as*mut u8, ::unity::Il2CppString;
237(BinPrjFile)__receiver,(u16)::core::convert::Into::into(group_id),(u16)::core::convert::Into::into(tag_id),(u16)::core::convert::Into::into(param_id))
238        }
239    }
240    #[doc = "`GetTagParamType(u16, u16, u16)` overload"]
241    fn get_tag_param_type(
242        self,
243        group_id: impl ::core::convert::Into<u16>,
244        tag_id: impl ::core::convert::Into<u16>,
245        param_id: impl ::core::convert::Into<u16>,
246    ) -> crate::nintendo::message_studio::lib::libmstype::LibmsType {
247        unsafe {
248            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
249            ::unity::il2cpp_call!((::unity::module_base()+0x1e98480usize)as*mut u8,crate::nintendo::message_studio::lib::libmstype::LibmsType;
250(BinPrjFile)__receiver,(u16)::core::convert::Into::into(group_id),(u16)::core::convert::Into::into(tag_id),(u16)::core::convert::Into::into(param_id))
251        }
252    }
253    #[doc = "`GetTagListItemName(u16, u16, u16, u16)` overload"]
254    fn get_tag_list_item_name(
255        self,
256        group_id: impl ::core::convert::Into<u16>,
257        tag_id: impl ::core::convert::Into<u16>,
258        param_id: impl ::core::convert::Into<u16>,
259        item_index: impl ::core::convert::Into<u16>,
260    ) -> ::unity::Il2CppString {
261        unsafe {
262            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
263            ::unity::il2cpp_call!((::unity::module_base()+0x1e98510usize)as*mut u8, ::unity::Il2CppString;
264(BinPrjFile)__receiver,(u16)::core::convert::Into::into(group_id),(u16)::core::convert::Into::into(tag_id),(u16)::core::convert::Into::into(param_id),(u16)::core::convert::Into::into(item_index))
265        }
266    }
267    #[doc = "`GetTagGroupNum()` overload"]
268    fn get_tag_group_num(self) -> i32 {
269        unsafe {
270            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
271            ::unity::il2cpp_call!((::unity::module_base()+0x1e985f0usize)as*mut u8,i32;
272(BinPrjFile)__receiver)
273        }
274    }
275    #[doc = "`GetTagNum(u16)` overload"]
276    fn get_tag_num(self, group_id: impl ::core::convert::Into<u16>) -> i32 {
277        unsafe {
278            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
279            ::unity::il2cpp_call!((::unity::module_base()+0x1e98660usize)as*mut u8,i32;
280(BinPrjFile)__receiver,(u16)::core::convert::Into::into(group_id))
281        }
282    }
283    #[doc = "`GetTagParamNum(u16, u16)` overload"]
284    fn get_tag_param_num(self, group_id: impl ::core::convert::Into<u16>, tag_id: impl ::core::convert::Into<u16>) -> i32 {
285        unsafe {
286            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
287            ::unity::il2cpp_call!((::unity::module_base()+0x1e986e0usize)as*mut u8,i32;
288(BinPrjFile)__receiver,(u16)::core::convert::Into::into(group_id),(u16)::core::convert::Into::into(tag_id))
289        }
290    }
291    #[doc = "`GetTagListItemNum(u16, u16, u16)` overload"]
292    fn get_tag_list_item_num(
293        self,
294        group_id: impl ::core::convert::Into<u16>,
295        tag_id: impl ::core::convert::Into<u16>,
296        param_id: impl ::core::convert::Into<u16>,
297    ) -> i32 {
298        unsafe {
299            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
300            ::unity::il2cpp_call!((::unity::module_base()+0x1e98770usize)as*mut u8,i32;
301(BinPrjFile)__receiver,(u16)::core::convert::Into::into(group_id),(u16)::core::convert::Into::into(tag_id),(u16)::core::convert::Into::into(param_id))
302        }
303    }
304    #[doc = "`GetStyleIndex(::unity::Il2CppString)` overload"]
305    fn get_style_index(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
306        unsafe {
307            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
308            ::unity::il2cpp_call!((::unity::module_base()+0x1e98800usize)as*mut u8,i32;
309(BinPrjFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
310        }
311    }
312    #[doc = "`GetRegionWidth(i32)` overload"]
313    fn get_region_width(self, index: impl ::core::convert::Into<i32>) -> i32 {
314        unsafe {
315            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
316            ::unity::il2cpp_call!((::unity::module_base()+0x1e98880usize)as*mut u8,i32;
317(BinPrjFile)__receiver,(i32)::core::convert::Into::into(index))
318        }
319    }
320    #[doc = "`GetRegionWidth(::unity::Il2CppString)` overload"]
321    fn get_region_width_2(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
322        unsafe {
323            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
324            ::unity::il2cpp_call!((::unity::module_base()+0x1e98900usize)as*mut u8,i32;
325(BinPrjFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
326        }
327    }
328    #[doc = "`GetLineNum(i32)` overload"]
329    fn get_line_num(self, index: impl ::core::convert::Into<i32>) -> i32 {
330        unsafe {
331            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
332            ::unity::il2cpp_call!((::unity::module_base()+0x1e98980usize)as*mut u8,i32;
333(BinPrjFile)__receiver,(i32)::core::convert::Into::into(index))
334        }
335    }
336    #[doc = "`GetLineNum(::unity::Il2CppString)` overload"]
337    fn get_line_num_2(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
338        unsafe {
339            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
340            ::unity::il2cpp_call!((::unity::module_base()+0x1e98a00usize)as*mut u8,i32;
341(BinPrjFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
342        }
343    }
344    #[doc = "`GetFontIndex(i32)` overload"]
345    fn get_font_index(self, index: impl ::core::convert::Into<i32>) -> i32 {
346        unsafe {
347            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
348            ::unity::il2cpp_call!((::unity::module_base()+0x1e98a80usize)as*mut u8,i32;
349(BinPrjFile)__receiver,(i32)::core::convert::Into::into(index))
350        }
351    }
352    #[doc = "`GetFontIndex(::unity::Il2CppString)` overload"]
353    fn get_font_index_2(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
354        unsafe {
355            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
356            ::unity::il2cpp_call!((::unity::module_base()+0x1e98b00usize)as*mut u8,i32;
357(BinPrjFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
358        }
359    }
360    #[doc = "`GetBaseColorIndex(i32)` overload"]
361    fn get_base_color_index(self, index: impl ::core::convert::Into<i32>) -> i32 {
362        unsafe {
363            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
364            ::unity::il2cpp_call!((::unity::module_base()+0x1e98b80usize)as*mut u8,i32;
365(BinPrjFile)__receiver,(i32)::core::convert::Into::into(index))
366        }
367    }
368    #[doc = "`GetBaseColorIndex(::unity::Il2CppString)` overload"]
369    fn get_base_color_index_2(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
370        unsafe {
371            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
372            ::unity::il2cpp_call!((::unity::module_base()+0x1e98c00usize)as*mut u8,i32;
373(BinPrjFile)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
374        }
375    }
376    #[doc = "`GetStyleNum()` overload"]
377    fn get_style_num(self) -> i32 {
378        unsafe {
379            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
380            ::unity::il2cpp_call!((::unity::module_base()+0x1e98c80usize)as*mut u8,i32;
381(BinPrjFile)__receiver)
382        }
383    }
384    #[doc = "`.ctor()` overload"]
385    fn ctor(self) -> () {
386        unsafe {
387            let __receiver = <BinPrjFile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
388            ::unity::il2cpp_call!((::unity::module_base()+0x1e98cf0usize)as*mut u8,();
389(BinPrjFile)__receiver)
390        }
391    }
392}
393
394#[cfg(feature = "nintendo-message_studio-lib-binprjfile")]
395impl<__T: IBinPrjFile> IBinPrjFileMethods for __T {}
396
397#[cfg(feature = "nintendo-message_studio-lib-binprjfile")]
398impl BinPrjFile {
399    pub fn init_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
400        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
401    }
402
403    pub fn close_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
404        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
405    }
406
407    pub fn search_project_block_method_info() -> &'static ::unity::il2cpp::MethodInfo {
408        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
409    }
410
411    pub fn get_color_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
412        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
413    }
414
415    pub fn get_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
416        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
417    }
418
419    pub fn get_color_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
420        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
421    }
422
423    pub fn get_color_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
424        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
425    }
426
427    pub fn get_contents_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
428        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
429    }
430
431    pub fn get_content_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
432        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
433    }
434
435    pub fn get_attr_info_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
436        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
437    }
438
439    pub fn get_attr_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
440        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
441    }
442
443    pub fn get_attr_type_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
444        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
445    }
446
447    pub fn get_attr_offset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
448        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
449    }
450
451    pub fn get_attr_offset_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
452        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
453    }
454
455    pub fn get_attr_list_item_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
456        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
457    }
458
459    pub fn get_attr_list_item_name_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
460        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
461    }
462
463    pub fn get_attr_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
464        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
465    }
466
467    pub fn get_attr_list_item_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
468        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
469    }
470
471    pub fn get_tag_group_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
472        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
473    }
474
475    pub fn get_tag_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
476        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
477    }
478
479    pub fn get_tag_param_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
480        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
481    }
482
483    pub fn get_tag_param_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
484        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
485    }
486
487    pub fn get_tag_list_item_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
488        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
489    }
490
491    pub fn get_tag_group_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
492        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
493    }
494
495    pub fn get_tag_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
496        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
497    }
498
499    pub fn get_tag_param_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
500        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
501    }
502
503    pub fn get_tag_list_item_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
504        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
505    }
506
507    pub fn get_style_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
508        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
509    }
510
511    pub fn get_region_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
512        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
513    }
514
515    pub fn get_region_width_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
516        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
517    }
518
519    pub fn get_line_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
520        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
521    }
522
523    pub fn get_line_num_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
524        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
525    }
526
527    pub fn get_font_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
528        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
529    }
530
531    pub fn get_font_index_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
532        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
533    }
534
535    pub fn get_base_color_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
536        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
537    }
538
539    pub fn get_base_color_index_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
540        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
541    }
542
543    pub fn get_style_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
544        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
545    }
546
547    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
548        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
549    }
550}
551
552#[cfg(feature = "nintendo-message_studio-lib-binprjfile")]
553impl BinPrjFile {
554    #[doc = "Direct (non-virtual) call to `BinPrjFile`'s own `InitObject`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
555    pub unsafe fn init_object(this: impl ::core::convert::Into<::unity::IlInstance>, resource_ptr: ::unity::IntPtr) -> ::unity::IntPtr {
556        let __mi = Self::init_object_method_info();
557        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> ::unity::IntPtr =
558            ::core::mem::transmute(__mi.method_ptr);
559        __inner(this.into(), resource_ptr, ::core::option::Option::None)
560    }
561
562    #[doc = "Direct (non-virtual) call to `BinPrjFile`'s own `CloseObject`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
563    pub unsafe fn close_object(this: impl ::core::convert::Into<::unity::IlInstance>, object_ptr: ::unity::IntPtr) -> () {
564        let __mi = Self::close_object_method_info();
565        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
566        __inner(this.into(), object_ptr, ::core::option::Option::None)
567    }
568}
569
570#[cfg(feature = "nintendo-message_studio-lib-binprjfile")]
571impl BinPrjFile {
572    #[doc = "`.ctor()` — no args"]
573    pub fn new() -> Self {
574        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
575            panic!(
576                "{}
577::{}
578 failed to instantiate",
579                ::core::stringify!(BinPrjFile),
580                ::core::stringify!(new),
581            )
582        });
583        <Self as IBinPrjFileMethods>::ctor(this);
584        this
585    }
586}
587
588#[cfg(feature = "nintendo-message_studio-lib-binprjfile")]
589#[doc(hidden)]
590pub mod prelude {
591    pub use super::{BinPrjFile, IBinPrjFile, IBinPrjFileMethods};
592    #[cfg(feature = "nintendo-message_studio-lib-binlibmsfilebase")]
593    pub use crate::nintendo::message_studio::lib::binlibmsfilebase::IBinLibmsFileBaseMethods;
594    #[cfg(feature = "system-object")]
595    pub use crate::system::object::IObjectMethods;
596    pub use crate::{nintendo::message_studio::lib::binlibmsfilebase::IBinLibmsFileBase, system::object::IObject};
597}