Skip to main content

engage/generated/app/
debugcommandlinerom.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-debugcommandlinerom-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/debugcommandlinerom/DebugCommandlineRom.md"))]
11    #[::unity::class(namespace = "App", name = "DebugCommandlineRom")]
12    #[parent(crate::system::object::Object)]
13    pub struct DebugCommandlineRom {
14        #[static_field]
15        #[rename(name = "s_Options")]
16        pub s_options: crate::app::debugcommandlinerom::DebugCommandlineRom_Options,
17    }
18
19    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/debugcommandlinerom/DebugCommandlineRom_Options.md"))]
20    #[::unity::class(namespace = "App", name = "DebugCommandlineRom.Options")]
21    #[parent(crate::system::object::Object)]
22    pub struct DebugCommandlineRom_Options {}
23}
24
25#[cfg(feature = "app-debugcommandlinerom-types")]
26pub use __types::*;
27
28#[cfg(feature = "app-debugcommandlinerom")]
29impl DebugCommandlineRom {
30    #[doc = "`Initialize()` overload"]
31    pub fn initialize() -> () {
32        unsafe {
33            ::unity::il2cpp_call!((::unity::module_base()+0x2a02990usize)as*mut u8,();
34            )
35        }
36    }
37
38    #[doc = "`get_SaveDataRootPath()` overload"]
39    pub fn get_save_data_root_path() -> ::unity::Il2CppString {
40        unsafe {
41            ::unity::il2cpp_call!((::unity::module_base()+0x2a029a0usize)as*mut u8, ::unity::Il2CppString;
42            )
43        }
44    }
45
46    #[doc = "`get_RelayDataRootPath()` overload"]
47    pub fn get_relay_data_root_path() -> ::unity::Il2CppString {
48        unsafe {
49            ::unity::il2cpp_call!((::unity::module_base()+0x2a029b0usize)as*mut u8, ::unity::Il2CppString;
50            )
51        }
52    }
53
54    #[doc = "`get_VersusDataRootPath()` overload"]
55    pub fn get_versus_data_root_path() -> ::unity::Il2CppString {
56        unsafe {
57            ::unity::il2cpp_call!((::unity::module_base()+0x2a029c0usize)as*mut u8, ::unity::Il2CppString;
58            )
59        }
60    }
61
62    #[doc = "`get_IsAutoPlay()` overload"]
63    pub fn get_is_auto_play() -> bool {
64        unsafe {
65            ::unity::il2cpp_call!((::unity::module_base()+0x2a029d0usize)as*mut u8,bool;
66            )
67        }
68    }
69}
70
71#[cfg(feature = "app-debugcommandlinerom")]
72pub trait IDebugCommandlineRomMethods: IDebugCommandlineRom {
73    #[doc = "`.ctor()` overload"]
74    fn ctor(self) -> () {
75        unsafe {
76            let __receiver = <DebugCommandlineRom as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
77            ::unity::il2cpp_call!((::unity::module_base()+0x2a029e0usize)as*mut u8,();
78(DebugCommandlineRom)__receiver)
79        }
80    }
81}
82
83#[cfg(feature = "app-debugcommandlinerom")]
84impl<__T: IDebugCommandlineRom> IDebugCommandlineRomMethods for __T {}
85
86#[cfg(feature = "app-debugcommandlinerom")]
87impl DebugCommandlineRom {
88    pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
89        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
90    }
91
92    pub fn get_save_data_root_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
93        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
94    }
95
96    pub fn get_relay_data_root_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
97        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
98    }
99
100    pub fn get_versus_data_root_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
101        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
102    }
103
104    pub fn get_is_auto_play_method_info() -> &'static ::unity::il2cpp::MethodInfo {
105        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
106    }
107
108    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
109        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
110    }
111}
112
113#[cfg(feature = "app-debugcommandlinerom")]
114impl DebugCommandlineRom {
115    #[doc = "`.ctor()` — no args"]
116    pub fn new() -> Self {
117        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
118            panic!(
119                "{}
120::{}
121 failed to instantiate",
122                ::core::stringify!(DebugCommandlineRom),
123                ::core::stringify!(new),
124            )
125        });
126        <Self as IDebugCommandlineRomMethods>::ctor(this);
127        this
128    }
129}
130
131#[cfg(feature = "app-debugcommandlinerom")]
132pub trait IDebugCommandlineRom_OptionsMethods: IDebugCommandlineRom_Options {
133    #[doc = "`get_SaveDataRootPath()` overload"]
134    fn get_save_data_root_path(self) -> ::unity::Il2CppString {
135        unsafe {
136            let __receiver =
137                <DebugCommandlineRom_Options as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
138            ::unity::il2cpp_call!((::unity::module_base()+0x19d4370usize)as*mut u8, ::unity::Il2CppString;
139(DebugCommandlineRom_Options)__receiver)
140        }
141    }
142    #[doc = "`set_SaveDataRootPath(::unity::Il2CppString)` overload"]
143    fn set_save_data_root_path(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
144        unsafe {
145            let __receiver =
146                <DebugCommandlineRom_Options as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147            ::unity::il2cpp_call!((::unity::module_base()+0x19d4380usize)as*mut u8,();
148(DebugCommandlineRom_Options)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
149        }
150    }
151    #[doc = "`get_RelayDataRootPath()` overload"]
152    fn get_relay_data_root_path(self) -> ::unity::Il2CppString {
153        unsafe {
154            let __receiver =
155                <DebugCommandlineRom_Options as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
156            ::unity::il2cpp_call!((::unity::module_base()+0x19d4390usize)as*mut u8, ::unity::Il2CppString;
157(DebugCommandlineRom_Options)__receiver)
158        }
159    }
160    #[doc = "`set_RelayDataRootPath(::unity::Il2CppString)` overload"]
161    fn set_relay_data_root_path(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
162        unsafe {
163            let __receiver =
164                <DebugCommandlineRom_Options as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
165            ::unity::il2cpp_call!((::unity::module_base()+0x19d43a0usize)as*mut u8,();
166(DebugCommandlineRom_Options)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
167        }
168    }
169    #[doc = "`get_VersusDataRootPath()` overload"]
170    fn get_versus_data_root_path(self) -> ::unity::Il2CppString {
171        unsafe {
172            let __receiver =
173                <DebugCommandlineRom_Options as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
174            ::unity::il2cpp_call!((::unity::module_base()+0x19d43b0usize)as*mut u8, ::unity::Il2CppString;
175(DebugCommandlineRom_Options)__receiver)
176        }
177    }
178    #[doc = "`set_VersusDataRootPath(::unity::Il2CppString)` overload"]
179    fn set_versus_data_root_path(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
180        unsafe {
181            let __receiver =
182                <DebugCommandlineRom_Options as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
183            ::unity::il2cpp_call!((::unity::module_base()+0x19d43c0usize)as*mut u8,();
184(DebugCommandlineRom_Options)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
185        }
186    }
187    #[doc = "`get_IsAutoPlay()` overload"]
188    fn get_is_auto_play(self) -> bool {
189        unsafe {
190            let __receiver =
191                <DebugCommandlineRom_Options as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
192            ::unity::il2cpp_call!((::unity::module_base()+0x19d43d0usize)as*mut u8,bool;
193(DebugCommandlineRom_Options)__receiver)
194        }
195    }
196    #[doc = "`set_IsAutoPlay(bool)` overload"]
197    fn set_is_auto_play(self, value: impl ::core::convert::Into<bool>) -> () {
198        unsafe {
199            let __receiver =
200                <DebugCommandlineRom_Options as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201            ::unity::il2cpp_call!((::unity::module_base()+0x19d43e0usize)as*mut u8,();
202(DebugCommandlineRom_Options)__receiver,(bool)::core::convert::Into::into(value))
203        }
204    }
205    #[doc = "`.ctor()` overload"]
206    fn ctor(self) -> () {
207        unsafe {
208            let __receiver =
209                <DebugCommandlineRom_Options as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
210            ::unity::il2cpp_call!((::unity::module_base()+0x19d43f0usize)as*mut u8,();
211(DebugCommandlineRom_Options)__receiver)
212        }
213    }
214}
215
216#[cfg(feature = "app-debugcommandlinerom")]
217impl<__T: IDebugCommandlineRom_Options> IDebugCommandlineRom_OptionsMethods for __T {}
218
219#[cfg(feature = "app-debugcommandlinerom")]
220impl DebugCommandlineRom_Options {
221    pub fn get_save_data_root_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
223    }
224
225    pub fn set_save_data_root_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
226        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
227    }
228
229    pub fn get_relay_data_root_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
231    }
232
233    pub fn set_relay_data_root_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
234        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
235    }
236
237    pub fn get_versus_data_root_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
238        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
239    }
240
241    pub fn set_versus_data_root_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
242        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
243    }
244
245    pub fn get_is_auto_play_method_info() -> &'static ::unity::il2cpp::MethodInfo {
246        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
247    }
248
249    pub fn set_is_auto_play_method_info() -> &'static ::unity::il2cpp::MethodInfo {
250        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
251    }
252
253    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
254        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
255    }
256}
257
258#[cfg(feature = "app-debugcommandlinerom")]
259impl DebugCommandlineRom_Options {
260    #[doc = "`.ctor()` — no args"]
261    pub fn new() -> Self {
262        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
263            panic!(
264                "{}
265::{}
266 failed to instantiate",
267                ::core::stringify!(DebugCommandlineRom_Options),
268                ::core::stringify!(new),
269            )
270        });
271        <Self as IDebugCommandlineRom_OptionsMethods>::ctor(this);
272        this
273    }
274}
275
276#[cfg(feature = "app-debugcommandlinerom")]
277#[doc(hidden)]
278pub mod prelude {
279    pub use super::{
280        DebugCommandlineRom, DebugCommandlineRom_Options, IDebugCommandlineRom, IDebugCommandlineRomMethods, IDebugCommandlineRom_Options,
281        IDebugCommandlineRom_OptionsMethods,
282    };
283    pub use crate::system::object::IObject;
284    #[cfg(feature = "system-object")]
285    pub use crate::system::object::IObjectMethods;
286}