engage/generated/app/
shopsellaccountwindow.rs1#[cfg(feature = "app-shopsellaccountwindow-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/shopsellaccountwindow/ShopSellAccountWindow.md"))]
19 #[::unity::class(namespace = "App", name = "ShopSellAccountWindow")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct ShopSellAccountWindow {
22 #[offset(24)]
23 #[rename(name = "m_CountTitleText")]
24 pub m_count_title_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
25 #[offset(32)]
26 #[rename(name = "m_CountValueText")]
27 pub m_count_value_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
28 #[offset(40)]
29 #[rename(name = "m_TotalTitleText")]
30 pub m_total_title_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
31 #[offset(48)]
32 #[rename(name = "m_TotalValueText")]
33 pub m_total_value_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
34 #[offset(56)]
35 #[rename(name = "m_TotalValueGText")]
36 pub m_total_value_g_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
37 #[offset(72)]
38 #[rename(name = "m_Animator")]
39 pub m_animator: crate::unity_engine::animator::Animator,
40 }
41}
42
43#[cfg(feature = "app-shopsellaccountwindow-types")]
44pub use __types::*;
45
46#[cfg(feature = "app-shopsellaccountwindow")]
47pub trait IShopSellAccountWindowMethods: IShopSellAccountWindow {
48 #[doc = "`get_m_Count()` overload"]
49 fn get_m_count(self) -> i32 {
50 unsafe {
51 let __receiver = <ShopSellAccountWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
52 ::unity::il2cpp_call!((::unity::module_base()+0x21b1f40usize)as*mut u8,i32;
53(ShopSellAccountWindow)__receiver)
54 }
55 }
56 #[doc = "`set_m_Count(i32)` overload"]
57 fn set_m_count(self, value: impl ::core::convert::Into<i32>) -> () {
58 unsafe {
59 let __receiver = <ShopSellAccountWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
60 ::unity::il2cpp_call!((::unity::module_base()+0x21b1f50usize)as*mut u8,();
61(ShopSellAccountWindow)__receiver,(i32)::core::convert::Into::into(value))
62 }
63 }
64 #[doc = "`get_m_Total()` overload"]
65 fn get_m_total(self) -> i32 {
66 unsafe {
67 let __receiver = <ShopSellAccountWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
68 ::unity::il2cpp_call!((::unity::module_base()+0x21b1f60usize)as*mut u8,i32;
69(ShopSellAccountWindow)__receiver)
70 }
71 }
72 #[doc = "`set_m_Total(i32)` overload"]
73 fn set_m_total(self, value: impl ::core::convert::Into<i32>) -> () {
74 unsafe {
75 let __receiver = <ShopSellAccountWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
76 ::unity::il2cpp_call!((::unity::module_base()+0x21b1f70usize)as*mut u8,();
77(ShopSellAccountWindow)__receiver,(i32)::core::convert::Into::into(value))
78 }
79 }
80 #[doc = "`Start()` overload"]
81 fn start(self) -> () {
82 unsafe {
83 let __receiver = <ShopSellAccountWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
84 ::unity::il2cpp_call!((::unity::module_base()+0x21b1f80usize)as*mut u8,();
85(ShopSellAccountWindow)__receiver)
86 }
87 }
88 #[doc = "`UpdateInfo(i32, i32)` overload"]
89 fn update_info(self, item_count: impl ::core::convert::Into<i32>, total_value: impl ::core::convert::Into<i32>) -> () {
90 unsafe {
91 let __receiver = <ShopSellAccountWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
92 ::unity::il2cpp_call!((::unity::module_base()+0x21b2110usize)as*mut u8,();
93(ShopSellAccountWindow)__receiver,(i32)::core::convert::Into::into(item_count),(i32)::core::convert::Into::into(total_value))
94 }
95 }
96 #[doc = "`ClearInfo()` overload"]
97 fn clear_info(self) -> () {
98 unsafe {
99 let __receiver = <ShopSellAccountWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
100 ::unity::il2cpp_call!((::unity::module_base()+0x21b21f0usize)as*mut u8,();
101(ShopSellAccountWindow)__receiver)
102 }
103 }
104 #[doc = "`Close()` overload"]
105 fn close(self) -> () {
106 unsafe {
107 let __receiver = <ShopSellAccountWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
108 ::unity::il2cpp_call!((::unity::module_base()+0x21b2280usize)as*mut u8,();
109(ShopSellAccountWindow)__receiver)
110 }
111 }
112 #[doc = "`.ctor()` overload"]
113 fn ctor(self) -> () {
114 unsafe {
115 let __receiver = <ShopSellAccountWindow as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
116 ::unity::il2cpp_call!((::unity::module_base()+0x21b2330usize)as*mut u8,();
117(ShopSellAccountWindow)__receiver)
118 }
119 }
120}
121
122#[cfg(feature = "app-shopsellaccountwindow")]
123impl<__T: IShopSellAccountWindow> IShopSellAccountWindowMethods for __T {}
124
125#[cfg(feature = "app-shopsellaccountwindow")]
126impl ShopSellAccountWindow {
127 pub fn get_m_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
128 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
129 }
130
131 pub fn set_m_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
132 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
133 }
134
135 pub fn get_m_total_method_info() -> &'static ::unity::il2cpp::MethodInfo {
136 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
137 }
138
139 pub fn set_m_total_method_info() -> &'static ::unity::il2cpp::MethodInfo {
140 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
141 }
142
143 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
144 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
145 }
146
147 pub fn update_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
148 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
149 }
150
151 pub fn clear_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
152 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
153 }
154
155 pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
156 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
157 }
158
159 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
160 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
161 }
162}
163
164#[cfg(feature = "app-shopsellaccountwindow")]
165impl ShopSellAccountWindow {
166 #[doc = "`.ctor()` — no args"]
167 pub fn new() -> Self {
168 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
169 panic!(
170 "{}
171::{}
172 failed to instantiate",
173 ::core::stringify!(ShopSellAccountWindow),
174 ::core::stringify!(new),
175 )
176 });
177 <Self as IShopSellAccountWindowMethods>::ctor(this);
178 this
179 }
180}
181
182#[cfg(feature = "app-shopsellaccountwindow")]
183#[doc(hidden)]
184pub mod prelude {
185 pub use super::{IShopSellAccountWindow, IShopSellAccountWindowMethods, ShopSellAccountWindow};
186 #[cfg(feature = "system-object")]
187 pub use crate::system::object::IObjectMethods;
188 #[cfg(feature = "unity_engine-behaviour")]
189 pub use crate::unity_engine::behaviour::IBehaviourMethods;
190 #[cfg(feature = "unity_engine-component")]
191 pub use crate::unity_engine::component::IComponentMethods;
192 #[cfg(feature = "unity_engine-monobehaviour")]
193 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
194 #[cfg(feature = "unity_engine-object_2")]
195 pub use crate::unity_engine::object_2::IObject_2Methods;
196 pub use crate::{
197 system::object::IObject,
198 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
199 };
200}