Skip to main content

engage/generated/app/
fishingconfig_battle.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-fishingconfig_battle-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            behaviour::{Behaviour, IBehaviour},
12            component::{Component, IComponent},
13            monobehaviour::{IMonoBehaviour, MonoBehaviour},
14            object_2::{IObject_2, Object_2},
15        },
16    };
17
18    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/fishingconfig_battle/FishingConfig_Battle.md"))]
19    #[::unity::class(namespace = "App", name = "FishingConfig_Battle")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct FishingConfig_Battle {
22        #[offset(24)]
23        #[rename(name = "m_BattleCamera")]
24        pub m_battle_camera: crate::app::fishing::config::fixcameraconfig::FixCameraConfig,
25        #[offset(32)]
26        #[rename(name = "m_BattleCameraAngleBorder")]
27        pub m_battle_camera_angle_border: ::unity::Array<f32>,
28        #[offset(40)]
29        #[rename(name = "m_BattleCameraAngleLimit")]
30        pub m_battle_camera_angle_limit: ::unity::Array<f32>,
31        #[offset(48)]
32        #[rename(name = "m_BattleCameraLerpCount")]
33        pub m_battle_camera_lerp_count: i32,
34        #[offset(52)]
35        #[rename(name = "m_BattleCameraReverseLerpCount")]
36        pub m_battle_camera_reverse_lerp_count: i32,
37        #[offset(56)]
38        #[rename(name = "m_HitPopupTimeSecond")]
39        pub m_hit_popup_time_second: f32,
40        #[offset(60)]
41        #[rename(name = "m_ReadyLethalSecond")]
42        pub m_ready_lethal_second: f32,
43        #[offset(64)]
44        #[rename(name = "m_LethalTimeSecond")]
45        pub m_lethal_time_second: f32,
46        #[offset(68)]
47        #[rename(name = "m_LethalIncrease")]
48        pub m_lethal_increase: f32,
49        #[offset(72)]
50        #[rename(name = "m_LethalDecrease")]
51        pub m_lethal_decrease: f32,
52        #[offset(76)]
53        #[rename(name = "m_AttackPower")]
54        pub m_attack_power: f32,
55        #[offset(80)]
56        #[rename(name = "m_StickWaitFrameAtAttack")]
57        pub m_stick_wait_frame_at_attack: f32,
58        #[offset(84)]
59        #[rename(name = "m_AtAttackWaitFrameAtStick")]
60        pub m_at_attack_wait_frame_at_stick: f32,
61        #[offset(88)]
62        #[rename(name = "m_AngleBorder")]
63        pub m_angle_border: crate::app::fishingconfig_battle::FishingConfig_Battle_AngleBorder,
64        #[offset(96)]
65        #[rename(name = "m_RadarAngle")]
66        pub m_radar_angle: f32,
67        #[offset(100)]
68        #[rename(name = "m_RadarShadowScale")]
69        pub m_radar_shadow_scale: f32,
70        #[offset(104)]
71        #[rename(name = "m_RadarDistanceMax")]
72        pub m_radar_distance_max: f32,
73        #[offset(108)]
74        #[rename(name = "m_RadarDistanceMin")]
75        pub m_radar_distance_min: f32,
76        #[offset(112)]
77        #[rename(name = "m_RadarEscapeRate")]
78        pub m_radar_escape_rate: f32,
79        #[offset(116)]
80        #[rename(name = "m_RadarStopCounterRate")]
81        pub m_radar_stop_counter_rate: f32,
82        #[offset(120)]
83        #[rename(name = "m_FishEscapeSec")]
84        pub m_fish_escape_sec: f32,
85        #[offset(124)]
86        #[rename(name = "m_MinFishCounterTime")]
87        pub m_min_fish_counter_time: f32,
88        #[offset(128)]
89        #[rename(name = "m_ForceCounterTime")]
90        pub m_force_counter_time: f32,
91        #[offset(132)]
92        #[rename(name = "m_LethalRecoveryHPPercent")]
93        pub m_lethal_recovery_hp_percent: f32,
94        #[offset(136)]
95        #[rename(name = "m_HPGaugeMoveWait")]
96        pub m_hp_gauge_move_wait: f32,
97        #[offset(140)]
98        #[rename(name = "m_HPGaugeMoveSpeed")]
99        pub m_hp_gauge_move_speed: f32,
100        #[offset(144)]
101        #[rename(name = "m_FirstAttackDamageRate")]
102        pub m_first_attack_damage_rate: f32,
103        #[offset(148)]
104        #[rename(name = "m_AssistShowSec")]
105        pub m_assist_show_sec: f32,
106        #[offset(152)]
107        #[rename(name = "m_BattleSplashInterval")]
108        pub m_battle_splash_interval: f32,
109        #[offset(156)]
110        #[rename(name = "m_BattleCounterSplashInterval")]
111        pub m_battle_counter_splash_interval: f32,
112    }
113
114    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/fishingconfig_battle/FishingConfig_Battle_AngleBorder.md"))]
115    #[::unity::class(namespace = "App", name = "FishingConfig_Battle.AngleBorder")]
116    #[parent(crate::system::object::Object)]
117    pub struct FishingConfig_Battle_AngleBorder {
118        #[offset(16)]
119        #[rename(name = "High")]
120        pub high: f32,
121        #[offset(20)]
122        #[rename(name = "Middle")]
123        pub middle: f32,
124        #[offset(24)]
125        #[rename(name = "Low")]
126        pub low: f32,
127    }
128}
129
130#[cfg(feature = "app-fishingconfig_battle-types")]
131pub use __types::*;
132
133#[cfg(feature = "app-fishingconfig_battle")]
134pub trait IFishingConfig_BattleMethods: IFishingConfig_Battle {
135    #[doc = "`Start()` overload"]
136    fn start(self) -> () {
137        unsafe {
138            let __receiver = <FishingConfig_Battle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139            ::unity::il2cpp_call!((::unity::module_base()+0x26efc20usize)as*mut u8,();
140(FishingConfig_Battle)__receiver)
141        }
142    }
143    #[doc = "`Update()` overload"]
144    fn update(self) -> () {
145        unsafe {
146            let __receiver = <FishingConfig_Battle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147            ::unity::il2cpp_call!((::unity::module_base()+0x26efc30usize)as*mut u8,();
148(FishingConfig_Battle)__receiver)
149        }
150    }
151    #[doc = "`.ctor()` overload"]
152    fn ctor(self) -> () {
153        unsafe {
154            let __receiver = <FishingConfig_Battle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155            ::unity::il2cpp_call!((::unity::module_base()+0x26efc40usize)as*mut u8,();
156(FishingConfig_Battle)__receiver)
157        }
158    }
159}
160
161#[cfg(feature = "app-fishingconfig_battle")]
162impl<__T: IFishingConfig_Battle> IFishingConfig_BattleMethods for __T {}
163
164#[cfg(feature = "app-fishingconfig_battle")]
165impl FishingConfig_Battle {
166    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
167        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
168    }
169
170    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
171        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
172    }
173
174    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
176    }
177}
178
179#[cfg(feature = "app-fishingconfig_battle")]
180impl FishingConfig_Battle {
181    #[doc = "`.ctor()` — no args"]
182    pub fn new() -> Self {
183        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
184            panic!(
185                "{}
186::{}
187 failed to instantiate",
188                ::core::stringify!(FishingConfig_Battle),
189                ::core::stringify!(new),
190            )
191        });
192        <Self as IFishingConfig_BattleMethods>::ctor(this);
193        this
194    }
195}
196
197#[cfg(feature = "app-fishingconfig_battle")]
198pub trait IFishingConfig_Battle_AngleBorderMethods: IFishingConfig_Battle_AngleBorder {
199    #[doc = "`.ctor()` overload"]
200    fn ctor(self) -> () {
201        unsafe {
202            let __receiver =
203                <FishingConfig_Battle_AngleBorder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
204            ::unity::il2cpp_call!((::unity::module_base()+0x1e60300usize)as*mut u8,();
205(FishingConfig_Battle_AngleBorder)__receiver)
206        }
207    }
208    #[doc = "`.ctor(f32, f32, f32)` overload"]
209    fn ctor_2(
210        self,
211        set_high: impl ::core::convert::Into<f32>,
212        set_middle: impl ::core::convert::Into<f32>,
213        set_low: impl ::core::convert::Into<f32>,
214    ) -> () {
215        unsafe {
216            let __receiver =
217                <FishingConfig_Battle_AngleBorder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
218            ::unity::il2cpp_call!((::unity::module_base()+0x1e60320usize)as*mut u8,();
219(FishingConfig_Battle_AngleBorder)__receiver,(f32)::core::convert::Into::into(set_high),(f32)::core::convert::Into::into(set_middle),(f32)::core::convert::Into::into(set_low))
220        }
221    }
222}
223
224#[cfg(feature = "app-fishingconfig_battle")]
225impl<__T: IFishingConfig_Battle_AngleBorder> IFishingConfig_Battle_AngleBorderMethods for __T {}
226
227#[cfg(feature = "app-fishingconfig_battle")]
228impl FishingConfig_Battle_AngleBorder {
229    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
231    }
232
233    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
234        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
235    }
236}
237
238#[cfg(feature = "app-fishingconfig_battle")]
239impl FishingConfig_Battle_AngleBorder {
240    #[doc = "`.ctor()` — no args"]
241    pub fn new() -> Self {
242        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
243            panic!(
244                "{}
245::{}
246 failed to instantiate",
247                ::core::stringify!(FishingConfig_Battle_AngleBorder),
248                ::core::stringify!(new),
249            )
250        });
251        <Self as IFishingConfig_Battle_AngleBorderMethods>::ctor(this);
252        this
253    }
254
255    #[doc = "`.ctor(f32, f32, f32)` — overload selector"]
256    pub fn new_2(set_high: f32, set_middle: f32, set_low: f32) -> Self {
257        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
258            panic!(
259                "{}
260::{}
261 failed to instantiate",
262                ::core::stringify!(FishingConfig_Battle_AngleBorder),
263                ::core::stringify!(new_2),
264            )
265        });
266        <Self as IFishingConfig_Battle_AngleBorderMethods>::ctor_2(this, set_high, set_middle, set_low);
267        this
268    }
269}
270
271#[cfg(feature = "app-fishingconfig_battle")]
272#[doc(hidden)]
273pub mod prelude {
274    pub use super::{
275        FishingConfig_Battle, FishingConfig_Battle_AngleBorder, IFishingConfig_Battle, IFishingConfig_BattleMethods,
276        IFishingConfig_Battle_AngleBorder, IFishingConfig_Battle_AngleBorderMethods,
277    };
278    #[cfg(feature = "system-object")]
279    pub use crate::system::object::IObjectMethods;
280    #[cfg(feature = "unity_engine-behaviour")]
281    pub use crate::unity_engine::behaviour::IBehaviourMethods;
282    #[cfg(feature = "unity_engine-component")]
283    pub use crate::unity_engine::component::IComponentMethods;
284    #[cfg(feature = "unity_engine-monobehaviour")]
285    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
286    #[cfg(feature = "unity_engine-object_2")]
287    pub use crate::unity_engine::object_2::IObject_2Methods;
288    pub use crate::{
289        system::object::IObject,
290        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
291    };
292}