engage/generated/root/
akmidicctypes.rs1#[cfg(feature = "root-akmidicctypes-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/akmidicctypes/AkMIDICcTypes.md"))]
15 #[repr(C)]
16 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17 pub struct AkMIDICcTypes {
18 pub value: i32,
19 }
20 impl ::unity::ClassIdentity for AkMIDICcTypes {
21 const NAME: &'static str = "AkMIDICcTypes";
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 AkMIDICcTypes {
30 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32 }
33 }
34 impl AkMIDICcTypes {
35 pub fn bank_select_coarse() -> Self {
36 Self { value: 0 }
37 }
38
39 pub fn mod_wheel_coarse() -> Self {
40 Self { value: 1 }
41 }
42
43 pub fn breath_ctrl_coarse() -> Self {
44 Self { value: 2 }
45 }
46
47 pub fn ctrl_3_coarse() -> Self {
48 Self { value: 3 }
49 }
50
51 pub fn foot_pedal_coarse() -> Self {
52 Self { value: 4 }
53 }
54
55 pub fn portamento_coarse() -> Self {
56 Self { value: 5 }
57 }
58
59 pub fn data_entry_coarse() -> Self {
60 Self { value: 6 }
61 }
62
63 pub fn volume_coarse() -> Self {
64 Self { value: 7 }
65 }
66
67 pub fn balance_coarse() -> Self {
68 Self { value: 8 }
69 }
70
71 pub fn ctrl_9_coarse() -> Self {
72 Self { value: 9 }
73 }
74
75 pub fn pan_position_coarse() -> Self {
76 Self { value: 10 }
77 }
78
79 pub fn expression_coarse() -> Self {
80 Self { value: 11 }
81 }
82
83 pub fn effect_ctrl_1_coarse() -> Self {
84 Self { value: 12 }
85 }
86
87 pub fn effect_ctrl_2_coarse() -> Self {
88 Self { value: 13 }
89 }
90
91 pub fn ctrl_14_coarse() -> Self {
92 Self { value: 14 }
93 }
94
95 pub fn ctrl_15_coarse() -> Self {
96 Self { value: 15 }
97 }
98
99 pub fn gen_slider_1() -> Self {
100 Self { value: 16 }
101 }
102
103 pub fn gen_slider_2() -> Self {
104 Self { value: 17 }
105 }
106
107 pub fn gen_slider_3() -> Self {
108 Self { value: 18 }
109 }
110
111 pub fn gen_slider_4() -> Self {
112 Self { value: 19 }
113 }
114
115 pub fn ctrl_20_coarse() -> Self {
116 Self { value: 20 }
117 }
118
119 pub fn ctrl_21_coarse() -> Self {
120 Self { value: 21 }
121 }
122
123 pub fn ctrl_22_coarse() -> Self {
124 Self { value: 22 }
125 }
126
127 pub fn ctrl_23_coarse() -> Self {
128 Self { value: 23 }
129 }
130
131 pub fn ctrl_24_coarse() -> Self {
132 Self { value: 24 }
133 }
134
135 pub fn ctrl_25_coarse() -> Self {
136 Self { value: 25 }
137 }
138
139 pub fn ctrl_26_coarse() -> Self {
140 Self { value: 26 }
141 }
142
143 pub fn ctrl_27_coarse() -> Self {
144 Self { value: 27 }
145 }
146
147 pub fn ctrl_28_coarse() -> Self {
148 Self { value: 28 }
149 }
150
151 pub fn ctrl_29_coarse() -> Self {
152 Self { value: 29 }
153 }
154
155 pub fn ctrl_30_coarse() -> Self {
156 Self { value: 30 }
157 }
158
159 pub fn ctrl_31_coarse() -> Self {
160 Self { value: 31 }
161 }
162
163 pub fn bank_select_fine() -> Self {
164 Self { value: 32 }
165 }
166
167 pub fn mod_wheel_fine() -> Self {
168 Self { value: 33 }
169 }
170
171 pub fn breath_ctrl_fine() -> Self {
172 Self { value: 34 }
173 }
174
175 pub fn ctrl_3_fine() -> Self {
176 Self { value: 35 }
177 }
178
179 pub fn foot_pedal_fine() -> Self {
180 Self { value: 36 }
181 }
182
183 pub fn portamento_fine() -> Self {
184 Self { value: 37 }
185 }
186
187 pub fn data_entry_fine() -> Self {
188 Self { value: 38 }
189 }
190
191 pub fn volume_fine() -> Self {
192 Self { value: 39 }
193 }
194
195 pub fn balance_fine() -> Self {
196 Self { value: 40 }
197 }
198
199 pub fn ctrl_9_fine() -> Self {
200 Self { value: 41 }
201 }
202
203 pub fn pan_position_fine() -> Self {
204 Self { value: 42 }
205 }
206
207 pub fn expression_fine() -> Self {
208 Self { value: 43 }
209 }
210
211 pub fn effect_ctrl_1_fine() -> Self {
212 Self { value: 44 }
213 }
214
215 pub fn effect_ctrl_2_fine() -> Self {
216 Self { value: 45 }
217 }
218
219 pub fn ctrl_14_fine() -> Self {
220 Self { value: 46 }
221 }
222
223 pub fn ctrl_15_fine() -> Self {
224 Self { value: 47 }
225 }
226
227 pub fn ctrl_20_fine() -> Self {
228 Self { value: 52 }
229 }
230
231 pub fn ctrl_21_fine() -> Self {
232 Self { value: 53 }
233 }
234
235 pub fn ctrl_22_fine() -> Self {
236 Self { value: 54 }
237 }
238
239 pub fn ctrl_23_fine() -> Self {
240 Self { value: 55 }
241 }
242
243 pub fn ctrl_24_fine() -> Self {
244 Self { value: 56 }
245 }
246
247 pub fn ctrl_25_fine() -> Self {
248 Self { value: 57 }
249 }
250
251 pub fn ctrl_26_fine() -> Self {
252 Self { value: 58 }
253 }
254
255 pub fn ctrl_27_fine() -> Self {
256 Self { value: 59 }
257 }
258
259 pub fn ctrl_28_fine() -> Self {
260 Self { value: 60 }
261 }
262
263 pub fn ctrl_29_fine() -> Self {
264 Self { value: 61 }
265 }
266
267 pub fn ctrl_30_fine() -> Self {
268 Self { value: 62 }
269 }
270
271 pub fn ctrl_31_fine() -> Self {
272 Self { value: 63 }
273 }
274
275 pub fn hold_pedal() -> Self {
276 Self { value: 64 }
277 }
278
279 pub fn portamento_on_off() -> Self {
280 Self { value: 65 }
281 }
282
283 pub fn sustenuto_pedal() -> Self {
284 Self { value: 66 }
285 }
286
287 pub fn soft_pedal() -> Self {
288 Self { value: 67 }
289 }
290
291 pub fn legato_pedal() -> Self {
292 Self { value: 68 }
293 }
294
295 pub fn hold_pedal_2() -> Self {
296 Self { value: 69 }
297 }
298
299 pub fn sound_variation() -> Self {
300 Self { value: 70 }
301 }
302
303 pub fn sound_timbre() -> Self {
304 Self { value: 71 }
305 }
306
307 pub fn sound_release_time() -> Self {
308 Self { value: 72 }
309 }
310
311 pub fn sound_attack_time() -> Self {
312 Self { value: 73 }
313 }
314
315 pub fn sound_brightness() -> Self {
316 Self { value: 74 }
317 }
318
319 pub fn sound_ctrl_6() -> Self {
320 Self { value: 75 }
321 }
322
323 pub fn sound_ctrl_7() -> Self {
324 Self { value: 76 }
325 }
326
327 pub fn sound_ctrl_8() -> Self {
328 Self { value: 77 }
329 }
330
331 pub fn sound_ctrl_9() -> Self {
332 Self { value: 78 }
333 }
334
335 pub fn sound_ctrl_10() -> Self {
336 Self { value: 79 }
337 }
338
339 pub fn general_button_1() -> Self {
340 Self { value: 80 }
341 }
342
343 pub fn general_button_2() -> Self {
344 Self { value: 81 }
345 }
346
347 pub fn general_button_3() -> Self {
348 Self { value: 82 }
349 }
350
351 pub fn general_button_4() -> Self {
352 Self { value: 83 }
353 }
354
355 pub fn reverb_level() -> Self {
356 Self { value: 91 }
357 }
358
359 pub fn tremolo_level() -> Self {
360 Self { value: 92 }
361 }
362
363 pub fn chorus_level() -> Self {
364 Self { value: 93 }
365 }
366
367 pub fn celeste_level() -> Self {
368 Self { value: 94 }
369 }
370
371 pub fn phaser_level() -> Self {
372 Self { value: 95 }
373 }
374
375 pub fn data_button_p1() -> Self {
376 Self { value: 96 }
377 }
378
379 pub fn data_button_m1() -> Self {
380 Self { value: 97 }
381 }
382
383 pub fn non_register_coarse() -> Self {
384 Self { value: 98 }
385 }
386
387 pub fn non_register_fine() -> Self {
388 Self { value: 99 }
389 }
390
391 pub fn all_sound_off() -> Self {
392 Self { value: 120 }
393 }
394
395 pub fn all_controllers_off() -> Self {
396 Self { value: 121 }
397 }
398
399 pub fn local_keyboard() -> Self {
400 Self { value: 122 }
401 }
402
403 pub fn all_notes_off() -> Self {
404 Self { value: 123 }
405 }
406
407 pub fn omni_mode_off() -> Self {
408 Self { value: 124 }
409 }
410
411 pub fn omni_mode_on() -> Self {
412 Self { value: 125 }
413 }
414
415 pub fn omni_monophonic_on() -> Self {
416 Self { value: 126 }
417 }
418
419 pub fn omni_polyphonic_on() -> Self {
420 Self { value: 127 }
421 }
422 }
423}
424
425#[cfg(feature = "root-akmidicctypes-types")]
426pub use __types::*;
427
428#[cfg(feature = "root-akmidicctypes")]
429#[doc(hidden)]
430pub mod prelude {
431 pub use super::AkMIDICcTypes;
432 #[cfg(feature = "system-object")]
433 pub use crate::system::object::IObjectMethods;
434 #[cfg(feature = "system-enum")]
435 pub use crate::system::r#enum::IEnumMethods;
436 #[cfg(feature = "system-valuetype")]
437 pub use crate::system::valuetype::IValueTypeMethods;
438 pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
439}