engage/generated/app/
mapsequencecontract.rs1#[cfg(feature = "app-mapsequencecontract-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 commonbattlesequence_1::{CommonBattleSequence_1, ICommonBattleSequence_1},
11 procinst::{IProcInst, ProcInst},
12 singletonprocinst_1::{ISingletonProcInst_1, SingletonProcInst_1},
13 },
14 system::{
15 object::{IObject, Object},
16 r#enum::{Enum, IEnum},
17 valuetype::{IValueType, ValueType},
18 },
19 };
20
21 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsequencecontract/MapSequenceContract_Label.md"))]
22 #[repr(C)]
23 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
24 pub struct MapSequenceContract_Label {
25 pub value: i32,
26 }
27 impl ::unity::ClassIdentity for MapSequenceContract_Label {
28 const NAME: &'static str = "MapSequenceContract.Label";
29 const NAMESPACE: &'static str = "App";
30
31 fn class() -> ::unity::Class {
32 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
33 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
34 }
35 }
36 impl ::unity::IlType for MapSequenceContract_Label {
37 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
38 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
39 }
40 }
41 impl MapSequenceContract_Label {
42 pub fn simple() -> Self {
43 Self { value: 0 }
44 }
45
46 pub fn skip() -> Self {
47 Self { value: 1 }
48 }
49
50 pub fn after() -> Self {
51 Self { value: 2 }
52 }
53 }
54
55 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsequencecontract/MapSequenceContract.md"))]
56 #[::unity::class(namespace = "App", name = "MapSequenceContract")]
57 #[parent(crate::app::commonbattlesequence_1::CommonBattleSequence_1<crate::app::mapsequencecontract::MapSequenceContract>)]
58 pub struct MapSequenceContract {}
59}
60
61#[cfg(feature = "app-mapsequencecontract-types")]
62pub use __types::*;
63
64#[cfg(feature = "app-mapsequencecontract")]
65impl MapSequenceContract {
66 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
67 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
68 unsafe {
69 ::unity::il2cpp_call!((::unity::module_base()+0x23c6fe0usize)as*mut u8,();
70(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
71 }
72 }
73}
74
75#[cfg(feature = "app-mapsequencecontract")]
76pub trait IMapSequenceContractMethods: IMapSequenceContract {
77 #[doc = "`.ctor()` overload"]
78 fn ctor(self) -> () {
79 unsafe {
80 let __receiver = <MapSequenceContract as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
81 ::unity::il2cpp_call!((::unity::module_base()+0x23c6940usize)as*mut u8,();
82(MapSequenceContract)__receiver)
83 }
84 }
85 #[doc = "`Calculate()` overload"]
86 fn calculate(self) -> () {
87 unsafe {
88 let __receiver = <MapSequenceContract as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
89 ::unity::il2cpp_call!((::unity::module_base()+0x23c69a0usize)as*mut u8,();
90(MapSequenceContract)__receiver)
91 }
92 }
93 #[doc = "`Branch()` overload"]
94 fn branch(self) -> () {
95 unsafe {
96 let __receiver = <MapSequenceContract as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
97 ::unity::il2cpp_call!((::unity::module_base()+0x23c6b40usize)as*mut u8,();
98(MapSequenceContract)__receiver)
99 }
100 }
101 #[doc = "`SimpleDance()` overload"]
102 fn simple_dance(self) -> crate::system::collections::ienumerator::IEnumerator {
103 unsafe {
104 let __receiver = <MapSequenceContract as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
105 ::unity::il2cpp_call!((::unity::module_base()+0x23c6c00usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
106(MapSequenceContract)__receiver)
107 }
108 }
109 #[doc = "`Commit()` overload"]
110 fn commit(self) -> () {
111 unsafe {
112 let __receiver = <MapSequenceContract as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
113 ::unity::il2cpp_call!((::unity::module_base()+0x23c6c80usize)as*mut u8,();
114(MapSequenceContract)__receiver)
115 }
116 }
117 #[doc = "`Grow()` overload"]
118 fn grow(self) -> () {
119 unsafe {
120 let __receiver = <MapSequenceContract as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
121 ::unity::il2cpp_call!((::unity::module_base()+0x23c6f50usize)as*mut u8,();
122(MapSequenceContract)__receiver)
123 }
124 }
125 #[doc = "`GodExp()` overload"]
126 fn god_exp(self) -> () {
127 unsafe {
128 let __receiver = <MapSequenceContract as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
129 ::unity::il2cpp_call!((::unity::module_base()+0x23c6f60usize)as*mut u8,();
130(MapSequenceContract)__receiver)
131 }
132 }
133}
134
135#[cfg(feature = "app-mapsequencecontract")]
136impl<__T: IMapSequenceContract> IMapSequenceContractMethods for __T {}
137
138#[cfg(feature = "app-mapsequencecontract")]
139impl MapSequenceContract {
140 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
141 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
142 }
143
144 pub fn calculate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
145 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
146 }
147
148 pub fn branch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
149 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
150 }
151
152 pub fn simple_dance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
153 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
154 }
155
156 pub fn commit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
157 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
158 }
159
160 pub fn grow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
161 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
162 }
163
164 pub fn god_exp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
165 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
166 }
167
168 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
169 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
170 }
171}
172
173#[cfg(feature = "app-mapsequencecontract")]
174impl MapSequenceContract {
175 #[doc = "`.ctor()` — no args"]
176 pub fn new() -> Self {
177 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
178 panic!(
179 "{}
180::{}
181 failed to instantiate",
182 ::core::stringify!(MapSequenceContract),
183 ::core::stringify!(new),
184 )
185 });
186 <Self as IMapSequenceContractMethods>::ctor(this);
187 this
188 }
189}
190
191#[cfg(feature = "app-mapsequencecontract")]
192#[doc(hidden)]
193pub mod prelude {
194 pub use super::{IMapSequenceContract, IMapSequenceContractMethods, MapSequenceContract, MapSequenceContract_Label};
195 #[cfg(feature = "app-commonbattlesequence_1")]
196 pub use crate::app::commonbattlesequence_1::ICommonBattleSequence_1Methods;
197 #[cfg(feature = "app-procinst")]
198 pub use crate::app::procinst::IProcInstMethods;
199 #[cfg(feature = "app-singletonprocinst_1")]
200 pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
201 #[cfg(feature = "system-object")]
202 pub use crate::system::object::IObjectMethods;
203 #[cfg(feature = "system-enum")]
204 pub use crate::system::r#enum::IEnumMethods;
205 #[cfg(feature = "system-valuetype")]
206 pub use crate::system::valuetype::IValueTypeMethods;
207 pub use crate::{
208 app::{commonbattlesequence_1::ICommonBattleSequence_1, procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1},
209 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
210 };
211}