engage/generated/app/
sortiesequenceitemshop.rs1#[cfg(feature = "app-sortiesequenceitemshop-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 hubitemshopsequence::{HubItemShopSequence, IHubItemShopSequence},
11 procinst::{IProcInst, ProcInst},
12 },
13 system::object::{IObject, Object},
14 };
15
16 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/sortiesequenceitemshop/SortieSequenceItemShop.md"))]
17 #[::unity::class(namespace = "App", name = "SortieSequenceItemShop")]
18 #[parent(crate::app::hubitemshopsequence::HubItemShopSequence)]
19 pub struct SortieSequenceItemShop {}
20}
21
22#[cfg(feature = "app-sortiesequenceitemshop-types")]
23pub use __types::*;
24
25#[cfg(feature = "app-sortiesequenceitemshop")]
26impl SortieSequenceItemShop {
27 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
28 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
29 unsafe {
30 ::unity::il2cpp_call!((::unity::module_base()+0x1fef670usize)as*mut u8,();
31(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
32 }
33 }
34}
35
36#[cfg(feature = "app-sortiesequenceitemshop")]
37pub trait ISortieSequenceItemShopMethods: ISortieSequenceItemShop {
38 #[doc = "`CreateItemShopTopMenu()` overload"]
39 fn create_item_shop_top_menu(self) -> () {
40 unsafe {
41 let __receiver =
42 <SortieSequenceItemShop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43 {
44 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
45 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
46 panic!(
47 "unity: virtual slot {}
48 out of range (vtable len {}
49) on the runtime class behind {}
50 (method `{}
51`)",
52 18usize,
53 __vt.len(),
54 <SortieSequenceItemShop as ::unity::ClassIdentity>::NAME,
55 "CreateItemShopTopMenu",
56 )
57 });
58 let __inner: extern "C" fn(SortieSequenceItemShop, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
59 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
60 __inner(__receiver, __mi)
61 }
62 }
63 }
64 #[doc = "`CreateItemShopBuyMenu()` overload"]
65 fn create_item_shop_buy_menu(self) -> () {
66 unsafe {
67 let __receiver =
68 <SortieSequenceItemShop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
69 {
70 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
71 let __vi = *__vt.get(19usize).unwrap_or_else(|| {
72 panic!(
73 "unity: virtual slot {}
74 out of range (vtable len {}
75) on the runtime class behind {}
76 (method `{}
77`)",
78 19usize,
79 __vt.len(),
80 <SortieSequenceItemShop as ::unity::ClassIdentity>::NAME,
81 "CreateItemShopBuyMenu",
82 )
83 });
84 let __inner: extern "C" fn(SortieSequenceItemShop, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
85 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
86 __inner(__receiver, __mi)
87 }
88 }
89 }
90 #[doc = "`OnDispose()` overload"]
91 fn on_dispose(self) -> () {
92 unsafe {
93 let __receiver =
94 <SortieSequenceItemShop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
95 {
96 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
97 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
98 panic!(
99 "unity: virtual slot {}
100 out of range (vtable len {}
101) on the runtime class behind {}
102 (method `{}
103`)",
104 10usize,
105 __vt.len(),
106 <SortieSequenceItemShop as ::unity::ClassIdentity>::NAME,
107 "OnDispose",
108 )
109 });
110 let __inner: extern "C" fn(SortieSequenceItemShop, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
111 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
112 __inner(__receiver, __mi)
113 }
114 }
115 }
116 #[doc = "`.ctor()` overload"]
117 fn ctor(self) -> () {
118 unsafe {
119 let __receiver =
120 <SortieSequenceItemShop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
121 ::unity::il2cpp_call!((::unity::module_base()+0x1fef6f0usize)as*mut u8,();
122(SortieSequenceItemShop)__receiver)
123 }
124 }
125}
126
127#[cfg(feature = "app-sortiesequenceitemshop")]
128impl<__T: ISortieSequenceItemShop> ISortieSequenceItemShopMethods for __T {}
129
130#[cfg(feature = "app-sortiesequenceitemshop")]
131impl SortieSequenceItemShop {
132 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
133 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
134 }
135
136 pub fn create_item_shop_top_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
137 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
138 }
139
140 pub fn create_item_shop_buy_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
141 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
142 }
143
144 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
145 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
146 }
147
148 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
149 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
150 }
151}
152
153#[cfg(feature = "app-sortiesequenceitemshop")]
154impl SortieSequenceItemShop {
155 #[doc = "Direct (non-virtual) call to `SortieSequenceItemShop`'s own `CreateItemShopTopMenu`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
156 pub unsafe fn create_item_shop_top_menu(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
157 let __mi = Self::create_item_shop_top_menu_method_info();
158 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
159 __inner(this.into(), ::core::option::Option::None)
160 }
161
162 #[doc = "Direct (non-virtual) call to `SortieSequenceItemShop`'s own `CreateItemShopBuyMenu`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
163 pub unsafe fn create_item_shop_buy_menu(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
164 let __mi = Self::create_item_shop_buy_menu_method_info();
165 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
166 __inner(this.into(), ::core::option::Option::None)
167 }
168
169 #[doc = "Direct (non-virtual) call to `SortieSequenceItemShop`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
170 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
171 let __mi = Self::on_dispose_method_info();
172 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
173 __inner(this.into(), ::core::option::Option::None)
174 }
175}
176
177#[cfg(feature = "app-sortiesequenceitemshop")]
178impl SortieSequenceItemShop {
179 #[doc = "`.ctor()` — no args"]
180 pub fn new() -> Self {
181 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
182 panic!(
183 "{}
184::{}
185 failed to instantiate",
186 ::core::stringify!(SortieSequenceItemShop),
187 ::core::stringify!(new),
188 )
189 });
190 <Self as ISortieSequenceItemShopMethods>::ctor(this);
191 this
192 }
193}
194
195#[cfg(feature = "app-sortiesequenceitemshop")]
196#[doc(hidden)]
197pub mod prelude {
198 pub use super::{ISortieSequenceItemShop, ISortieSequenceItemShopMethods, SortieSequenceItemShop};
199 #[cfg(feature = "app-hubitemshopsequence")]
200 pub use crate::app::hubitemshopsequence::IHubItemShopSequenceMethods;
201 #[cfg(feature = "app-procinst")]
202 pub use crate::app::procinst::IProcInstMethods;
203 #[cfg(feature = "system-object")]
204 pub use crate::system::object::IObjectMethods;
205 pub use crate::{
206 app::{hubitemshopsequence::IHubItemShopSequence, procinst::IProcInst},
207 system::object::IObject,
208 };
209}