Skip to main content

engage/generated/app/
fishingconfig_defeat.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-fishingconfig_defeat-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_defeat/FishingConfig_Defeat.md"))]
19    #[::unity::class(namespace = "App", name = "FishingConfig_Defeat")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct FishingConfig_Defeat {
22        #[offset(24)]
23        #[rename(name = "m_SolaDefeatRot")]
24        pub m_sola_defeat_rot: crate::unity_engine::vector3::Vector3,
25        #[offset(36)]
26        #[rename(name = "m_DefeatFadeOutType")]
27        pub m_defeat_fade_out_type: crate::app::fishing::fadetype::FadeType,
28        #[offset(40)]
29        #[rename(name = "m_DefeatAnimeFrame")]
30        pub m_defeat_anime_frame: f32,
31        #[offset(44)]
32        #[rename(name = "m_SuccessStartFrame")]
33        pub m_success_start_frame: f32,
34        #[offset(48)]
35        #[rename(name = "m_DefeatFadeStartFrame")]
36        pub m_defeat_fade_start_frame: f32,
37    }
38}
39
40#[cfg(feature = "app-fishingconfig_defeat-types")]
41pub use __types::*;
42
43#[cfg(feature = "app-fishingconfig_defeat")]
44pub trait IFishingConfig_DefeatMethods: IFishingConfig_Defeat {
45    #[doc = "`.ctor()` overload"]
46    fn ctor(self) -> () {
47        unsafe {
48            let __receiver = <FishingConfig_Defeat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
49            ::unity::il2cpp_call!((::unity::module_base()+0x26efe50usize)as*mut u8,();
50(FishingConfig_Defeat)__receiver)
51        }
52    }
53}
54
55#[cfg(feature = "app-fishingconfig_defeat")]
56impl<__T: IFishingConfig_Defeat> IFishingConfig_DefeatMethods for __T {}
57
58#[cfg(feature = "app-fishingconfig_defeat")]
59impl FishingConfig_Defeat {
60    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
61        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
62    }
63}
64
65#[cfg(feature = "app-fishingconfig_defeat")]
66impl FishingConfig_Defeat {
67    #[doc = "`.ctor()` — no args"]
68    pub fn new() -> Self {
69        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
70            panic!(
71                "{}
72::{}
73 failed to instantiate",
74                ::core::stringify!(FishingConfig_Defeat),
75                ::core::stringify!(new),
76            )
77        });
78        <Self as IFishingConfig_DefeatMethods>::ctor(this);
79        this
80    }
81}
82
83#[cfg(feature = "app-fishingconfig_defeat")]
84#[doc(hidden)]
85pub mod prelude {
86    pub use super::{FishingConfig_Defeat, IFishingConfig_Defeat, IFishingConfig_DefeatMethods};
87    #[cfg(feature = "system-object")]
88    pub use crate::system::object::IObjectMethods;
89    #[cfg(feature = "unity_engine-behaviour")]
90    pub use crate::unity_engine::behaviour::IBehaviourMethods;
91    #[cfg(feature = "unity_engine-component")]
92    pub use crate::unity_engine::component::IComponentMethods;
93    #[cfg(feature = "unity_engine-monobehaviour")]
94    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
95    #[cfg(feature = "unity_engine-object_2")]
96    pub use crate::unity_engine::object_2::IObject_2Methods;
97    pub use crate::{
98        system::object::IObject,
99        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
100    };
101}