Skip to main content

engage/generated/root/
akresult.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-akresult-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        r#enum::{Enum, IEnum},
11        valuetype::{IValueType, ValueType},
12    };
13
14    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akresult/AKRESULT.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17    pub struct AKRESULT {
18        pub value: i32,
19    }
20    impl ::unity::ClassIdentity for AKRESULT {
21        const NAME: &'static str = "AKRESULT";
22        const NAMESPACE: &'static str = "";
23
24        fn class() -> ::unity::Class {
25            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
26            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
27        }
28    }
29    impl ::unity::IlType for AKRESULT {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34    impl AKRESULT {
35        pub fn ak_not_implemented() -> Self {
36            Self { value: 0 }
37        }
38
39        pub fn ak_success() -> Self {
40            Self { value: 1 }
41        }
42
43        pub fn ak_fail() -> Self {
44            Self { value: 2 }
45        }
46
47        pub fn ak_partial_success() -> Self {
48            Self { value: 3 }
49        }
50
51        pub fn ak_not_compatible() -> Self {
52            Self { value: 4 }
53        }
54
55        pub fn ak_already_connected() -> Self {
56            Self { value: 5 }
57        }
58
59        pub fn ak_invalid_file() -> Self {
60            Self { value: 7 }
61        }
62
63        pub fn ak_audio_file_header_too_large() -> Self {
64            Self { value: 8 }
65        }
66
67        pub fn ak_max_reached() -> Self {
68            Self { value: 9 }
69        }
70
71        pub fn ak_invalid_id() -> Self {
72            Self { value: 14 }
73        }
74
75        pub fn ak_id_not_found() -> Self {
76            Self { value: 15 }
77        }
78
79        pub fn ak_invalid_instance_id() -> Self {
80            Self { value: 16 }
81        }
82
83        pub fn ak_no_more_data() -> Self {
84            Self { value: 17 }
85        }
86
87        pub fn ak_invalid_state_group() -> Self {
88            Self { value: 20 }
89        }
90
91        pub fn ak_child_already_has_a_parent() -> Self {
92            Self { value: 21 }
93        }
94
95        pub fn ak_invalid_language() -> Self {
96            Self { value: 22 }
97        }
98
99        pub fn ak_cannot_add_itsefl_as_a_child() -> Self {
100            Self { value: 23 }
101        }
102
103        pub fn ak_invalid_parameter() -> Self {
104            Self { value: 31 }
105        }
106
107        pub fn ak_element_already_in_list() -> Self {
108            Self { value: 35 }
109        }
110
111        pub fn ak_path_not_found() -> Self {
112            Self { value: 36 }
113        }
114
115        pub fn ak_path_no_vertices() -> Self {
116            Self { value: 37 }
117        }
118
119        pub fn ak_path_not_running() -> Self {
120            Self { value: 38 }
121        }
122
123        pub fn ak_path_not_paused() -> Self {
124            Self { value: 39 }
125        }
126
127        pub fn ak_path_node_already_in_list() -> Self {
128            Self { value: 40 }
129        }
130
131        pub fn ak_path_node_not_in_list() -> Self {
132            Self { value: 41 }
133        }
134
135        pub fn ak_data_needed() -> Self {
136            Self { value: 43 }
137        }
138
139        pub fn ak_no_data_needed() -> Self {
140            Self { value: 44 }
141        }
142
143        pub fn ak_data_ready() -> Self {
144            Self { value: 45 }
145        }
146
147        pub fn ak_no_data_ready() -> Self {
148            Self { value: 46 }
149        }
150
151        pub fn ak_insufficient_memory() -> Self {
152            Self { value: 52 }
153        }
154
155        pub fn ak_cancelled() -> Self {
156            Self { value: 53 }
157        }
158
159        pub fn ak_unknown_bank_id() -> Self {
160            Self { value: 54 }
161        }
162
163        pub fn ak_bank_read_error() -> Self {
164            Self { value: 56 }
165        }
166
167        pub fn ak_invalid_switch_type() -> Self {
168            Self { value: 57 }
169        }
170
171        pub fn ak_format_not_ready() -> Self {
172            Self { value: 63 }
173        }
174
175        pub fn ak_wrong_bank_version() -> Self {
176            Self { value: 64 }
177        }
178
179        pub fn ak_file_not_found() -> Self {
180            Self { value: 66 }
181        }
182
183        pub fn ak_device_not_ready() -> Self {
184            Self { value: 67 }
185        }
186
187        pub fn ak_bank_already_loaded() -> Self {
188            Self { value: 69 }
189        }
190
191        pub fn ak_rendered_fx() -> Self {
192            Self { value: 71 }
193        }
194
195        pub fn ak_process_needed() -> Self {
196            Self { value: 72 }
197        }
198
199        pub fn ak_process_done() -> Self {
200            Self { value: 73 }
201        }
202
203        pub fn ak_mem_manager_not_initialized() -> Self {
204            Self { value: 74 }
205        }
206
207        pub fn ak_stream_mgr_not_initialized() -> Self {
208            Self { value: 75 }
209        }
210
211        pub fn ak_sse_instructions_not_supported() -> Self {
212            Self { value: 76 }
213        }
214
215        pub fn ak_busy() -> Self {
216            Self { value: 77 }
217        }
218
219        pub fn ak_unsupported_channel_config() -> Self {
220            Self { value: 78 }
221        }
222
223        pub fn ak_plugin_media_not_available() -> Self {
224            Self { value: 79 }
225        }
226
227        pub fn ak_must_be_virtualized() -> Self {
228            Self { value: 80 }
229        }
230
231        pub fn ak_command_too_large() -> Self {
232            Self { value: 81 }
233        }
234
235        pub fn ak_rejected_by_filter() -> Self {
236            Self { value: 82 }
237        }
238
239        pub fn ak_invalid_custom_platform_name() -> Self {
240            Self { value: 83 }
241        }
242
243        pub fn ak_dll_cannot_load() -> Self {
244            Self { value: 84 }
245        }
246
247        pub fn ak_dll_path_not_found() -> Self {
248            Self { value: 85 }
249        }
250
251        pub fn ak_no_java_vm() -> Self {
252            Self { value: 86 }
253        }
254
255        pub fn ak_open_sl_error() -> Self {
256            Self { value: 87 }
257        }
258
259        pub fn ak_plugin_not_registered() -> Self {
260            Self { value: 88 }
261        }
262
263        pub fn ak_data_alignment_error() -> Self {
264            Self { value: 89 }
265        }
266
267        pub fn ak_device_not_compatible() -> Self {
268            Self { value: 90 }
269        }
270
271        pub fn ak_duplicate_unique_id() -> Self {
272            Self { value: 91 }
273        }
274
275        pub fn ak_init_bank_not_loaded() -> Self {
276            Self { value: 92 }
277        }
278
279        pub fn ak_device_not_found() -> Self {
280            Self { value: 93 }
281        }
282
283        pub fn ak_playing_id_not_found() -> Self {
284            Self { value: 94 }
285        }
286
287        pub fn ak_invalid_float_value() -> Self {
288            Self { value: 95 }
289        }
290
291        pub fn ak_file_format_mismatch() -> Self {
292            Self { value: 96 }
293        }
294
295        pub fn ak_no_distinct_listener() -> Self {
296            Self { value: 97 }
297        }
298
299        pub fn ak_acp_error() -> Self {
300            Self { value: 98 }
301        }
302
303        pub fn ak_resource_in_use() -> Self {
304            Self { value: 99 }
305        }
306    }
307}
308
309#[cfg(feature = "root-akresult-types")]
310pub use __types::*;
311
312#[cfg(feature = "root-akresult")]
313#[doc(hidden)]
314pub mod prelude {
315    pub use super::AKRESULT;
316    #[cfg(feature = "system-object")]
317    pub use crate::system::object::IObjectMethods;
318    #[cfg(feature = "system-enum")]
319    pub use crate::system::r#enum::IEnumMethods;
320    #[cfg(feature = "system-valuetype")]
321    pub use crate::system::valuetype::IValueTypeMethods;
322    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
323}