Skip to main content

engage/generated/root/
combatgaugecontroller.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-combatgaugecontroller-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/root/combatgaugecontroller/CombatGaugeController_Value.md"))]
19    #[::unity::class(namespace = "", name = "CombatGaugeController.Value")]
20    #[parent(crate::system::object::Object)]
21    pub struct CombatGaugeController_Value {
22        #[offset(16)]
23        #[rename(name = "root")]
24        pub root: crate::unity_engine::gameobject::GameObject,
25        #[offset(24)]
26        #[rename(name = "text")]
27        pub text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
28    }
29
30    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/combatgaugecontroller/CombatGaugeController.md"))]
31    #[::unity::class(namespace = "", name = "CombatGaugeController")]
32    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
33    pub struct CombatGaugeController {
34        #[static_field]
35        #[rename(name = "AnimeNamehIn")]
36        pub anime_nameh_in: ::unity::Il2CppString,
37        #[static_field]
38        #[rename(name = "AnimeNameOut")]
39        pub anime_name_out: ::unity::Il2CppString,
40        #[static_field]
41        #[rename(name = "ParamClamp")]
42        pub param_clamp: i32,
43        #[offset(24)]
44        #[rename(name = "m_IsLeft")]
45        pub m_is_left: bool,
46        #[offset(32)]
47        #[rename(name = "m_CharaName")]
48        pub m_chara_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
49        #[offset(40)]
50        #[rename(name = "m_ItemRoot")]
51        pub m_item_root: crate::unity_engine::gameobject::GameObject,
52        #[offset(48)]
53        #[rename(name = "m_ItemName")]
54        pub m_item_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
55        #[offset(56)]
56        #[rename(name = "m_Item")]
57        pub m_item: crate::unity_engine::gameobject::GameObject,
58        #[offset(64)]
59        #[rename(name = "m_HpRoot")]
60        pub m_hp_root: crate::unity_engine::gameobject::GameObject,
61        #[offset(72)]
62        #[rename(name = "m_Hp")]
63        pub m_hp: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
64        #[offset(80)]
65        #[rename(name = "m_GaueRoot")]
66        pub m_gaue_root: crate::unity_engine::gameobject::GameObject,
67        #[offset(88)]
68        #[rename(name = "m_GaugeHpBase")]
69        pub m_gauge_hp_base: crate::unity_engine::gameobject::GameObject,
70        #[offset(96)]
71        #[rename(name = "m_GaugeHpMove")]
72        pub m_gauge_hp_move: crate::unity_engine::gameobject::GameObject,
73        #[offset(104)]
74        #[rename(name = "m_GaugeHpNow")]
75        pub m_gauge_hp_now: crate::unity_engine::gameobject::GameObject,
76        #[offset(112)]
77        #[rename(name = "m_DamageColor")]
78        pub m_damage_color: crate::unity_engine::color::Color,
79        #[offset(128)]
80        #[rename(name = "m_HealColor")]
81        pub m_heal_color: crate::unity_engine::color::Color,
82        #[offset(144)]
83        #[rename(name = "m_MaxHpGaugeWidth")]
84        pub m_max_hp_gauge_width: i32,
85        #[offset(148)]
86        #[rename(name = "m_MinHpGaugeWidth")]
87        pub m_min_hp_gauge_width: i32,
88        #[offset(152)]
89        #[rename(name = "m_HpGaugeMax")]
90        pub m_hp_gauge_max: i32,
91        #[offset(156)]
92        #[rename(name = "m_HpMoveWait")]
93        pub m_hp_move_wait: f32,
94        #[offset(160)]
95        #[rename(name = "m_HpMoveSpeed")]
96        pub m_hp_move_speed: f32,
97        #[offset(168)]
98        #[rename(name = "m_HpStockRoot")]
99        pub m_hp_stock_root: crate::unity_engine::gameobject::GameObject,
100        #[offset(176)]
101        #[rename(name = "m_HpStock")]
102        pub m_hp_stock: ::unity::Array<crate::unity_engine::ui::image::Image>,
103        #[offset(184)]
104        #[rename(name = "m_HpStockSprites")]
105        pub m_hp_stock_sprites: ::unity::Array<crate::unity_engine::sprite::Sprite>,
106        #[offset(192)]
107        #[rename(name = "m_NowHpWidth")]
108        pub m_now_hp_width: f32,
109        #[offset(196)]
110        #[rename(name = "m_MovingHpWidth")]
111        pub m_moving_hp_width: f32,
112        #[offset(200)]
113        #[rename(name = "m_HpMoveWaitTimer")]
114        pub m_hp_move_wait_timer: f32,
115        #[offset(204)]
116        #[rename(name = "m_IsHpMove")]
117        pub m_is_hp_move: bool,
118        #[offset(208)]
119        #[rename(name = "m_HpMoveScale")]
120        pub m_hp_move_scale: f32,
121        #[offset(216)]
122        #[rename(name = "m_ParamRoot")]
123        pub m_param_root: crate::unity_engine::gameobject::GameObject,
124        #[offset(224)]
125        #[rename(name = "m_BtlHPTitle")]
126        pub m_btl_hp_title: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
127        #[offset(232)]
128        #[rename(name = "m_BtlAtkTitle")]
129        pub m_btl_atk_title: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
130        #[offset(240)]
131        #[rename(name = "m_BtlHitTitle")]
132        pub m_btl_hit_title: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
133        #[offset(248)]
134        #[rename(name = "m_BtlCritTitle")]
135        pub m_btl_crit_title: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
136        #[offset(256)]
137        #[rename(name = "m_BtlAtk")]
138        pub m_btl_atk: crate::system::collections::generic::list_1::List_1<crate::root::combatgaugecontroller::CombatGaugeController_Value>,
139        #[offset(264)]
140        #[rename(name = "m_BtlHit")]
141        pub m_btl_hit: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
142        #[offset(272)]
143        #[rename(name = "m_BtlCrit")]
144        pub m_btl_crit: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
145        #[offset(280)]
146        #[rename(name = "m_ChainRoot")]
147        pub m_chain_root: crate::unity_engine::gameobject::GameObject,
148        #[offset(288)]
149        #[rename(name = "m_ChainBtlAtk")]
150        pub m_chain_btl_atk: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
151        #[offset(296)]
152        #[rename(name = "m_ChainBtlHit")]
153        pub m_chain_btl_hit: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
154        #[offset(304)]
155        #[rename(name = "m_ChainBtlCrit")]
156        pub m_chain_btl_crit: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
157        #[offset(312)]
158        #[rename(name = "m_GodInfoRoot")]
159        pub m_god_info_root: crate::unity_engine::gameobject::GameObject,
160        #[offset(320)]
161        #[rename(name = "m_GodName")]
162        pub m_god_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
163        #[offset(328)]
164        #[rename(name = "m_EngageCount")]
165        pub m_engage_count: ::unity::Array<crate::unity_engine::gameobject::GameObject>,
166        #[offset(336)]
167        #[rename(name = "m_TriggeredSkillListSetter")]
168        pub m_triggered_skill_list_setter: crate::app::triggeredskilllistsetter::TriggeredSkillListSetter,
169        #[offset(344)]
170        #[rename(name = "m_BattleStartSkillList")]
171        pub m_battle_start_skill_list: crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::image::Image>,
172        #[offset(352)]
173        #[rename(name = "m_BattleStartSkillIndex")]
174        pub m_battle_start_skill_index: i32,
175        #[offset(360)]
176        #[rename(name = "m_forceTexture")]
177        pub m_force_texture: crate::system::collections::generic::list_1::List_1<crate::app::forcetexturesetter::ForceTextureSetter>,
178        #[offset(368)]
179        #[rename(name = "m_Animator")]
180        pub m_animator: crate::unity_engine::animator::Animator,
181    }
182}
183
184#[cfg(feature = "root-combatgaugecontroller-types")]
185pub use __types::*;
186
187#[cfg(feature = "root-combatgaugecontroller")]
188pub trait ICombatGaugeController_ValueMethods: ICombatGaugeController_Value {
189    #[doc = "`.ctor()` overload"]
190    fn ctor(self) -> () {
191        unsafe {
192            let __receiver =
193                <CombatGaugeController_Value as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
194            ::unity::il2cpp_call!((::unity::module_base()+0x19ca1d0usize)as*mut u8,();
195(CombatGaugeController_Value)__receiver)
196        }
197    }
198}
199
200#[cfg(feature = "root-combatgaugecontroller")]
201impl<__T: ICombatGaugeController_Value> ICombatGaugeController_ValueMethods for __T {}
202
203#[cfg(feature = "root-combatgaugecontroller")]
204impl CombatGaugeController_Value {
205    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
206        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
207    }
208}
209
210#[cfg(feature = "root-combatgaugecontroller")]
211impl CombatGaugeController_Value {
212    #[doc = "`.ctor()` — no args"]
213    pub fn new() -> Self {
214        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
215            panic!(
216                "{}
217::{}
218 failed to instantiate",
219                ::core::stringify!(CombatGaugeController_Value),
220                ::core::stringify!(new),
221            )
222        });
223        <Self as ICombatGaugeController_ValueMethods>::ctor(this);
224        this
225    }
226}
227
228#[cfg(feature = "root-combatgaugecontroller")]
229impl CombatGaugeController {
230    #[doc = "`.cctor()` overload"]
231    pub fn cctor() -> () {
232        unsafe {
233            ::unity::il2cpp_call!((::unity::module_base()+0x1ead580usize)as*mut u8,();
234            )
235        }
236    }
237}
238
239#[cfg(feature = "root-combatgaugecontroller")]
240pub trait ICombatGaugeControllerMethods: ICombatGaugeController {
241    #[doc = "`Start()` overload"]
242    fn start(self) -> () {
243        unsafe {
244            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
245            ::unity::il2cpp_call!((::unity::module_base()+0x1ea9f30usize)as*mut u8,();
246(CombatGaugeController)__receiver)
247        }
248    }
249    #[doc = "`Update()` overload"]
250    fn update(self) -> () {
251        unsafe {
252            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
253            ::unity::il2cpp_call!((::unity::module_base()+0x1ea9f70usize)as*mut u8,();
254(CombatGaugeController)__receiver)
255        }
256    }
257    #[doc = "`SetupCommon(crate::app::force::Force_Type)` overload"]
258    fn setup_common(self, force_type: impl ::core::convert::Into<crate::app::force::Force_Type>) -> () {
259        unsafe {
260            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
261            ::unity::il2cpp_call!((::unity::module_base()+0x1eaa330usize)as*mut u8,();
262(CombatGaugeController)__receiver,(crate::app::force::Force_Type)::core::convert::Into::into(force_type))
263        }
264    }
265    #[doc = "`SetupItem(crate::app::unititem::UnitItem)` overload"]
266    fn setup_item(self, item: impl ::core::convert::Into<crate::app::unititem::UnitItem>) -> () {
267        unsafe {
268            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
269            ::unity::il2cpp_call!((::unity::module_base()+0x1eaa540usize)as*mut u8,();
270(CombatGaugeController)__receiver,(crate::app::unititem::UnitItem)::core::convert::Into::into(item))
271        }
272    }
273    #[doc = "`SetupParam(crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>, i32, i32)` overload"]
274    fn setup_param(
275        self,
276        atk_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>>,
277        hit: impl ::core::convert::Into<i32>,
278        crit: impl ::core::convert::Into<i32>,
279    ) -> () {
280        unsafe {
281            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
282            ::unity::il2cpp_call!((::unity::module_base()+0x1eaaa20usize)as*mut u8,();
283(CombatGaugeController)__receiver,(crate::system::collections::generic::list_1::List_1< ::unity::Il2CppString>)::core::convert::Into::into(atk_list),(i32)::core::convert::Into::into(hit),(i32)::core::convert::Into::into(crit))
284        }
285    }
286    #[doc = "`SetupBattleAtk(crate::app::battleside::BattleSide_Type, crate::app::battleinfo::BattleInfo, crate::app::battlescenelist::BattleSceneList, crate::app::battleinfoside::BattleInfoSide)` overload"]
287    fn setup_battle_atk(
288        self,
289        side_type: impl ::core::convert::Into<crate::app::battleside::BattleSide_Type>,
290        info: impl ::core::convert::Into<crate::app::battleinfo::BattleInfo>,
291        scene_list: impl ::core::convert::Into<crate::app::battlescenelist::BattleSceneList>,
292        side: impl ::core::convert::Into<crate::app::battleinfoside::BattleInfoSide>,
293    ) -> () {
294        unsafe {
295            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
296            ::unity::il2cpp_call!((::unity::module_base()+0x1eaada0usize)as*mut u8,();
297(CombatGaugeController)__receiver,(crate::app::battleside::BattleSide_Type)::core::convert::Into::into(side_type),(crate::app::battleinfo::BattleInfo)::core::convert::Into::into(info),(crate::app::battlescenelist::BattleSceneList)::core::convert::Into::into(scene_list),(crate::app::battleinfoside::BattleInfoSide)::core::convert::Into::into(side))
298        }
299    }
300    #[doc = "`SetupInterference(crate::app::battleinfoside::BattleInfoSide)` overload"]
301    fn setup_interference(self, side: impl ::core::convert::Into<crate::app::battleinfoside::BattleInfoSide>) -> () {
302        unsafe {
303            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
304            ::unity::il2cpp_call!((::unity::module_base()+0x1eab590usize)as*mut u8,();
305(CombatGaugeController)__receiver,(crate::app::battleinfoside::BattleInfoSide)::core::convert::Into::into(side))
306        }
307    }
308    #[doc = "`SetupHealAtk(crate::app::battleside::BattleSide_Type, crate::app::battleinfo::BattleInfo, crate::app::battlescenelist::BattleSceneList)` overload"]
309    fn setup_heal_atk(
310        self,
311        side_type: impl ::core::convert::Into<crate::app::battleside::BattleSide_Type>,
312        info: impl ::core::convert::Into<crate::app::battleinfo::BattleInfo>,
313        scene_list: impl ::core::convert::Into<crate::app::battlescenelist::BattleSceneList>,
314    ) -> () {
315        unsafe {
316            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
317            ::unity::il2cpp_call!((::unity::module_base()+0x1eab7f0usize)as*mut u8,();
318(CombatGaugeController)__receiver,(crate::app::battleside::BattleSide_Type)::core::convert::Into::into(side_type),(crate::app::battleinfo::BattleInfo)::core::convert::Into::into(info),(crate::app::battlescenelist::BattleSceneList)::core::convert::Into::into(scene_list))
319        }
320    }
321    #[doc = "`HideParam()` overload"]
322    fn hide_param(self) -> () {
323        unsafe {
324            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
325            ::unity::il2cpp_call!((::unity::module_base()+0x1eabb00usize)as*mut u8,();
326(CombatGaugeController)__receiver)
327        }
328    }
329    #[doc = "`SetupParamBorder()` overload"]
330    fn setup_param_border(self) -> () {
331        unsafe {
332            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
333            ::unity::il2cpp_call!((::unity::module_base()+0x1eabb80usize)as*mut u8,();
334(CombatGaugeController)__receiver)
335        }
336    }
337    #[doc = "`SetupChainParam(::unity::Il2CppString, i32, i32)` overload"]
338    fn setup_chain_param(
339        self,
340        atk: impl ::core::convert::Into<::unity::Il2CppString>,
341        hit: impl ::core::convert::Into<i32>,
342        crit: impl ::core::convert::Into<i32>,
343    ) -> () {
344        unsafe {
345            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
346            ::unity::il2cpp_call!((::unity::module_base()+0x1eab450usize)as*mut u8,();
347(CombatGaugeController)__receiver,(::unity::Il2CppString)::core::convert::Into::into(atk),(i32)::core::convert::Into::into(hit),(i32)::core::convert::Into::into(crit))
348        }
349    }
350    #[doc = "`HideChainParam()` overload"]
351    fn hide_chain_param(self) -> () {
352        unsafe {
353            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
354            ::unity::il2cpp_call!((::unity::module_base()+0x1eab510usize)as*mut u8,();
355(CombatGaugeController)__receiver)
356        }
357    }
358    #[doc = "`ShowHp(crate::app::unit::Unit, i32, i32, crate::app::force::Force_Type)` overload"]
359    fn show_hp(
360        self,
361        unit: impl ::core::convert::Into<crate::app::unit::Unit>,
362        hp: impl ::core::convert::Into<i32>,
363        max_hp: impl ::core::convert::Into<i32>,
364        force_type: impl ::core::convert::Into<crate::app::force::Force_Type>,
365    ) -> () {
366        unsafe {
367            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
368            ::unity::il2cpp_call!((::unity::module_base()+0x1eabc60usize)as*mut u8,();
369(CombatGaugeController)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(hp),(i32)::core::convert::Into::into(max_hp),(crate::app::force::Force_Type)::core::convert::Into::into(force_type))
370        }
371    }
372    #[doc = "`HideHp()` overload"]
373    fn hide_hp(self) -> () {
374        unsafe {
375            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376            ::unity::il2cpp_call!((::unity::module_base()+0x1eabea0usize)as*mut u8,();
377(CombatGaugeController)__receiver)
378        }
379    }
380    #[doc = "`SetupHpGauge(i32, i32)` overload"]
381    fn setup_hp_gauge(self, now: impl ::core::convert::Into<i32>, max: impl ::core::convert::Into<i32>) -> () {
382        unsafe {
383            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
384            ::unity::il2cpp_call!((::unity::module_base()+0x1eabd20usize)as*mut u8,();
385(CombatGaugeController)__receiver,(i32)::core::convert::Into::into(now),(i32)::core::convert::Into::into(max))
386        }
387    }
388    #[doc = "`TrySetGaugeColor(crate::unity_engine::gameobject::GameObject, crate::unity_engine::color::Color)` overload"]
389    fn try_set_gauge_color(
390        self,
391        gauge: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
392        color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
393    ) -> () {
394        unsafe {
395            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
396            ::unity::il2cpp_call!((::unity::module_base()+0x1eaa110usize)as*mut u8,();
397(CombatGaugeController)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(gauge),(crate::unity_engine::color::Color)::core::convert::Into::into(color))
398        }
399    }
400    #[doc = "`TrgSetGaugeLayout(crate::unity_engine::gameobject::GameObject, f32)` overload"]
401    fn trg_set_gauge_layout(
402        self,
403        obj: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
404        width: impl ::core::convert::Into<f32>,
405    ) -> () {
406        unsafe {
407            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
408            ::unity::il2cpp_call!((::unity::module_base()+0x1eabf60usize)as*mut u8,();
409(CombatGaugeController)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(obj),(f32)::core::convert::Into::into(width))
410        }
411    }
412    #[doc = "`TrySetGaugeWidth(crate::unity_engine::gameobject::GameObject, f32)` overload"]
413    fn try_set_gauge_width(
414        self,
415        gauge: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
416        width: impl ::core::convert::Into<f32>,
417    ) -> () {
418        unsafe {
419            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
420            ::unity::il2cpp_call!((::unity::module_base()+0x1eaa230usize)as*mut u8,();
421(CombatGaugeController)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(gauge),(f32)::core::convert::Into::into(width))
422        }
423    }
424    #[doc = "`CalcHpGaugeMaxWidth(i32)` overload"]
425    fn calc_hp_gauge_max_width(self, max_hp: impl ::core::convert::Into<i32>) -> f32 {
426        unsafe {
427            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
428            ::unity::il2cpp_call!((::unity::module_base()+0x1eabf20usize)as*mut u8,f32;
429(CombatGaugeController)__receiver,(i32)::core::convert::Into::into(max_hp))
430        }
431    }
432    #[doc = "`Setup(crate::app::battleside::BattleSide_Type, crate::app::battlecalculator::BattleCalculator)` overload"]
433    fn setup(
434        self,
435        side_type: impl ::core::convert::Into<crate::app::battleside::BattleSide_Type>,
436        calculator: impl ::core::convert::Into<crate::app::battlecalculator::BattleCalculator>,
437    ) -> () {
438        unsafe {
439            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
440            ::unity::il2cpp_call!((::unity::module_base()+0x1eac030usize)as*mut u8,();
441(CombatGaugeController)__receiver,(crate::app::battleside::BattleSide_Type)::core::convert::Into::into(side_type),(crate::app::battlecalculator::BattleCalculator)::core::convert::Into::into(calculator))
442        }
443    }
444    #[doc = "`UpdateValues(i32, i32, i32)` overload"]
445    fn update_values(
446        self,
447        hp: impl ::core::convert::Into<i32>,
448        maxhp: impl ::core::convert::Into<i32>,
449        engage_count: impl ::core::convert::Into<i32>,
450    ) -> () {
451        unsafe {
452            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
453            ::unity::il2cpp_call!((::unity::module_base()+0x1eacca0usize)as*mut u8,();
454(CombatGaugeController)__receiver,(i32)::core::convert::Into::into(hp),(i32)::core::convert::Into::into(maxhp),(i32)::core::convert::Into::into(engage_count))
455        }
456    }
457    #[doc = "`UpdateHp(i32, i32)` overload"]
458    fn update_hp(self, hp: impl ::core::convert::Into<i32>, maxhp: impl ::core::convert::Into<i32>) -> () {
459        unsafe {
460            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
461            ::unity::il2cpp_call!((::unity::module_base()+0x1eaccd0usize)as*mut u8,();
462(CombatGaugeController)__receiver,(i32)::core::convert::Into::into(hp),(i32)::core::convert::Into::into(maxhp))
463        }
464    }
465    #[doc = "`UpdateEngageCount(i32)` overload"]
466    fn update_engage_count(self, engage_count: impl ::core::convert::Into<i32>) -> () {
467        unsafe {
468            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
469            ::unity::il2cpp_call!((::unity::module_base()+0x1eacbc0usize)as*mut u8,();
470(CombatGaugeController)__receiver,(i32)::core::convert::Into::into(engage_count))
471        }
472    }
473    #[doc = "`IsMoving()` overload"]
474    fn is_moving(self) -> bool {
475        unsafe {
476            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
477            ::unity::il2cpp_call!((::unity::module_base()+0x1eacea0usize)as*mut u8,bool;
478(CombatGaugeController)__receiver)
479        }
480    }
481    #[doc = "`SkipGaugeAnime()` overload"]
482    fn skip_gauge_anime(self) -> () {
483        unsafe {
484            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
485            ::unity::il2cpp_call!((::unity::module_base()+0x1eaa100usize)as*mut u8,();
486(CombatGaugeController)__receiver)
487        }
488    }
489    #[doc = "`HideSkillDisplay()` overload"]
490    fn hide_skill_display(self) -> () {
491        unsafe {
492            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
493            ::unity::il2cpp_call!((::unity::module_base()+0x1ea9f50usize)as*mut u8,();
494(CombatGaugeController)__receiver)
495        }
496    }
497    #[doc = "`PushShowSkill(crate::app::skilldata::SkillData)` overload"]
498    fn push_show_skill(self, skill_data: impl ::core::convert::Into<crate::app::skilldata::SkillData>) -> () {
499        unsafe {
500            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
501            ::unity::il2cpp_call!((::unity::module_base()+0x1eacef0usize)as*mut u8,();
502(CombatGaugeController)__receiver,(crate::app::skilldata::SkillData)::core::convert::Into::into(skill_data))
503        }
504    }
505    #[doc = "`In()` overload"]
506    fn r#in(self) -> () {
507        unsafe {
508            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
509            ::unity::il2cpp_call!((::unity::module_base()+0x1ead050usize)as*mut u8,();
510(CombatGaugeController)__receiver)
511        }
512    }
513    #[doc = "`Out(f32)` overload"]
514    fn out(self, ntime: impl ::core::convert::Into<f32>) -> () {
515        unsafe {
516            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
517            ::unity::il2cpp_call!((::unity::module_base()+0x1ead2c0usize)as*mut u8,();
518(CombatGaugeController)__receiver,(f32)::core::convert::Into::into(ntime))
519        }
520    }
521    #[doc = "`IsPlayingAnim()` overload"]
522    fn is_playing_anim(self) -> bool {
523        unsafe {
524            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
525            ::unity::il2cpp_call!((::unity::module_base()+0x1ead450usize)as*mut u8,bool;
526(CombatGaugeController)__receiver)
527        }
528    }
529    #[doc = "`.ctor()` overload"]
530    fn ctor(self) -> () {
531        unsafe {
532            let __receiver = <CombatGaugeController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
533            ::unity::il2cpp_call!((::unity::module_base()+0x1ead550usize)as*mut u8,();
534(CombatGaugeController)__receiver)
535        }
536    }
537}
538
539#[cfg(feature = "root-combatgaugecontroller")]
540impl<__T: ICombatGaugeController> ICombatGaugeControllerMethods for __T {}
541
542#[cfg(feature = "root-combatgaugecontroller")]
543impl CombatGaugeController {
544    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
545        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
546    }
547
548    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
549        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
550    }
551
552    pub fn setup_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
553        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
554    }
555
556    pub fn setup_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
557        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
558    }
559
560    pub fn setup_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
561        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
562    }
563
564    pub fn setup_battle_atk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
565        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
566    }
567
568    pub fn setup_interference_method_info() -> &'static ::unity::il2cpp::MethodInfo {
569        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
570    }
571
572    pub fn setup_heal_atk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
573        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
574    }
575
576    pub fn hide_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
577        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
578    }
579
580    pub fn setup_param_border_method_info() -> &'static ::unity::il2cpp::MethodInfo {
581        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
582    }
583
584    pub fn setup_chain_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
585        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
586    }
587
588    pub fn hide_chain_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
589        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
590    }
591
592    pub fn show_hp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
593        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
594    }
595
596    pub fn hide_hp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
597        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
598    }
599
600    pub fn setup_hp_gauge_method_info() -> &'static ::unity::il2cpp::MethodInfo {
601        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
602    }
603
604    pub fn try_set_gauge_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
605        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
606    }
607
608    pub fn trg_set_gauge_layout_method_info() -> &'static ::unity::il2cpp::MethodInfo {
609        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
610    }
611
612    pub fn try_set_gauge_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
613        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
614    }
615
616    pub fn calc_hp_gauge_max_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
617        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
618    }
619
620    pub fn setup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
621        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
622    }
623
624    pub fn update_values_method_info() -> &'static ::unity::il2cpp::MethodInfo {
625        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
626    }
627
628    pub fn update_hp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
629        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
630    }
631
632    pub fn update_engage_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
633        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
634    }
635
636    pub fn is_moving_method_info() -> &'static ::unity::il2cpp::MethodInfo {
637        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
638    }
639
640    pub fn skip_gauge_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
641        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
642    }
643
644    pub fn hide_skill_display_method_info() -> &'static ::unity::il2cpp::MethodInfo {
645        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
646    }
647
648    pub fn push_show_skill_method_info() -> &'static ::unity::il2cpp::MethodInfo {
649        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
650    }
651
652    pub fn in_method_info() -> &'static ::unity::il2cpp::MethodInfo {
653        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
654    }
655
656    pub fn out_method_info() -> &'static ::unity::il2cpp::MethodInfo {
657        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
658    }
659
660    pub fn is_playing_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
661        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
662    }
663
664    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
665        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
666    }
667
668    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
669        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
670    }
671}
672
673#[cfg(feature = "root-combatgaugecontroller")]
674impl CombatGaugeController {
675    #[doc = "`.ctor()` — no args"]
676    pub fn new() -> Self {
677        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
678            panic!(
679                "{}
680::{}
681 failed to instantiate",
682                ::core::stringify!(CombatGaugeController),
683                ::core::stringify!(new),
684            )
685        });
686        <Self as ICombatGaugeControllerMethods>::ctor(this);
687        this
688    }
689}
690
691#[cfg(feature = "root-combatgaugecontroller")]
692#[doc(hidden)]
693pub mod prelude {
694    pub use super::{
695        CombatGaugeController, CombatGaugeController_Value, ICombatGaugeController, ICombatGaugeControllerMethods, ICombatGaugeController_Value,
696        ICombatGaugeController_ValueMethods,
697    };
698    #[cfg(feature = "system-object")]
699    pub use crate::system::object::IObjectMethods;
700    #[cfg(feature = "unity_engine-behaviour")]
701    pub use crate::unity_engine::behaviour::IBehaviourMethods;
702    #[cfg(feature = "unity_engine-component")]
703    pub use crate::unity_engine::component::IComponentMethods;
704    #[cfg(feature = "unity_engine-monobehaviour")]
705    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
706    #[cfg(feature = "unity_engine-object_2")]
707    pub use crate::unity_engine::object_2::IObject_2Methods;
708    pub use crate::{
709        system::object::IObject,
710        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
711    };
712}