Skip to main content

engage/generated/app/
dragonrideshot.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-dragonrideshot-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/dragonrideshot/DragonRideShot.md"))]
19    #[::unity::class(namespace = "App", name = "DragonRideShot")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct DragonRideShot {
22        #[offset(76)]
23        #[rename(name = "m_PrePosition")]
24        pub m_pre_position: crate::unity_engine::vector3::Vector3,
25        #[offset(88)]
26        #[rename(name = "m_IsAssist")]
27        pub m_is_assist: bool,
28        #[offset(89)]
29        #[rename(name = "m_IsPenetrate")]
30        pub m_is_penetrate: bool,
31        #[offset(90)]
32        #[rename(name = "m_IsSpecialShot")]
33        pub m_is_special_shot: bool,
34        #[offset(91)]
35        #[rename(name = "m_IsMaximumAssist")]
36        pub m_is_maximum_assist: bool,
37        #[offset(92)]
38        #[rename(name = "m_IsDestroy")]
39        pub m_is_destroy: bool,
40        #[offset(96)]
41        #[rename(name = "m_DiffInterp")]
42        pub m_diff_interp: crate::app::interpolatorfloat::InterpolatorFloat,
43        #[offset(104)]
44        #[rename(name = "m_Effect")]
45        pub m_effect: crate::unity_engine::gameobject::GameObject,
46        #[offset(112)]
47        #[rename(name = "m_CheckRayPoint")]
48        pub m_check_ray_point: ::unity::Array<crate::unity_engine::vector3::Vector3>,
49        #[offset(120)]
50        #[rename(name = "m_HitCheckRay")]
51        pub m_hit_check_ray: crate::unity_engine::ray::Ray,
52        #[offset(144)]
53        #[rename(name = "m_LifeTimer")]
54        pub m_life_timer: f32,
55    }
56}
57
58#[cfg(feature = "app-dragonrideshot-types")]
59pub use __types::*;
60
61#[cfg(feature = "app-dragonrideshot")]
62pub trait IDragonRideShotMethods: IDragonRideShot {
63    #[doc = "`get_EraseSecond()` overload"]
64    fn get_erase_second(self) -> f32 {
65        unsafe {
66            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67            ::unity::il2cpp_call!((::unity::module_base()+0x2ad8920usize)as*mut u8,f32;
68(DragonRideShot)__receiver)
69        }
70    }
71    #[doc = "`set_EraseSecond(f32)` overload"]
72    fn set_erase_second(self, value: impl ::core::convert::Into<f32>) -> () {
73        unsafe {
74            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75            ::unity::il2cpp_call!((::unity::module_base()+0x2ad8930usize)as*mut u8,();
76(DragonRideShot)__receiver,(f32)::core::convert::Into::into(value))
77        }
78    }
79    #[doc = "`get_ShotSpeed()` overload"]
80    fn get_shot_speed(self) -> f32 {
81        unsafe {
82            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83            ::unity::il2cpp_call!((::unity::module_base()+0x2ad8940usize)as*mut u8,f32;
84(DragonRideShot)__receiver)
85        }
86    }
87    #[doc = "`set_ShotSpeed(f32)` overload"]
88    fn set_shot_speed(self, value: impl ::core::convert::Into<f32>) -> () {
89        unsafe {
90            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91            ::unity::il2cpp_call!((::unity::module_base()+0x2ad8950usize)as*mut u8,();
92(DragonRideShot)__receiver,(f32)::core::convert::Into::into(value))
93        }
94    }
95    #[doc = "`get_IsInitialized()` overload"]
96    fn get_is_initialized(self) -> bool {
97        unsafe {
98            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99            ::unity::il2cpp_call!((::unity::module_base()+0x2ad8960usize)as*mut u8,bool;
100(DragonRideShot)__receiver)
101        }
102    }
103    #[doc = "`set_IsInitialized(bool)` overload"]
104    fn set_is_initialized(self, value: impl ::core::convert::Into<bool>) -> () {
105        unsafe {
106            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107            ::unity::il2cpp_call!((::unity::module_base()+0x2ad8970usize)as*mut u8,();
108(DragonRideShot)__receiver,(bool)::core::convert::Into::into(value))
109        }
110    }
111    #[doc = "`get_StraightVector()` overload"]
112    fn get_straight_vector(self) -> crate::unity_engine::vector3::Vector3 {
113        unsafe {
114            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
115            ::unity::il2cpp_call!((::unity::module_base()+0x2ad8980usize)as*mut u8,crate::unity_engine::vector3::Vector3;
116(DragonRideShot)__receiver)
117        }
118    }
119    #[doc = "`set_StraightVector(crate::unity_engine::vector3::Vector3)` overload"]
120    fn set_straight_vector(self, value: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> () {
121        unsafe {
122            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123            ::unity::il2cpp_call!((::unity::module_base()+0x2ad8990usize)as*mut u8,();
124(DragonRideShot)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(value))
125        }
126    }
127    #[doc = "`get_FirstVector()` overload"]
128    fn get_first_vector(self) -> crate::unity_engine::vector3::Vector3 {
129        unsafe {
130            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131            ::unity::il2cpp_call!((::unity::module_base()+0x2ad89a0usize)as*mut u8,crate::unity_engine::vector3::Vector3;
132(DragonRideShot)__receiver)
133        }
134    }
135    #[doc = "`set_FirstVector(crate::unity_engine::vector3::Vector3)` overload"]
136    fn set_first_vector(self, value: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> () {
137        unsafe {
138            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139            ::unity::il2cpp_call!((::unity::module_base()+0x2ad89b0usize)as*mut u8,();
140(DragonRideShot)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(value))
141        }
142    }
143    #[doc = "`get_DiffVector()` overload"]
144    fn get_diff_vector(self) -> crate::unity_engine::vector3::Vector3 {
145        unsafe {
146            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147            ::unity::il2cpp_call!((::unity::module_base()+0x2ad89c0usize)as*mut u8,crate::unity_engine::vector3::Vector3;
148(DragonRideShot)__receiver)
149        }
150    }
151    #[doc = "`set_DiffVector(crate::unity_engine::vector3::Vector3)` overload"]
152    fn set_diff_vector(self, value: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> () {
153        unsafe {
154            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155            ::unity::il2cpp_call!((::unity::module_base()+0x2ad89d0usize)as*mut u8,();
156(DragonRideShot)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(value))
157        }
158    }
159    #[doc = "`get_InterpStraightSecond()` overload"]
160    fn get_interp_straight_second(self) -> f32 {
161        unsafe {
162            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163            ::unity::il2cpp_call!((::unity::module_base()+0x2ad89e0usize)as*mut u8,f32;
164(DragonRideShot)__receiver)
165        }
166    }
167    #[doc = "`set_InterpStraightSecond(f32)` overload"]
168    fn set_interp_straight_second(self, value: impl ::core::convert::Into<f32>) -> () {
169        unsafe {
170            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
171            ::unity::il2cpp_call!((::unity::module_base()+0x2ad89f0usize)as*mut u8,();
172(DragonRideShot)__receiver,(f32)::core::convert::Into::into(value))
173        }
174    }
175    #[doc = "`Initialize(bool, bool, bool, bool)` overload"]
176    fn initialize(
177        self,
178        is_assist: impl ::core::convert::Into<bool>,
179        is_special: impl ::core::convert::Into<bool>,
180        is_penetrate: impl ::core::convert::Into<bool>,
181        is_maximum: impl ::core::convert::Into<bool>,
182    ) -> () {
183        unsafe {
184            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
185            ::unity::il2cpp_call!((::unity::module_base()+0x2ad8a00usize)as*mut u8,();
186(DragonRideShot)__receiver,(bool)::core::convert::Into::into(is_assist),(bool)::core::convert::Into::into(is_special),(bool)::core::convert::Into::into(is_penetrate),(bool)::core::convert::Into::into(is_maximum))
187        }
188    }
189    #[doc = "`PostUpdate()` overload"]
190    fn post_update(self) -> () {
191        unsafe {
192            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
193            ::unity::il2cpp_call!((::unity::module_base()+0x2ad8e10usize)as*mut u8,();
194(DragonRideShot)__receiver)
195        }
196    }
197    #[doc = "`OnTriggerEnter(crate::unity_engine::collider::Collider)` overload"]
198    fn on_trigger_enter(self, collision: impl ::core::convert::Into<crate::unity_engine::collider::Collider>) -> () {
199        unsafe {
200            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201            ::unity::il2cpp_call!((::unity::module_base()+0x2ad9640usize)as*mut u8,();
202(DragonRideShot)__receiver,(crate::unity_engine::collider::Collider)::core::convert::Into::into(collision))
203        }
204    }
205    #[doc = "`CallReset()` overload"]
206    fn call_reset(self) -> () {
207        unsafe {
208            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209            ::unity::il2cpp_call!((::unity::module_base()+0x2ad9650usize)as*mut u8,();
210(DragonRideShot)__receiver)
211        }
212    }
213    #[doc = "`Update()` overload"]
214    fn update(self) -> () {
215        unsafe {
216            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217            ::unity::il2cpp_call!((::unity::module_base()+0x2ad9750usize)as*mut u8,();
218(DragonRideShot)__receiver)
219        }
220    }
221    #[doc = "`.ctor()` overload"]
222    fn ctor(self) -> () {
223        unsafe {
224            let __receiver = <DragonRideShot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225            ::unity::il2cpp_call!((::unity::module_base()+0x2ad9760usize)as*mut u8,();
226(DragonRideShot)__receiver)
227        }
228    }
229}
230
231#[cfg(feature = "app-dragonrideshot")]
232impl<__T: IDragonRideShot> IDragonRideShotMethods for __T {}
233
234#[cfg(feature = "app-dragonrideshot")]
235impl DragonRideShot {
236    pub fn get_erase_second_method_info() -> &'static ::unity::il2cpp::MethodInfo {
237        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
238    }
239
240    pub fn set_erase_second_method_info() -> &'static ::unity::il2cpp::MethodInfo {
241        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
242    }
243
244    pub fn get_shot_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
245        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
246    }
247
248    pub fn set_shot_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
249        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
250    }
251
252    pub fn get_is_initialized_method_info() -> &'static ::unity::il2cpp::MethodInfo {
253        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
254    }
255
256    pub fn set_is_initialized_method_info() -> &'static ::unity::il2cpp::MethodInfo {
257        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
258    }
259
260    pub fn get_straight_vector_method_info() -> &'static ::unity::il2cpp::MethodInfo {
261        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
262    }
263
264    pub fn set_straight_vector_method_info() -> &'static ::unity::il2cpp::MethodInfo {
265        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
266    }
267
268    pub fn get_first_vector_method_info() -> &'static ::unity::il2cpp::MethodInfo {
269        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
270    }
271
272    pub fn set_first_vector_method_info() -> &'static ::unity::il2cpp::MethodInfo {
273        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
274    }
275
276    pub fn get_diff_vector_method_info() -> &'static ::unity::il2cpp::MethodInfo {
277        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
278    }
279
280    pub fn set_diff_vector_method_info() -> &'static ::unity::il2cpp::MethodInfo {
281        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
282    }
283
284    pub fn get_interp_straight_second_method_info() -> &'static ::unity::il2cpp::MethodInfo {
285        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
286    }
287
288    pub fn set_interp_straight_second_method_info() -> &'static ::unity::il2cpp::MethodInfo {
289        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
290    }
291
292    pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
293        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
294    }
295
296    pub fn post_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
297        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
298    }
299
300    pub fn on_trigger_enter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
301        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
302    }
303
304    pub fn call_reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
305        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
306    }
307
308    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
309        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
310    }
311
312    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
313        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
314    }
315}
316
317#[cfg(feature = "app-dragonrideshot")]
318impl DragonRideShot {
319    #[doc = "`.ctor()` — no args"]
320    pub fn new() -> Self {
321        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
322            panic!(
323                "{}
324::{}
325 failed to instantiate",
326                ::core::stringify!(DragonRideShot),
327                ::core::stringify!(new),
328            )
329        });
330        <Self as IDragonRideShotMethods>::ctor(this);
331        this
332    }
333}
334
335#[cfg(feature = "app-dragonrideshot")]
336#[doc(hidden)]
337pub mod prelude {
338    pub use super::{DragonRideShot, IDragonRideShot, IDragonRideShotMethods};
339    #[cfg(feature = "system-object")]
340    pub use crate::system::object::IObjectMethods;
341    #[cfg(feature = "unity_engine-behaviour")]
342    pub use crate::unity_engine::behaviour::IBehaviourMethods;
343    #[cfg(feature = "unity_engine-component")]
344    pub use crate::unity_engine::component::IComponentMethods;
345    #[cfg(feature = "unity_engine-monobehaviour")]
346    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
347    #[cfg(feature = "unity_engine-object_2")]
348    pub use crate::unity_engine::object_2::IObject_2Methods;
349    pub use crate::{
350        system::object::IObject,
351        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
352    };
353}