1#[cfg(feature = "app-fieldbgmmanager-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 procinst::{IProcInst, ProcInst},
11 singletonprocinst_1::{ISingletonProcInst_1, SingletonProcInst_1},
12 },
13 system::object::{IObject, Object},
14 };
15
16 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/fieldbgmmanager/FieldBgmManager_BgmHandle.md"))]
17 #[::unity::class(namespace = "App", name = "FieldBgmManager.BgmHandle")]
18 #[parent(crate::system::object::Object)]
19 pub struct FieldBgmManager_BgmHandle {
20 #[offset(16)]
21 #[rename(name = "m_soundHandle")]
22 pub m_sound_handle: crate::app::soundsystem::SoundSystem_SoundHandle,
23 #[offset(24)]
24 #[rename(name = "m_isFirstPlayed")]
25 pub m_is_first_played: bool,
26 #[offset(25)]
27 #[rename(name = "m_isPaused")]
28 pub m_is_paused: bool,
29 }
30
31 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/fieldbgmmanager/FieldBgmManager_ProcChangeBgm.md"))]
32 #[::unity::class(namespace = "App", name = "FieldBgmManager.ProcChangeBgm")]
33 #[parent(crate::app::singletonprocinst_1::SingletonProcInst_1<crate::app::fieldbgmmanager::FieldBgmManager_ProcChangeBgm>)]
34 pub struct FieldBgmManager_ProcChangeBgm {
35 #[offset(120)]
36 #[rename(name = "m_bgmManager")]
37 pub m_bgm_manager: crate::app::fieldbgmmanager::FieldBgmManager,
38 #[offset(128)]
39 #[rename(name = "m_isReturnToNormalBgm")]
40 pub m_is_return_to_normal_bgm: bool,
41 }
42
43 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/fieldbgmmanager/FieldBgmManager_VolumeFader.md"))]
44 #[::unity::class(namespace = "App", name = "FieldBgmManager.VolumeFader")]
45 #[parent(crate::system::object::Object)]
46 pub struct FieldBgmManager_VolumeFader {
47 #[offset(16)]
48 #[rename(name = "m_vol")]
49 pub m_vol: f32,
50 #[offset(20)]
51 #[rename(name = "m_volFrom")]
52 pub m_vol_from: f32,
53 #[offset(24)]
54 #[rename(name = "m_volTo")]
55 pub m_vol_to: f32,
56 #[offset(28)]
57 #[rename(name = "m_time")]
58 pub m_time: f32,
59 #[offset(32)]
60 #[rename(name = "m_duration")]
61 pub m_duration: f32,
62 }
63
64 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/fieldbgmmanager/FieldBgmManager.md"))]
65 #[::unity::class(namespace = "App", name = "FieldBgmManager")]
66 #[parent(crate::system::object::Object)]
67 pub struct FieldBgmManager {
68 #[static_field]
69 #[rename(name = "GameObjectName")]
70 pub game_object_name: ::unity::Il2CppString,
71 #[static_field]
72 #[rename(name = "FadeInMsec_ChangeBgm")]
73 pub fade_in_msec_change_bgm: i32,
74 #[static_field]
75 #[rename(name = "FadeOutMsec_ChangeBgm")]
76 pub fade_out_msec_change_bgm: i32,
77 #[static_field]
78 #[rename(name = "FadeInMsec_ReturnToNormalBgm")]
79 pub fade_in_msec_return_to_normal_bgm: i32,
80 #[static_field]
81 #[rename(name = "FadeInMsec_SpecialBattleBgm")]
82 pub fade_in_msec_special_battle_bgm: i32,
83 #[static_field]
84 #[rename(name = "FadeOutMsec_SpecialBattleBgm")]
85 pub fade_out_msec_special_battle_bgm: i32,
86 #[static_field]
87 #[rename(name = "SpecialBattleBgmContinueTurnMax")]
88 pub special_battle_bgm_continue_turn_max: i32,
89 #[offset(16)]
90 #[rename(name = "m_isSetPhaseBgm")]
91 pub m_is_set_phase_bgm: bool,
92 #[offset(24)]
93 #[rename(name = "m_isFirstPhaseChanged")]
94 pub m_is_first_phase_changed: ::unity::Array<bool>,
95 #[offset(32)]
96 #[rename(name = "m_sndMgr")]
97 pub m_snd_mgr: crate::app::soundmanager::SoundManager,
98 #[offset(40)]
99 #[rename(name = "m_gameObject")]
100 pub m_game_object: crate::unity_engine::gameobject::GameObject,
101 #[offset(48)]
102 #[rename(name = "m_handleNameArray")]
103 pub m_handle_name_array: ::unity::Array<::unity::Il2CppString>,
104 #[offset(56)]
105 #[rename(name = "m_prevBgmHandleName")]
106 pub m_prev_bgm_handle_name: ::unity::Il2CppString,
107 #[offset(64)]
108 #[rename(name = "m_curBgmHandleName")]
109 pub m_cur_bgm_handle_name: ::unity::Il2CppString,
110 #[offset(72)]
111 #[rename(name = "m_bgmHandleList")]
112 pub m_bgm_handle_list: crate::system::collections::generic::dictionary_2::Dictionary_2<
113 ::unity::Il2CppString,
114 crate::app::fieldbgmmanager::FieldBgmManager_BgmHandle,
115 >,
116 #[offset(80)]
117 #[rename(name = "m_specialCombatBgmHandleList")]
118 pub m_special_combat_bgm_handle_list: crate::system::collections::generic::dictionary_2::Dictionary_2<
119 ::unity::Il2CppString,
120 crate::app::fieldbgmmanager::FieldBgmManager_BgmHandle,
121 >,
122 #[offset(88)]
123 #[rename(name = "m_warSituationStateName")]
124 pub m_war_situation_state_name: ::unity::Il2CppString,
125 #[offset(96)]
126 #[rename(name = "m_volume")]
127 pub m_volume: crate::app::fieldbgmmanager::FieldBgmManager_VolumeFader,
128 #[offset(104)]
129 #[rename(name = "m_restoreEventNameArray")]
130 pub m_restore_event_name_array: ::unity::Array<::unity::Il2CppString>,
131 #[offset(112)]
132 #[rename(name = "m_restoreWarSituationStateName")]
133 pub m_restore_war_situation_state_name: ::unity::Il2CppString,
134 #[offset(120)]
135 #[rename(name = "m_BattleBgmContinueTurn")]
136 pub m_battle_bgm_continue_turn: i32,
137 #[static_field]
138 #[rename(name = "NowStreamVersion")]
139 pub now_stream_version: i32,
140 }
141}
142
143#[cfg(feature = "app-fieldbgmmanager-types")]
144pub use __types::*;
145
146#[cfg(feature = "app-fieldbgmmanager")]
147pub trait IFieldBgmManager_BgmHandleMethods: IFieldBgmManager_BgmHandle {
148 #[doc = "`.ctor(crate::app::soundsystem::SoundSystem_SoundHandle)` overload"]
149 fn ctor(self, sound_handle: impl ::core::convert::Into<crate::app::soundsystem::SoundSystem_SoundHandle>) -> () {
150 unsafe {
151 let __receiver =
152 <FieldBgmManager_BgmHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
153 ::unity::il2cpp_call!((::unity::module_base()+0x1e5ea10usize)as*mut u8,();
154(FieldBgmManager_BgmHandle)__receiver,(crate::app::soundsystem::SoundSystem_SoundHandle)::core::convert::Into::into(sound_handle))
155 }
156 }
157 #[doc = "`IsEnable()` overload"]
158 fn is_enable(self) -> bool {
159 unsafe {
160 let __receiver =
161 <FieldBgmManager_BgmHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
162 ::unity::il2cpp_call!((::unity::module_base()+0x1e5ea50usize)as*mut u8,bool;
163(FieldBgmManager_BgmHandle)__receiver)
164 }
165 }
166 #[doc = "`IsFirstPlayed()` overload"]
167 fn is_first_played(self) -> bool {
168 unsafe {
169 let __receiver =
170 <FieldBgmManager_BgmHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
171 ::unity::il2cpp_call!((::unity::module_base()+0x1e5ea60usize)as*mut u8,bool;
172(FieldBgmManager_BgmHandle)__receiver)
173 }
174 }
175 #[doc = "`IsPlaying()` overload"]
176 fn is_playing(self) -> bool {
177 unsafe {
178 let __receiver =
179 <FieldBgmManager_BgmHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
180 ::unity::il2cpp_call!((::unity::module_base()+0x1e5ea70usize)as*mut u8,bool;
181(FieldBgmManager_BgmHandle)__receiver)
182 }
183 }
184 #[doc = "`IsPaused()` overload"]
185 fn is_paused(self) -> bool {
186 unsafe {
187 let __receiver =
188 <FieldBgmManager_BgmHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
189 ::unity::il2cpp_call!((::unity::module_base()+0x1e5ea80usize)as*mut u8,bool;
190(FieldBgmManager_BgmHandle)__receiver)
191 }
192 }
193 #[doc = "`GetEventName()` overload"]
194 fn get_event_name(self) -> ::unity::Il2CppString {
195 unsafe {
196 let __receiver =
197 <FieldBgmManager_BgmHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
198 ::unity::il2cpp_call!((::unity::module_base()+0x1e5ea90usize)as*mut u8, ::unity::Il2CppString;
199(FieldBgmManager_BgmHandle)__receiver)
200 }
201 }
202 #[doc = "`Stop(i32)` overload"]
203 fn stop(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
204 unsafe {
205 let __receiver =
206 <FieldBgmManager_BgmHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
207 ::unity::il2cpp_call!((::unity::module_base()+0x1e5eaa0usize)as*mut u8,();
208(FieldBgmManager_BgmHandle)__receiver,(i32)::core::convert::Into::into(fade_msec))
209 }
210 }
211 #[doc = "`Pause(i32)` overload"]
212 fn pause(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
213 unsafe {
214 let __receiver =
215 <FieldBgmManager_BgmHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
216 ::unity::il2cpp_call!((::unity::module_base()+0x1e5eac0usize)as*mut u8,();
217(FieldBgmManager_BgmHandle)__receiver,(i32)::core::convert::Into::into(fade_msec))
218 }
219 }
220 #[doc = "`Resume(i32)` overload"]
221 fn resume(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
222 unsafe {
223 let __receiver =
224 <FieldBgmManager_BgmHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225 ::unity::il2cpp_call!((::unity::module_base()+0x1e5eb10usize)as*mut u8,();
226(FieldBgmManager_BgmHandle)__receiver,(i32)::core::convert::Into::into(fade_msec))
227 }
228 }
229 #[doc = "`SetFirstPlayed()` overload"]
230 fn set_first_played(self) -> () {
231 unsafe {
232 let __receiver =
233 <FieldBgmManager_BgmHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
234 ::unity::il2cpp_call!((::unity::module_base()+0x1e5eb50usize)as*mut u8,();
235(FieldBgmManager_BgmHandle)__receiver)
236 }
237 }
238}
239
240#[cfg(feature = "app-fieldbgmmanager")]
241impl<__T: IFieldBgmManager_BgmHandle> IFieldBgmManager_BgmHandleMethods for __T {}
242
243#[cfg(feature = "app-fieldbgmmanager")]
244impl FieldBgmManager_BgmHandle {
245 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
246 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
247 }
248
249 pub fn is_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
250 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
251 }
252
253 pub fn is_first_played_method_info() -> &'static ::unity::il2cpp::MethodInfo {
254 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
255 }
256
257 pub fn is_playing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
258 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
259 }
260
261 pub fn is_paused_method_info() -> &'static ::unity::il2cpp::MethodInfo {
262 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
263 }
264
265 pub fn get_event_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
266 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
267 }
268
269 pub fn stop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
270 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
271 }
272
273 pub fn pause_method_info() -> &'static ::unity::il2cpp::MethodInfo {
274 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
275 }
276
277 pub fn resume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
278 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
279 }
280
281 pub fn set_first_played_method_info() -> &'static ::unity::il2cpp::MethodInfo {
282 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
283 }
284}
285
286#[cfg(feature = "app-fieldbgmmanager")]
287impl FieldBgmManager_BgmHandle {
288 #[doc = "`.ctor(crate::app::soundsystem::SoundSystem_SoundHandle)` — overload selector"]
289 pub fn new(sound_handle: crate::app::soundsystem::SoundSystem_SoundHandle) -> Self {
290 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
291 panic!(
292 "{}
293::{}
294 failed to instantiate",
295 ::core::stringify!(FieldBgmManager_BgmHandle),
296 ::core::stringify!(new),
297 )
298 });
299 <Self as IFieldBgmManager_BgmHandleMethods>::ctor(this, sound_handle);
300 this
301 }
302}
303
304#[cfg(feature = "app-fieldbgmmanager")]
305impl FieldBgmManager_ProcChangeBgm {
306 #[doc = "`Create(crate::app::fieldbgmmanager::FieldBgmManager, crate::app::force::Force_Type, bool, crate::app::procinst::ProcInst)` overload"]
307 pub fn create(
308 bgm_manager: impl ::core::convert::Into<crate::app::fieldbgmmanager::FieldBgmManager>,
309 force_type: impl ::core::convert::Into<crate::app::force::Force_Type>,
310 is_return_to_normal_bgm: impl ::core::convert::Into<bool>,
311 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
312 ) -> () {
313 unsafe {
314 ::unity::il2cpp_call!((::unity::module_base()+0x1e5ec90usize)as*mut u8,();
315(crate::app::fieldbgmmanager::FieldBgmManager)::core::convert::Into::into(bgm_manager),(crate::app::force::Force_Type)::core::convert::Into::into(force_type),(bool)::core::convert::Into::into(is_return_to_normal_bgm),(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
316 }
317 }
318}
319
320#[cfg(feature = "app-fieldbgmmanager")]
321pub trait IFieldBgmManager_ProcChangeBgmMethods: IFieldBgmManager_ProcChangeBgm {
322 #[doc = "`.ctor(crate::app::fieldbgmmanager::FieldBgmManager, bool)` overload"]
323 fn ctor(
324 self,
325 bgm_manager: impl ::core::convert::Into<crate::app::fieldbgmmanager::FieldBgmManager>,
326 is_return_to_normal_bgm: impl ::core::convert::Into<bool>,
327 ) -> () {
328 unsafe {
329 let __receiver =
330 <FieldBgmManager_ProcChangeBgm as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
331 ::unity::il2cpp_call!((::unity::module_base()+0x1e5eb60usize)as*mut u8,();
332(FieldBgmManager_ProcChangeBgm)__receiver,(crate::app::fieldbgmmanager::FieldBgmManager)::core::convert::Into::into(bgm_manager),(bool)::core::convert::Into::into(is_return_to_normal_bgm))
333 }
334 }
335 #[doc = "`ProcCall_ResumeBgm()` overload"]
336 fn proc_call_resume_bgm(self) -> () {
337 unsafe {
338 let __receiver =
339 <FieldBgmManager_ProcChangeBgm as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
340 ::unity::il2cpp_call!((::unity::module_base()+0x1e5ec10usize)as*mut u8,();
341(FieldBgmManager_ProcChangeBgm)__receiver)
342 }
343 }
344 #[doc = "`ProcCall_PauseBgm()` overload"]
345 fn proc_call_pause_bgm(self) -> () {
346 unsafe {
347 let __receiver =
348 <FieldBgmManager_ProcChangeBgm as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
349 ::unity::il2cpp_call!((::unity::module_base()+0x1e5ec40usize)as*mut u8,();
350(FieldBgmManager_ProcChangeBgm)__receiver)
351 }
352 }
353}
354
355#[cfg(feature = "app-fieldbgmmanager")]
356impl<__T: IFieldBgmManager_ProcChangeBgm> IFieldBgmManager_ProcChangeBgmMethods for __T {}
357
358#[cfg(feature = "app-fieldbgmmanager")]
359impl FieldBgmManager_ProcChangeBgm {
360 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
361 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
362 }
363
364 pub fn proc_call_resume_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
365 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
366 }
367
368 pub fn proc_call_pause_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
369 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
370 }
371
372 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
373 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
374 }
375}
376
377#[cfg(feature = "app-fieldbgmmanager")]
378impl FieldBgmManager_ProcChangeBgm {
379 #[doc = "`.ctor(crate::app::fieldbgmmanager::FieldBgmManager, bool)` — overload selector"]
380 pub fn new(bgm_manager: crate::app::fieldbgmmanager::FieldBgmManager, is_return_to_normal_bgm: bool) -> Self {
381 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
382 panic!(
383 "{}
384::{}
385 failed to instantiate",
386 ::core::stringify!(FieldBgmManager_ProcChangeBgm),
387 ::core::stringify!(new),
388 )
389 });
390 <Self as IFieldBgmManager_ProcChangeBgmMethods>::ctor(this, bgm_manager, is_return_to_normal_bgm);
391 this
392 }
393}
394
395#[cfg(feature = "app-fieldbgmmanager")]
396pub trait IFieldBgmManager_VolumeFaderMethods: IFieldBgmManager_VolumeFader {
397 #[doc = "`.ctor()` overload"]
398 fn ctor(self) -> () {
399 unsafe {
400 let __receiver =
401 <FieldBgmManager_VolumeFader as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
402 ::unity::il2cpp_call!((::unity::module_base()+0x1e5eff0usize)as*mut u8,();
403(FieldBgmManager_VolumeFader)__receiver)
404 }
405 }
406 #[doc = "`Reset()` overload"]
407 fn reset(self) -> () {
408 unsafe {
409 let __receiver =
410 <FieldBgmManager_VolumeFader as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
411 ::unity::il2cpp_call!((::unity::module_base()+0x1e5f030usize)as*mut u8,();
412(FieldBgmManager_VolumeFader)__receiver)
413 }
414 }
415 #[doc = "`Get()` overload"]
416 fn get(self) -> f32 {
417 unsafe {
418 let __receiver =
419 <FieldBgmManager_VolumeFader as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
420 ::unity::il2cpp_call!((::unity::module_base()+0x1e5f050usize)as*mut u8,f32;
421(FieldBgmManager_VolumeFader)__receiver)
422 }
423 }
424 #[doc = "`Set(f32, i32)` overload"]
425 fn set(self, vol: impl ::core::convert::Into<f32>, msec: impl ::core::convert::Into<i32>) -> () {
426 unsafe {
427 let __receiver =
428 <FieldBgmManager_VolumeFader as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
429 ::unity::il2cpp_call!((::unity::module_base()+0x1e5f060usize)as*mut u8,();
430(FieldBgmManager_VolumeFader)__receiver,(f32)::core::convert::Into::into(vol),(i32)::core::convert::Into::into(msec))
431 }
432 }
433 #[doc = "`Tick()` overload"]
434 fn tick(self) -> () {
435 unsafe {
436 let __receiver =
437 <FieldBgmManager_VolumeFader as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
438 ::unity::il2cpp_call!((::unity::module_base()+0x1e5f0a0usize)as*mut u8,();
439(FieldBgmManager_VolumeFader)__receiver)
440 }
441 }
442}
443
444#[cfg(feature = "app-fieldbgmmanager")]
445impl<__T: IFieldBgmManager_VolumeFader> IFieldBgmManager_VolumeFaderMethods for __T {}
446
447#[cfg(feature = "app-fieldbgmmanager")]
448impl FieldBgmManager_VolumeFader {
449 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
450 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
451 }
452
453 pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
454 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
455 }
456
457 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
458 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
459 }
460
461 pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
462 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
463 }
464
465 pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
466 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
467 }
468}
469
470#[cfg(feature = "app-fieldbgmmanager")]
471impl FieldBgmManager_VolumeFader {
472 #[doc = "`.ctor()` — no args"]
473 pub fn new() -> Self {
474 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
475 panic!(
476 "{}
477::{}
478 failed to instantiate",
479 ::core::stringify!(FieldBgmManager_VolumeFader),
480 ::core::stringify!(new),
481 )
482 });
483 <Self as IFieldBgmManager_VolumeFaderMethods>::ctor(this);
484 this
485 }
486}
487
488#[cfg(feature = "app-fieldbgmmanager")]
489pub trait IFieldBgmManagerMethods: IFieldBgmManager {
490 #[doc = "`.ctor(crate::app::soundmanager::SoundManager)` overload"]
491 fn ctor(self, snd_mgr: impl ::core::convert::Into<crate::app::soundmanager::SoundManager>) -> () {
492 unsafe {
493 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
494 ::unity::il2cpp_call!((::unity::module_base()+0x2d54730usize)as*mut u8,();
495(FieldBgmManager)__receiver,(crate::app::soundmanager::SoundManager)::core::convert::Into::into(snd_mgr))
496 }
497 }
498 #[doc = "`IsSetPhaseBgm()` overload"]
499 fn is_set_phase_bgm(self) -> bool {
500 unsafe {
501 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
502 ::unity::il2cpp_call!((::unity::module_base()+0x2d54b60usize)as*mut u8,bool;
503(FieldBgmManager)__receiver)
504 }
505 }
506 #[doc = "`Init()` overload"]
507 fn init(self) -> () {
508 unsafe {
509 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
510 ::unity::il2cpp_call!((::unity::module_base()+0x2d54b70usize)as*mut u8,();
511(FieldBgmManager)__receiver)
512 }
513 }
514 #[doc = "`Final(i32)` overload"]
515 fn r#final(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
516 unsafe {
517 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
518 ::unity::il2cpp_call!((::unity::module_base()+0x2d54b80usize)as*mut u8,();
519(FieldBgmManager)__receiver,(i32)::core::convert::Into::into(fade_msec))
520 }
521 }
522 #[doc = "`Reset(i32, bool)` overload"]
523 fn reset(self, fade_msec: impl ::core::convert::Into<i32>, is_reset_restore_data: impl ::core::convert::Into<bool>) -> () {
524 unsafe {
525 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
526 ::unity::il2cpp_call!((::unity::module_base()+0x2d54910usize)as*mut u8,();
527(FieldBgmManager)__receiver,(i32)::core::convert::Into::into(fade_msec),(bool)::core::convert::Into::into(is_reset_restore_data))
528 }
529 }
530 #[doc = "`StartSpecialBattleBgmContinueTurn()` overload"]
531 fn start_special_battle_bgm_continue_turn(self) -> () {
532 unsafe {
533 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
534 ::unity::il2cpp_call!((::unity::module_base()+0x2d54fb0usize)as*mut u8,();
535(FieldBgmManager)__receiver)
536 }
537 }
538 #[doc = "`SetSpecialBattleBgmContinueTurnForRewind(i32)` overload"]
539 fn set_special_battle_bgm_continue_turn_for_rewind(self, turn: impl ::core::convert::Into<i32>) -> () {
540 unsafe {
541 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
542 ::unity::il2cpp_call!((::unity::module_base()+0x2d55030usize)as*mut u8,();
543(FieldBgmManager)__receiver,(i32)::core::convert::Into::into(turn))
544 }
545 }
546 #[doc = "`SetPhaseBgm(crate::app::chapterdata::ChapterData, bool)` overload"]
547 fn set_phase_bgm(
548 self,
549 chapter: impl ::core::convert::Into<crate::app::chapterdata::ChapterData>,
550 is_encount: impl ::core::convert::Into<bool>,
551 ) -> () {
552 unsafe {
553 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
554 ::unity::il2cpp_call!((::unity::module_base()+0x2d55040usize)as*mut u8,();
555(FieldBgmManager)__receiver,(crate::app::chapterdata::ChapterData)::core::convert::Into::into(chapter),(bool)::core::convert::Into::into(is_encount))
556 }
557 }
558 #[doc = "`RestorePhaseBgm()` overload"]
559 fn restore_phase_bgm(self) -> () {
560 unsafe {
561 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
562 ::unity::il2cpp_call!((::unity::module_base()+0x2d555e0usize)as*mut u8,();
563(FieldBgmManager)__receiver)
564 }
565 }
566 #[doc = "`SetPhaseBgm(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString)` overload"]
567 fn set_phase_bgm_2(
568 self,
569 player_bgm_event_name: impl ::core::convert::Into<::unity::Il2CppString>,
570 enemy_bgm_event_name: impl ::core::convert::Into<::unity::Il2CppString>,
571 ally_bgm_event_name: impl ::core::convert::Into<::unity::Il2CppString>,
572 ) -> bool {
573 unsafe {
574 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
575 ::unity::il2cpp_call!((::unity::module_base()+0x2d55200usize)as*mut u8,bool;
576(FieldBgmManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(player_bgm_event_name),(::unity::Il2CppString)::core::convert::Into::into(enemy_bgm_event_name),(::unity::Il2CppString)::core::convert::Into::into(ally_bgm_event_name))
577 }
578 }
579 #[doc = "`Serialize(crate::app::stream_2::Stream_2)` overload"]
580 fn serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
581 unsafe {
582 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
583 ::unity::il2cpp_call!((::unity::module_base()+0x2d55620usize)as*mut u8,();
584(FieldBgmManager)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
585 }
586 }
587 #[doc = "`Deserialize(crate::app::stream_2::Stream_2)` overload"]
588 fn deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
589 unsafe {
590 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
591 ::unity::il2cpp_call!((::unity::module_base()+0x2d556d0usize)as*mut u8,();
592(FieldBgmManager)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
593 }
594 }
595 #[doc = "`Tick()` overload"]
596 fn tick(self) -> () {
597 unsafe {
598 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
599 ::unity::il2cpp_call!((::unity::module_base()+0x2d56090usize)as*mut u8,();
600(FieldBgmManager)__receiver)
601 }
602 }
603 #[doc = "`PlayBgm(crate::app::force::Force_Type)` overload"]
604 fn play_bgm(self, force_type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> () {
605 unsafe {
606 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
607 ::unity::il2cpp_call!((::unity::module_base()+0x2d56140usize)as*mut u8,();
608(FieldBgmManager)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force_type))
609 }
610 }
611 #[doc = "`StopBgm(i32)` overload"]
612 fn stop_bgm(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
613 unsafe {
614 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
615 ::unity::il2cpp_call!((::unity::module_base()+0x2d56430usize)as*mut u8,();
616(FieldBgmManager)__receiver,(i32)::core::convert::Into::into(fade_msec))
617 }
618 }
619 #[doc = "`PauseBgm(i32)` overload"]
620 fn pause_bgm(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
621 unsafe {
622 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
623 ::unity::il2cpp_call!((::unity::module_base()+0x2d56220usize)as*mut u8,();
624(FieldBgmManager)__receiver,(i32)::core::convert::Into::into(fade_msec))
625 }
626 }
627 #[doc = "`ResumeBgm(i32)` overload"]
628 fn resume_bgm(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
629 unsafe {
630 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
631 ::unity::il2cpp_call!((::unity::module_base()+0x2d56610usize)as*mut u8,();
632(FieldBgmManager)__receiver,(i32)::core::convert::Into::into(fade_msec))
633 }
634 }
635 #[doc = "`SetBgmVolume(f32, i32)` overload"]
636 fn set_bgm_volume(self, vol: impl ::core::convert::Into<f32>, fade_msec: impl ::core::convert::Into<i32>) -> () {
637 unsafe {
638 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
639 ::unity::il2cpp_call!((::unity::module_base()+0x2d566f0usize)as*mut u8,();
640(FieldBgmManager)__receiver,(f32)::core::convert::Into::into(vol),(i32)::core::convert::Into::into(fade_msec))
641 }
642 }
643 #[doc = "`ChangeForceType(crate::app::force::Force_Type, crate::app::procinst::ProcInst, bool)` overload"]
644 fn change_force_type(
645 self,
646 force_type: impl ::core::convert::Into<crate::app::force::Force_Type>,
647 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
648 is_turn_elapsed: impl ::core::convert::Into<bool>,
649 ) -> () {
650 unsafe {
651 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
652 ::unity::il2cpp_call!((::unity::module_base()+0x2d56700usize)as*mut u8,();
653(FieldBgmManager)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force_type),(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(bool)::core::convert::Into::into(is_turn_elapsed))
654 }
655 }
656 #[doc = "`ChangeForceTypeImm(crate::app::force::Force_Type)` overload"]
657 fn change_force_type_imm(self, force_type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> () {
658 unsafe {
659 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
660 ::unity::il2cpp_call!((::unity::module_base()+0x2d56930usize)as*mut u8,();
661(FieldBgmManager)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force_type))
662 }
663 }
664 #[doc = "`PlaySpecialBattleBgm(::unity::Il2CppString)` overload"]
665 fn play_special_battle_bgm(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
666 unsafe {
667 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
668 ::unity::il2cpp_call!((::unity::module_base()+0x2d56a60usize)as*mut u8,();
669(FieldBgmManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(event_name))
670 }
671 }
672 #[doc = "`PauseSpecialBattleBgm(::unity::Il2CppString)` overload"]
673 fn pause_special_battle_bgm(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
674 unsafe {
675 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
676 ::unity::il2cpp_call!((::unity::module_base()+0x2d56b80usize)as*mut u8,();
677(FieldBgmManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(event_name))
678 }
679 }
680 #[doc = "`StopSpecialBattleBgm(::unity::Il2CppString)` overload"]
681 fn stop_special_battle_bgm(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
682 unsafe {
683 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
684 ::unity::il2cpp_call!((::unity::module_base()+0x2d56c10usize)as*mut u8,();
685(FieldBgmManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(event_name))
686 }
687 }
688 #[doc = "`IsSpecialBattleBgmExist(::unity::Il2CppString)` overload"]
689 fn is_special_battle_bgm_exist(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
690 unsafe {
691 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
692 ::unity::il2cpp_call!((::unity::module_base()+0x2d56ca0usize)as*mut u8,bool;
693(FieldBgmManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(event_name))
694 }
695 }
696 #[doc = "`SetWarSituationParam(::unity::Il2CppString)` overload"]
697 fn set_war_situation_param(self, value_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
698 unsafe {
699 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
700 ::unity::il2cpp_call!((::unity::module_base()+0x2d56d30usize)as*mut u8,();
701(FieldBgmManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value_name))
702 }
703 }
704 #[doc = "`RestoreWarSituationParam()` overload"]
705 fn restore_war_situation_param(self) -> () {
706 unsafe {
707 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
708 ::unity::il2cpp_call!((::unity::module_base()+0x2d56ef0usize)as*mut u8,();
709(FieldBgmManager)__receiver)
710 }
711 }
712 #[doc = "`SetFirstPlayedFlag()` overload"]
713 fn set_first_played_flag(self) -> () {
714 unsafe {
715 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
716 ::unity::il2cpp_call!((::unity::module_base()+0x2d56f60usize)as*mut u8,();
717(FieldBgmManager)__receiver)
718 }
719 }
720 #[doc = "`ClearBgm(i32)` overload"]
721 fn clear_bgm(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
722 unsafe {
723 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
724 ::unity::il2cpp_call!((::unity::module_base()+0x2d54b90usize)as*mut u8,();
725(FieldBgmManager)__receiver,(i32)::core::convert::Into::into(fade_msec))
726 }
727 }
728 #[doc = "`GetStateGroupName()` overload"]
729 fn get_state_group_name(self) -> ::unity::Il2CppString {
730 unsafe {
731 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
732 ::unity::il2cpp_call!((::unity::module_base()+0x2d54ec0usize)as*mut u8, ::unity::Il2CppString;
733(FieldBgmManager)__receiver)
734 }
735 }
736 #[doc = "`PlayBgm(::unity::Il2CppString)` overload"]
737 fn play_bgm_2(self, bgm_handle_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
738 unsafe {
739 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
740 ::unity::il2cpp_call!((::unity::module_base()+0x2d562c0usize)as*mut u8,();
741(FieldBgmManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(bgm_handle_name))
742 }
743 }
744 #[doc = "`StopBgm(::unity::Il2CppString, i32)` overload"]
745 fn stop_bgm_2(self, bgm_handle_name: impl ::core::convert::Into<::unity::Il2CppString>, fade_msec: impl ::core::convert::Into<i32>) -> () {
746 unsafe {
747 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
748 ::unity::il2cpp_call!((::unity::module_base()+0x2d564d0usize)as*mut u8,();
749(FieldBgmManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(bgm_handle_name),(i32)::core::convert::Into::into(fade_msec))
750 }
751 }
752 #[doc = "`PauseBgm(::unity::Il2CppString, i32)` overload"]
753 fn pause_bgm_2(self, bgm_handle_name: impl ::core::convert::Into<::unity::Il2CppString>, fade_msec: impl ::core::convert::Into<i32>) -> () {
754 unsafe {
755 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
756 ::unity::il2cpp_call!((::unity::module_base()+0x2d56570usize)as*mut u8,();
757(FieldBgmManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(bgm_handle_name),(i32)::core::convert::Into::into(fade_msec))
758 }
759 }
760 #[doc = "`ResumeBgm(::unity::Il2CppString, i32, bool)` overload"]
761 fn resume_bgm_2(
762 self,
763 bgm_handle_name: impl ::core::convert::Into<::unity::Il2CppString>,
764 fade_msec: impl ::core::convert::Into<i32>,
765 isfade_msec_by_manual: impl ::core::convert::Into<bool>,
766 ) -> () {
767 unsafe {
768 let __receiver = <FieldBgmManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
769 ::unity::il2cpp_call!((::unity::module_base()+0x2d56620usize)as*mut u8,();
770(FieldBgmManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(bgm_handle_name),(i32)::core::convert::Into::into(fade_msec),(bool)::core::convert::Into::into(isfade_msec_by_manual))
771 }
772 }
773}
774
775#[cfg(feature = "app-fieldbgmmanager")]
776impl<__T: IFieldBgmManager> IFieldBgmManagerMethods for __T {}
777
778#[cfg(feature = "app-fieldbgmmanager")]
779impl FieldBgmManager {
780 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
781 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
782 }
783
784 pub fn is_set_phase_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
785 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
786 }
787
788 pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
789 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
790 }
791
792 pub fn final_method_info() -> &'static ::unity::il2cpp::MethodInfo {
793 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
794 }
795
796 pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
797 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
798 }
799
800 pub fn start_special_battle_bgm_continue_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
801 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
802 }
803
804 pub fn set_special_battle_bgm_continue_turn_for_rewind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
805 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
806 }
807
808 pub fn set_phase_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
809 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
810 }
811
812 pub fn restore_phase_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
813 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
814 }
815
816 pub fn set_phase_bgm_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
817 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
818 }
819
820 pub fn serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
821 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
822 }
823
824 pub fn deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
825 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
826 }
827
828 pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
829 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
830 }
831
832 pub fn play_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
833 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
834 }
835
836 pub fn stop_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
837 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
838 }
839
840 pub fn pause_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
841 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
842 }
843
844 pub fn resume_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
845 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
846 }
847
848 pub fn set_bgm_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
849 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
850 }
851
852 pub fn change_force_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
853 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
854 }
855
856 pub fn change_force_type_imm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
857 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
858 }
859
860 pub fn play_special_battle_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
861 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
862 }
863
864 pub fn pause_special_battle_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
865 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
866 }
867
868 pub fn stop_special_battle_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
869 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
870 }
871
872 pub fn is_special_battle_bgm_exist_method_info() -> &'static ::unity::il2cpp::MethodInfo {
873 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
874 }
875
876 pub fn set_war_situation_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
877 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
878 }
879
880 pub fn restore_war_situation_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
881 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
882 }
883
884 pub fn set_first_played_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
885 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
886 }
887
888 pub fn clear_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
889 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
890 }
891
892 pub fn get_state_group_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
893 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
894 }
895
896 pub fn play_bgm_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
897 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
898 }
899
900 pub fn stop_bgm_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
901 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
902 }
903
904 pub fn pause_bgm_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
905 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
906 }
907
908 pub fn resume_bgm_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
909 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
910 }
911}
912
913#[cfg(feature = "app-fieldbgmmanager")]
914impl FieldBgmManager {
915 #[doc = "`.ctor(crate::app::soundmanager::SoundManager)` — overload selector"]
916 pub fn new(snd_mgr: crate::app::soundmanager::SoundManager) -> Self {
917 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
918 panic!(
919 "{}
920::{}
921 failed to instantiate",
922 ::core::stringify!(FieldBgmManager),
923 ::core::stringify!(new),
924 )
925 });
926 <Self as IFieldBgmManagerMethods>::ctor(this, snd_mgr);
927 this
928 }
929}
930
931#[cfg(feature = "app-fieldbgmmanager")]
932#[doc(hidden)]
933pub mod prelude {
934 pub use super::{
935 FieldBgmManager, FieldBgmManager_BgmHandle, FieldBgmManager_ProcChangeBgm, FieldBgmManager_VolumeFader, IFieldBgmManager,
936 IFieldBgmManagerMethods, IFieldBgmManager_BgmHandle, IFieldBgmManager_BgmHandleMethods, IFieldBgmManager_ProcChangeBgm,
937 IFieldBgmManager_ProcChangeBgmMethods, IFieldBgmManager_VolumeFader, IFieldBgmManager_VolumeFaderMethods,
938 };
939 #[cfg(feature = "app-procinst")]
940 pub use crate::app::procinst::IProcInstMethods;
941 #[cfg(feature = "app-singletonprocinst_1")]
942 pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
943 #[cfg(feature = "system-object")]
944 pub use crate::system::object::IObjectMethods;
945 pub use crate::{
946 app::{procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1},
947 system::object::IObject,
948 };
949}