Skip to main content

engage/generated/root/
akmonitorerrorcode.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-akmonitorerrorcode-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/akmonitorerrorcode/AkMonitorErrorCode.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17    pub struct AkMonitorErrorCode {
18        pub value: i32,
19    }
20    impl ::unity::ClassIdentity for AkMonitorErrorCode {
21        const NAME: &'static str = "AkMonitorErrorCode";
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 AkMonitorErrorCode {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34    impl AkMonitorErrorCode {
35        pub fn error_code_no_error() -> Self {
36            Self { value: 0 }
37        }
38
39        pub fn error_code_file_not_found() -> Self {
40            Self { value: 1 }
41        }
42
43        pub fn error_code_cannot_open_file() -> Self {
44            Self { value: 2 }
45        }
46
47        pub fn error_code_cannot_start_stream_no_memory() -> Self {
48            Self { value: 3 }
49        }
50
51        pub fn error_code_io_device() -> Self {
52            Self { value: 4 }
53        }
54
55        pub fn error_code_incompatible_io_settings() -> Self {
56            Self { value: 5 }
57        }
58
59        pub fn error_code_plugin_unsupported_channel_configuration() -> Self {
60            Self { value: 6 }
61        }
62
63        pub fn error_code_plugin_media_unavailable() -> Self {
64            Self { value: 7 }
65        }
66
67        pub fn error_code_plugin_initialisation_failed() -> Self {
68            Self { value: 8 }
69        }
70
71        pub fn error_code_plugin_processing_failed() -> Self {
72            Self { value: 9 }
73        }
74
75        pub fn error_code_plugin_execution_invalid() -> Self {
76            Self { value: 10 }
77        }
78
79        pub fn error_code_plugin_allocation_failed() -> Self {
80            Self { value: 11 }
81        }
82
83        pub fn error_code_vorbis_seek_table_recommended() -> Self {
84            Self { value: 12 }
85        }
86
87        pub fn error_code_vorbis_decode_error() -> Self {
88            Self { value: 13 }
89        }
90
91        pub fn error_code_aac_decode_error() -> Self {
92            Self { value: 14 }
93        }
94
95        pub fn error_code_x_wma_create_decoder_failed() -> Self {
96            Self { value: 15 }
97        }
98
99        pub fn error_code_atrac9_decode_failed() -> Self {
100            Self { value: 16 }
101        }
102
103        pub fn error_code_atrac9_loop_section_too_small() -> Self {
104            Self { value: 17 }
105        }
106
107        pub fn error_code_invalid_audio_file_header() -> Self {
108            Self { value: 18 }
109        }
110
111        pub fn error_code_audio_file_header_too_large() -> Self {
112            Self { value: 19 }
113        }
114
115        pub fn error_code_file_too_small() -> Self {
116            Self { value: 20 }
117        }
118
119        pub fn error_code_transition_not_accurate_channel() -> Self {
120            Self { value: 21 }
121        }
122
123        pub fn error_code_transition_not_accurate_plugin_mismatch() -> Self {
124            Self { value: 22 }
125        }
126
127        pub fn error_code_transition_not_accurate_rejected_by_plugin() -> Self {
128            Self { value: 23 }
129        }
130
131        pub fn error_code_transition_not_accurate_starvation() -> Self {
132            Self { value: 24 }
133        }
134
135        pub fn error_code_nothing_to_play() -> Self {
136            Self { value: 25 }
137        }
138
139        pub fn error_code_play_failed() -> Self {
140            Self { value: 26 }
141        }
142
143        pub fn error_code_stinger_could_not_be_scheduled() -> Self {
144            Self { value: 27 }
145        }
146
147        pub fn error_code_too_long_segment_look_ahead() -> Self {
148            Self { value: 28 }
149        }
150
151        pub fn error_code_cannot_schedule_music_switch() -> Self {
152            Self { value: 29 }
153        }
154
155        pub fn error_code_too_many_simultaneous_music_segments() -> Self {
156            Self { value: 30 }
157        }
158
159        pub fn error_code_playlist_stopped_for_editing() -> Self {
160            Self { value: 31 }
161        }
162
163        pub fn error_code_music_clips_rescheduled_after_track_edit() -> Self {
164            Self { value: 32 }
165        }
166
167        pub fn error_code_cannot_play_source_create() -> Self {
168            Self { value: 33 }
169        }
170
171        pub fn error_code_cannot_play_source_virtual_off() -> Self {
172            Self { value: 34 }
173        }
174
175        pub fn error_code_cannot_play_source_time_skip() -> Self {
176            Self { value: 35 }
177        }
178
179        pub fn error_code_cannot_play_source_inconsistent_state() -> Self {
180            Self { value: 36 }
181        }
182
183        pub fn error_code_media_not_loaded() -> Self {
184            Self { value: 37 }
185        }
186
187        pub fn error_code_voice_starving() -> Self {
188            Self { value: 38 }
189        }
190
191        pub fn error_code_streaming_source_starving() -> Self {
192            Self { value: 39 }
193        }
194
195        pub fn error_code_xma_decoder_source_starving() -> Self {
196            Self { value: 40 }
197        }
198
199        pub fn error_code_xma_decoding_error() -> Self {
200            Self { value: 41 }
201        }
202
203        pub fn error_code_invalid_xma_data() -> Self {
204            Self { value: 42 }
205        }
206
207        pub fn error_code_plugin_not_registered() -> Self {
208            Self { value: 43 }
209        }
210
211        pub fn error_code_codec_not_registered() -> Self {
212            Self { value: 44 }
213        }
214
215        pub fn error_code_plugin_version_mismatch() -> Self {
216            Self { value: 45 }
217        }
218
219        pub fn error_code_event_id_not_found() -> Self {
220            Self { value: 46 }
221        }
222
223        pub fn error_code_invalid_group_id() -> Self {
224            Self { value: 47 }
225        }
226
227        pub fn error_code_selected_child_not_available() -> Self {
228            Self { value: 48 }
229        }
230
231        pub fn error_code_selected_node_not_available() -> Self {
232            Self { value: 49 }
233        }
234
235        pub fn error_code_selected_media_not_available() -> Self {
236            Self { value: 50 }
237        }
238
239        pub fn error_code_no_valid_switch() -> Self {
240            Self { value: 51 }
241        }
242
243        pub fn error_code_selected_node_not_available_play() -> Self {
244            Self { value: 52 }
245        }
246
247        pub fn error_code_feedback_voice_starving() -> Self {
248            Self { value: 53 }
249        }
250
251        pub fn error_code_bank_load_failed() -> Self {
252            Self { value: 54 }
253        }
254
255        pub fn error_code_bank_unload_failed() -> Self {
256            Self { value: 55 }
257        }
258
259        pub fn error_code_error_while_loading_bank() -> Self {
260            Self { value: 56 }
261        }
262
263        pub fn error_code_insufficient_space_to_load_bank() -> Self {
264            Self { value: 57 }
265        }
266
267        pub fn error_code_lower_engine_command_list_full() -> Self {
268            Self { value: 58 }
269        }
270
271        pub fn error_code_seek_no_marker() -> Self {
272            Self { value: 59 }
273        }
274
275        pub fn error_code_cannot_seek_continuous() -> Self {
276            Self { value: 60 }
277        }
278
279        pub fn error_code_seek_after_eof() -> Self {
280            Self { value: 61 }
281        }
282
283        pub fn error_code_unknown_game_object() -> Self {
284            Self { value: 62 }
285        }
286
287        pub fn error_code_unknown_emitter() -> Self {
288            Self { value: 63 }
289        }
290
291        pub fn error_code_unknown_listener() -> Self {
292            Self { value: 64 }
293        }
294
295        pub fn error_code_game_object_is_not_listener() -> Self {
296            Self { value: 65 }
297        }
298
299        pub fn error_code_game_object_is_not_emitter() -> Self {
300            Self { value: 66 }
301        }
302
303        pub fn error_code_unknown_game_object_event() -> Self {
304            Self { value: 67 }
305        }
306
307        pub fn error_code_game_object_is_not_emitter_event() -> Self {
308            Self { value: 68 }
309        }
310
311        pub fn error_code_external_source_not_resolved() -> Self {
312            Self { value: 69 }
313        }
314
315        pub fn error_code_file_format_mismatch() -> Self {
316            Self { value: 70 }
317        }
318
319        pub fn error_code_command_queue_full() -> Self {
320            Self { value: 71 }
321        }
322
323        pub fn error_code_command_too_large() -> Self {
324            Self { value: 72 }
325        }
326
327        pub fn error_code_xma_create_decoder_limit_reached() -> Self {
328            Self { value: 73 }
329        }
330
331        pub fn error_code_xma_stream_buffer_too_small() -> Self {
332            Self { value: 74 }
333        }
334
335        pub fn error_code_modulator_scope_error_inst() -> Self {
336            Self { value: 75 }
337        }
338
339        pub fn error_code_modulator_scope_error_obj() -> Self {
340            Self { value: 76 }
341        }
342
343        pub fn error_code_seek_after_end_of_playlist() -> Self {
344            Self { value: 77 }
345        }
346
347        pub fn error_code_opus_require_seek_table() -> Self {
348            Self { value: 78 }
349        }
350
351        pub fn error_code_opus_decode_error() -> Self {
352            Self { value: 79 }
353        }
354
355        pub fn error_code_opus_create_decoder_failed() -> Self {
356            Self { value: 80 }
357        }
358
359        pub fn error_code_source_plugin_not_found() -> Self {
360            Self { value: 81 }
361        }
362
363        pub fn error_code_virtual_voice_limit() -> Self {
364            Self { value: 82 }
365        }
366
367        pub fn error_code_audio_device_share_set_not_found() -> Self {
368            Self { value: 83 }
369        }
370
371        pub fn error_code_not_enough_memory_to_start() -> Self {
372            Self { value: 84 }
373        }
374
375        pub fn error_code_unkown_opus_error() -> Self {
376            Self { value: 85 }
377        }
378
379        pub fn error_code_audio_device_init_failure() -> Self {
380            Self { value: 86 }
381        }
382
383        pub fn error_code_audio_device_remove_failure() -> Self {
384            Self { value: 87 }
385        }
386
387        pub fn error_code_audio_device_not_found() -> Self {
388            Self { value: 88 }
389        }
390
391        pub fn error_code_audio_device_not_valid() -> Self {
392            Self { value: 89 }
393        }
394
395        pub fn error_code_spatial_audio_listener_automation_not_supported() -> Self {
396            Self { value: 90 }
397        }
398
399        pub fn error_code_media_duplication_length() -> Self {
400            Self { value: 91 }
401        }
402
403        pub fn error_code_hw_voices_system_init_failed() -> Self {
404            Self { value: 92 }
405        }
406
407        pub fn error_code_hw_voices_decode_batch_failed() -> Self {
408            Self { value: 93 }
409        }
410
411        pub fn error_code_hw_voice_limit_reached() -> Self {
412            Self { value: 94 }
413        }
414
415        pub fn error_code_hw_voice_init_failed() -> Self {
416            Self { value: 95 }
417        }
418
419        pub fn error_code_spatial_audio_reflection_bus_error() -> Self {
420            Self { value: 96 }
421        }
422
423        pub fn num_error_codes() -> Self {
424            Self { value: 97 }
425        }
426    }
427}
428
429#[cfg(feature = "root-akmonitorerrorcode-types")]
430pub use __types::*;
431
432#[cfg(feature = "root-akmonitorerrorcode")]
433#[doc(hidden)]
434pub mod prelude {
435    pub use super::AkMonitorErrorCode;
436    #[cfg(feature = "system-object")]
437    pub use crate::system::object::IObjectMethods;
438    #[cfg(feature = "system-enum")]
439    pub use crate::system::r#enum::IEnumMethods;
440    #[cfg(feature = "system-valuetype")]
441    pub use crate::system::valuetype::IValueTypeMethods;
442    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
443}