Skip to main content

engage/generated/root/
akbasepathgetter.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-akbasepathgetter-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/root/akbasepathgetter/AkBasePathGetter.md"))]
11    #[::unity::class(namespace = "", name = "AkBasePathGetter")]
12    #[parent(crate::system::object::Object)]
13    pub struct AkBasePathGetter {
14        #[static_field]
15        #[rename(name = "DefaultBasePath")]
16        pub default_base_path: ::unity::Il2CppString,
17        #[static_field]
18        #[rename(name = "LogWarnings_Internal")]
19        pub log_warnings_internal: bool,
20        #[static_field]
21        #[rename(name = "DecodedBankFolder")]
22        pub decoded_bank_folder: ::unity::Il2CppString,
23        #[static_field]
24        #[rename(name = "DefaultPlatformName")]
25        pub default_platform_name: ::unity::Il2CppString,
26    }
27}
28
29#[cfg(feature = "root-akbasepathgetter-types")]
30pub use __types::*;
31
32#[cfg(feature = "root-akbasepathgetter")]
33impl AkBasePathGetter {
34    #[doc = "`GetPlatformName()` overload"]
35    pub fn get_platform_name() -> ::unity::Il2CppString {
36        unsafe {
37            ::unity::il2cpp_call!((::unity::module_base()+0x2bd2fe0usize)as*mut u8, ::unity::Il2CppString;
38            )
39        }
40    }
41
42    #[doc = "`get_LogWarnings()` overload"]
43    pub fn get_log_warnings() -> bool {
44        unsafe {
45            ::unity::il2cpp_call!((::unity::module_base()+0x2bd3080usize)as*mut u8,bool;
46            )
47        }
48    }
49
50    #[doc = "`set_LogWarnings(bool)` overload"]
51    pub fn set_log_warnings(value: impl ::core::convert::Into<bool>) -> () {
52        unsafe {
53            ::unity::il2cpp_call!((::unity::module_base()+0x2bd30f0usize)as*mut u8,();
54(bool)::core::convert::Into::into(value))
55        }
56    }
57
58    #[doc = "`GetPlatformBasePath()` overload"]
59    pub fn get_platform_base_path() -> ::unity::Il2CppString {
60        unsafe {
61            ::unity::il2cpp_call!((::unity::module_base()+0x2bd3170usize)as*mut u8, ::unity::Il2CppString;
62            )
63        }
64    }
65
66    #[doc = "`EvaluateGamePaths()` overload"]
67    pub fn evaluate_game_paths() -> () {
68        unsafe {
69            ::unity::il2cpp_call!((::unity::module_base()+0x2bd3380usize)as*mut u8,();
70            )
71        }
72    }
73
74    #[doc = "`get_SoundBankBasePath()` overload"]
75    pub fn get_sound_bank_base_path() -> ::unity::Il2CppString {
76        unsafe {
77            ::unity::il2cpp_call!((::unity::module_base()+0x2bd38a0usize)as*mut u8, ::unity::Il2CppString;
78            )
79        }
80    }
81
82    #[doc = "`set_SoundBankBasePath(::unity::Il2CppString)` overload"]
83    pub fn set_sound_bank_base_path(value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
84        unsafe {
85            ::unity::il2cpp_call!((::unity::module_base()+0x2bd3910usize)as*mut u8,();
86(::unity::Il2CppString)::core::convert::Into::into(value))
87        }
88    }
89
90    #[doc = "`get_PersistentDataPath()` overload"]
91    pub fn get_persistent_data_path() -> ::unity::Il2CppString {
92        unsafe {
93            ::unity::il2cpp_call!((::unity::module_base()+0x2bd3990usize)as*mut u8, ::unity::Il2CppString;
94            )
95        }
96    }
97
98    #[doc = "`set_PersistentDataPath(::unity::Il2CppString)` overload"]
99    pub fn set_persistent_data_path(value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
100        unsafe {
101            ::unity::il2cpp_call!((::unity::module_base()+0x2bd3a00usize)as*mut u8,();
102(::unity::Il2CppString)::core::convert::Into::into(value))
103        }
104    }
105
106    #[doc = "`get_DecodedBankFullPath()` overload"]
107    pub fn get_decoded_bank_full_path() -> ::unity::Il2CppString {
108        unsafe {
109            ::unity::il2cpp_call!((::unity::module_base()+0x2bd3a80usize)as*mut u8, ::unity::Il2CppString;
110            )
111        }
112    }
113
114    #[doc = "`set_DecodedBankFullPath(::unity::Il2CppString)` overload"]
115    pub fn set_decoded_bank_full_path(value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
116        unsafe {
117            ::unity::il2cpp_call!((::unity::module_base()+0x2bd3af0usize)as*mut u8,();
118(::unity::Il2CppString)::core::convert::Into::into(value))
119        }
120    }
121
122    #[doc = "`.cctor()` overload"]
123    pub fn cctor() -> () {
124        unsafe {
125            ::unity::il2cpp_call!((::unity::module_base()+0x2bd3b80usize)as*mut u8,();
126            )
127        }
128    }
129}
130
131#[cfg(feature = "root-akbasepathgetter")]
132pub trait IAkBasePathGetterMethods: IAkBasePathGetter {
133    #[doc = "`.ctor()` overload"]
134    fn ctor(self) -> () {
135        unsafe {
136            let __receiver = <AkBasePathGetter as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137            ::unity::il2cpp_call!((::unity::module_base()+0x2bd3b70usize)as*mut u8,();
138(AkBasePathGetter)__receiver)
139        }
140    }
141}
142
143#[cfg(feature = "root-akbasepathgetter")]
144impl<__T: IAkBasePathGetter> IAkBasePathGetterMethods for __T {}
145
146#[cfg(feature = "root-akbasepathgetter")]
147impl AkBasePathGetter {
148    pub fn get_platform_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
149        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
150    }
151
152    pub fn get_log_warnings_method_info() -> &'static ::unity::il2cpp::MethodInfo {
153        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
154    }
155
156    pub fn set_log_warnings_method_info() -> &'static ::unity::il2cpp::MethodInfo {
157        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
158    }
159
160    pub fn get_platform_base_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
161        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
162    }
163
164    pub fn evaluate_game_paths_method_info() -> &'static ::unity::il2cpp::MethodInfo {
165        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
166    }
167
168    pub fn get_sound_bank_base_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
169        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
170    }
171
172    pub fn set_sound_bank_base_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
173        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
174    }
175
176    pub fn get_persistent_data_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
177        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
178    }
179
180    pub fn set_persistent_data_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
181        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
182    }
183
184    pub fn get_decoded_bank_full_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
185        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
186    }
187
188    pub fn set_decoded_bank_full_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
189        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
190    }
191
192    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
193        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
194    }
195
196    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
197        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
198    }
199}
200
201#[cfg(feature = "root-akbasepathgetter")]
202impl AkBasePathGetter {
203    #[doc = "`.ctor()` — no args"]
204    pub fn new() -> Self {
205        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
206            panic!(
207                "{}
208::{}
209 failed to instantiate",
210                ::core::stringify!(AkBasePathGetter),
211                ::core::stringify!(new),
212            )
213        });
214        <Self as IAkBasePathGetterMethods>::ctor(this);
215        this
216    }
217}
218
219#[cfg(feature = "root-akbasepathgetter")]
220#[doc(hidden)]
221pub mod prelude {
222    pub use super::{AkBasePathGetter, IAkBasePathGetter, IAkBasePathGetterMethods};
223    pub use crate::system::object::IObject;
224    #[cfg(feature = "system-object")]
225    pub use crate::system::object::IObjectMethods;
226}