Skip to main content

engage/generated/app/
fortunetellingresultmenu.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-fortunetellingresultmenu-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/fortunetellingresultmenu/FortuneTellingResultMenu.md"))]
19    #[::unity::class(namespace = "App", name = "FortuneTellingResultMenu")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct FortuneTellingResultMenu {
22        #[static_field]
23        #[rename(name = "ForceMask")]
24        pub force_mask: u32,
25        #[static_field]
26        #[rename(name = "MessageKind")]
27        pub message_kind: i32,
28        #[offset(24)]
29        #[rename(name = "m_unitName")]
30        pub m_unit_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
31        #[offset(32)]
32        #[rename(name = "m_cardRoot")]
33        pub m_card_root: crate::unity_engine::gameobject::GameObject,
34        #[offset(40)]
35        #[rename(name = "m_result0Title")]
36        pub m_result0_title: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
37        #[offset(48)]
38        #[rename(name = "m_result0Text")]
39        pub m_result0_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
40        #[offset(56)]
41        #[rename(name = "m_result1Title")]
42        pub m_result1_title: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
43        #[offset(64)]
44        #[rename(name = "m_result1Text")]
45        pub m_result1_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
46        #[offset(72)]
47        #[rename(name = "m_unit")]
48        pub m_unit: crate::app::unit::Unit,
49        #[offset(80)]
50        #[rename(name = "m_cardKind")]
51        pub m_card_kind: i32,
52        #[offset(84)]
53        #[rename(name = "m_bCardPositive")]
54        pub m_b_card_positive: bool,
55        #[offset(88)]
56        #[rename(name = "m_cardAnimator")]
57        pub m_card_animator: crate::unity_engine::animator::Animator,
58    }
59}
60
61#[cfg(feature = "app-fortunetellingresultmenu-types")]
62pub use __types::*;
63
64#[cfg(feature = "app-fortunetellingresultmenu")]
65impl FortuneTellingResultMenu {
66    #[doc = "`.cctor()` overload"]
67    pub fn cctor() -> () {
68        unsafe {
69            ::unity::il2cpp_call!((::unity::module_base()+0x2617ea0usize)as*mut u8,();
70            )
71        }
72    }
73}
74
75#[cfg(feature = "app-fortunetellingresultmenu")]
76pub trait IFortuneTellingResultMenuMethods: IFortuneTellingResultMenu {
77    #[doc = "`Start()` overload"]
78    fn start(self) -> () {
79        unsafe {
80            let __receiver =
81                <FortuneTellingResultMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
82            ::unity::il2cpp_call!((::unity::module_base()+0x26172b0usize)as*mut u8,();
83(FortuneTellingResultMenu)__receiver)
84        }
85    }
86    #[doc = "`Init(crate::app::unit::Unit)` overload"]
87    fn init(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
88        unsafe {
89            let __receiver =
90                <FortuneTellingResultMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91            ::unity::il2cpp_call!((::unity::module_base()+0x26172c0usize)as*mut u8,();
92(FortuneTellingResultMenu)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
93        }
94    }
95    #[doc = "`Update()` overload"]
96    fn update(self) -> () {
97        unsafe {
98            let __receiver =
99                <FortuneTellingResultMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
100            ::unity::il2cpp_call!((::unity::module_base()+0x2617a10usize)as*mut u8,();
101(FortuneTellingResultMenu)__receiver)
102        }
103    }
104    #[doc = "`GetResultMessage()` overload"]
105    fn get_result_message(self) -> ::unity::Il2CppString {
106        unsafe {
107            let __receiver =
108                <FortuneTellingResultMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
109            ::unity::il2cpp_call!((::unity::module_base()+0x2617cc0usize)as*mut u8, ::unity::Il2CppString;
110(FortuneTellingResultMenu)__receiver)
111        }
112    }
113    #[doc = "`.ctor()` overload"]
114    fn ctor(self) -> () {
115        unsafe {
116            let __receiver =
117                <FortuneTellingResultMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
118            ::unity::il2cpp_call!((::unity::module_base()+0x2617e20usize)as*mut u8,();
119(FortuneTellingResultMenu)__receiver)
120        }
121    }
122}
123
124#[cfg(feature = "app-fortunetellingresultmenu")]
125impl<__T: IFortuneTellingResultMenu> IFortuneTellingResultMenuMethods for __T {}
126
127#[cfg(feature = "app-fortunetellingresultmenu")]
128impl FortuneTellingResultMenu {
129    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
130        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
131    }
132
133    pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
134        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
135    }
136
137    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
138        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
139    }
140
141    pub fn get_result_message_method_info() -> &'static ::unity::il2cpp::MethodInfo {
142        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
143    }
144
145    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
146        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
147    }
148
149    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
150        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
151    }
152}
153
154#[cfg(feature = "app-fortunetellingresultmenu")]
155impl FortuneTellingResultMenu {
156    #[doc = "`.ctor()` — no args"]
157    pub fn new() -> Self {
158        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
159            panic!(
160                "{}
161::{}
162 failed to instantiate",
163                ::core::stringify!(FortuneTellingResultMenu),
164                ::core::stringify!(new),
165            )
166        });
167        <Self as IFortuneTellingResultMenuMethods>::ctor(this);
168        this
169    }
170}
171
172#[cfg(feature = "app-fortunetellingresultmenu")]
173#[doc(hidden)]
174pub mod prelude {
175    pub use super::{FortuneTellingResultMenu, IFortuneTellingResultMenu, IFortuneTellingResultMenuMethods};
176    #[cfg(feature = "system-object")]
177    pub use crate::system::object::IObjectMethods;
178    #[cfg(feature = "unity_engine-behaviour")]
179    pub use crate::unity_engine::behaviour::IBehaviourMethods;
180    #[cfg(feature = "unity_engine-component")]
181    pub use crate::unity_engine::component::IComponentMethods;
182    #[cfg(feature = "unity_engine-monobehaviour")]
183    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
184    #[cfg(feature = "unity_engine-object_2")]
185    pub use crate::unity_engine::object_2::IObject_2Methods;
186    pub use crate::{
187        system::object::IObject,
188        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
189    };
190}