Skip to main content

engage/generated/combat/
combatviewersettings.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "combat-combatviewersettings-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::{
11            object_2::{IObject_2, Object_2},
12            scriptableobject::{IScriptableObject, ScriptableObject},
13        },
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/combat/combatviewersettings/CombatViewerSettings_ViewerPhase.md"))]
17    #[::unity::class(namespace = "Combat", name = "CombatViewerSettings.ViewerPhase")]
18    #[parent(crate::system::object::Object)]
19    pub struct CombatViewerSettings_ViewerPhase {
20        #[offset(16)]
21        #[rename(name = "s")]
22        pub s: ::unity::Array<::unity::Il2CppString>,
23    }
24
25    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/combat/combatviewersettings/CombatViewerSettings.md"))]
26    #[::unity::class(namespace = "Combat", name = "CombatViewerSettings")]
27    #[parent(crate::unity_engine::scriptableobject::ScriptableObject)]
28    pub struct CombatViewerSettings {
29        #[offset(24)]
30        #[rename(name = "ViewerPhaseArray")]
31        pub viewer_phase_array:
32            crate::system::collections::generic::list_1::List_1<crate::combat::combatviewersettings::CombatViewerSettings_ViewerPhase>,
33        #[offset(32)]
34        #[rename(name = "EternalCombat")]
35        pub eternal_combat: bool,
36        #[offset(33)]
37        #[rename(name = "ForceCrosscut")]
38        pub force_crosscut: bool,
39        #[offset(34)]
40        #[rename(name = "ForceBulletCamera")]
41        pub force_bullet_camera: bool,
42        #[offset(35)]
43        #[rename(name = "EnemyIsBoss")]
44        pub enemy_is_boss: bool,
45        #[offset(36)]
46        #[rename(name = "StartCamera")]
47        pub start_camera: crate::combat::cameraposition::CameraPosition,
48        #[offset(40)]
49        #[rename(name = "CameraStyle")]
50        pub camera_style: crate::combat::camerasituationconverter::CameraSituationConverter_CameraLocateStyle,
51        #[offset(44)]
52        #[rename(name = "AttendanceEnemy")]
53        pub attendance_enemy: bool,
54        #[offset(45)]
55        #[rename(name = "AttendancePEmblem")]
56        pub attendance_p_emblem: bool,
57        #[offset(46)]
58        #[rename(name = "AttendanceEEmblem")]
59        pub attendance_e_emblem: bool,
60        #[offset(48)]
61        #[rename(name = "AttendancePChain")]
62        pub attendance_p_chain: i32,
63        #[offset(52)]
64        #[rename(name = "AttendanceEChain")]
65        pub attendance_e_chain: i32,
66        #[offset(56)]
67        #[rename(name = "MapDistance")]
68        pub map_distance: i32,
69        #[offset(60)]
70        #[rename(name = "RepeatDemo")]
71        pub repeat_demo: bool,
72        #[offset(61)]
73        #[rename(name = "FakeDead")]
74        pub fake_dead: bool,
75        #[offset(62)]
76        #[rename(name = "SpeedUp")]
77        pub speed_up: bool,
78    }
79}
80
81#[cfg(feature = "combat-combatviewersettings-types")]
82pub use __types::*;
83
84#[cfg(feature = "combat-combatviewersettings")]
85pub trait ICombatViewerSettings_ViewerPhaseMethods: ICombatViewerSettings_ViewerPhase {
86    #[doc = "`.ctor()` overload"]
87    fn ctor(self) -> () {
88        unsafe {
89            let __receiver =
90                <CombatViewerSettings_ViewerPhase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91            ::unity::il2cpp_call!((::unity::module_base()+0x19caf40usize)as*mut u8,();
92(CombatViewerSettings_ViewerPhase)__receiver)
93        }
94    }
95    #[doc = "`get_IsEnd()` overload"]
96    fn get_is_end(self) -> bool {
97        unsafe {
98            let __receiver =
99                <CombatViewerSettings_ViewerPhase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
100            ::unity::il2cpp_call!((::unity::module_base()+0x19cb050usize)as*mut u8,bool;
101(CombatViewerSettings_ViewerPhase)__receiver)
102        }
103    }
104    #[doc = "`get_Item(i32)` overload"]
105    fn get_item(self, i: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
106        unsafe {
107            let __receiver =
108                <CombatViewerSettings_ViewerPhase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
109            ::unity::il2cpp_call!((::unity::module_base()+0x19cb1c0usize)as*mut u8, ::unity::Il2CppString;
110(CombatViewerSettings_ViewerPhase)__receiver,(i32)::core::convert::Into::into(i))
111        }
112    }
113    #[doc = "`set_Item(i32, ::unity::Il2CppString)` overload"]
114    fn set_item(self, i: impl ::core::convert::Into<i32>, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
115        unsafe {
116            let __receiver =
117                <CombatViewerSettings_ViewerPhase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
118            ::unity::il2cpp_call!((::unity::module_base()+0x19cb200usize)as*mut u8,();
119(CombatViewerSettings_ViewerPhase)__receiver,(i32)::core::convert::Into::into(i),(::unity::Il2CppString)::core::convert::Into::into(value))
120        }
121    }
122}
123
124#[cfg(feature = "combat-combatviewersettings")]
125impl<__T: ICombatViewerSettings_ViewerPhase> ICombatViewerSettings_ViewerPhaseMethods for __T {}
126
127#[cfg(feature = "combat-combatviewersettings")]
128impl CombatViewerSettings_ViewerPhase {
129    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
130        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
131    }
132
133    pub fn get_is_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
134        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
135    }
136
137    pub fn get_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
138        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
139    }
140
141    pub fn set_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
142        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
143    }
144}
145
146#[cfg(feature = "combat-combatviewersettings")]
147impl CombatViewerSettings_ViewerPhase {
148    #[doc = "`.ctor()` — no args"]
149    pub fn new() -> Self {
150        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
151            panic!(
152                "{}
153::{}
154 failed to instantiate",
155                ::core::stringify!(CombatViewerSettings_ViewerPhase),
156                ::core::stringify!(new),
157            )
158        });
159        <Self as ICombatViewerSettings_ViewerPhaseMethods>::ctor(this);
160        this
161    }
162}
163
164#[cfg(feature = "combat-combatviewersettings")]
165pub trait ICombatViewerSettingsMethods: ICombatViewerSettings {
166    #[doc = "`ClearPhaseArray()` overload"]
167    fn clear_phase_array(self) -> () {
168        unsafe {
169            let __receiver = <CombatViewerSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
170            ::unity::il2cpp_call!((::unity::module_base()+0x2933e40usize)as*mut u8,();
171(CombatViewerSettings)__receiver)
172        }
173    }
174    #[doc = "`Random(i32)` overload"]
175    fn random(self, maxside: impl ::core::convert::Into<i32>) -> () {
176        unsafe {
177            let __receiver = <CombatViewerSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
178            ::unity::il2cpp_call!((::unity::module_base()+0x2933ec0usize)as*mut u8,();
179(CombatViewerSettings)__receiver,(i32)::core::convert::Into::into(maxside))
180        }
181    }
182    #[doc = "`Swap()` overload"]
183    fn swap(self) -> () {
184        unsafe {
185            let __receiver = <CombatViewerSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
186            ::unity::il2cpp_call!((::unity::module_base()+0x29344b0usize)as*mut u8,();
187(CombatViewerSettings)__receiver)
188        }
189    }
190    #[doc = "`Duplicate()` overload"]
191    fn duplicate(self) -> () {
192        unsafe {
193            let __receiver = <CombatViewerSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
194            ::unity::il2cpp_call!((::unity::module_base()+0x2934600usize)as*mut u8,();
195(CombatViewerSettings)__receiver)
196        }
197    }
198    #[doc = "`ReplaceDamageSide(::unity::Array<::unity::Il2CppString>)` overload"]
199    fn replace_damage_side(self, alter: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
200        unsafe {
201            let __receiver = <CombatViewerSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
202            ::unity::il2cpp_call!((::unity::module_base()+0x2934930usize)as*mut u8,();
203(CombatViewerSettings)__receiver,(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(alter))
204        }
205    }
206    #[doc = "`.ctor()` overload"]
207    fn ctor(self) -> () {
208        unsafe {
209            let __receiver = <CombatViewerSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
210            ::unity::il2cpp_call!((::unity::module_base()+0x2934b30usize)as*mut u8,();
211(CombatViewerSettings)__receiver)
212        }
213    }
214}
215
216#[cfg(feature = "combat-combatviewersettings")]
217impl<__T: ICombatViewerSettings> ICombatViewerSettingsMethods for __T {}
218
219#[cfg(feature = "combat-combatviewersettings")]
220impl CombatViewerSettings {
221    pub fn clear_phase_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
223    }
224
225    pub fn random_method_info() -> &'static ::unity::il2cpp::MethodInfo {
226        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
227    }
228
229    pub fn swap_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
231    }
232
233    pub fn duplicate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
234        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
235    }
236
237    pub fn replace_damage_side_method_info() -> &'static ::unity::il2cpp::MethodInfo {
238        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
239    }
240
241    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
242        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
243    }
244}
245
246#[cfg(feature = "combat-combatviewersettings")]
247impl CombatViewerSettings {
248    #[doc = "`.ctor()` — no args"]
249    pub fn new() -> Self {
250        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
251            panic!(
252                "{}
253::{}
254 failed to instantiate",
255                ::core::stringify!(CombatViewerSettings),
256                ::core::stringify!(new),
257            )
258        });
259        <Self as ICombatViewerSettingsMethods>::ctor(this);
260        this
261    }
262}
263
264#[cfg(feature = "combat-combatviewersettings")]
265#[doc(hidden)]
266pub mod prelude {
267    pub use super::{
268        CombatViewerSettings, CombatViewerSettings_ViewerPhase, ICombatViewerSettings, ICombatViewerSettingsMethods,
269        ICombatViewerSettings_ViewerPhase, ICombatViewerSettings_ViewerPhaseMethods,
270    };
271    #[cfg(feature = "system-object")]
272    pub use crate::system::object::IObjectMethods;
273    #[cfg(feature = "unity_engine-object_2")]
274    pub use crate::unity_engine::object_2::IObject_2Methods;
275    #[cfg(feature = "unity_engine-scriptableobject")]
276    pub use crate::unity_engine::scriptableobject::IScriptableObjectMethods;
277    pub use crate::{
278        system::object::IObject,
279        unity_engine::{object_2::IObject_2, scriptableobject::IScriptableObject},
280    };
281}