engage/generated/app/
dragonrideconfig.rs1#[cfg(feature = "app-dragonrideconfig-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/dragonrideconfig/DragonRideConfig_ResultConfig.md"))]
19 #[::unity::class(namespace = "App", name = "DragonRideConfig.ResultConfig")]
20 #[parent(crate::system::object::Object)]
21 pub struct DragonRideConfig_ResultConfig {
22 #[offset(16)]
23 #[rename(name = "TitleWaitSec")]
24 pub title_wait_sec: f64,
25 #[offset(24)]
26 #[rename(name = "ShowTargetWaitSec")]
27 pub show_target_wait_sec: f64,
28 #[offset(32)]
29 #[rename(name = "ShowAssistWaitSec")]
30 pub show_assist_wait_sec: f64,
31 #[offset(40)]
32 #[rename(name = "ShowScoreWaitSec")]
33 pub show_score_wait_sec: f64,
34 #[offset(48)]
35 #[rename(name = "ShowBestScoreWaitSec")]
36 pub show_best_score_wait_sec: f64,
37 #[offset(56)]
38 #[rename(name = "ShowRankWaitSec")]
39 pub show_rank_wait_sec: f64,
40 #[offset(64)]
41 #[rename(name = "ShowNewRecordWaitSec")]
42 pub show_new_record_wait_sec: f64,
43 #[offset(72)]
44 #[rename(name = "CloseAnimeWaitSec")]
45 pub close_anime_wait_sec: f32,
46 }
47
48 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/dragonrideconfig/DragonRideConfig.md"))]
49 #[::unity::class(namespace = "App", name = "DragonRideConfig")]
50 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
51 pub struct DragonRideConfig {
52 #[offset(24)]
53 #[rename(name = "TargetChainIntervalSecond")]
54 pub target_chain_interval_second: f32,
55 #[offset(28)]
56 #[rename(name = "TargetAppearSecond")]
57 pub target_appear_second: f32,
58 #[offset(32)]
59 #[rename(name = "ScoreBorderList_Normal")]
60 pub score_border_list_normal: ::unity::Array<i32>,
61 #[offset(40)]
62 #[rename(name = "ScoreBorderList_Hard")]
63 pub score_border_list_hard: ::unity::Array<i32>,
64 #[offset(48)]
65 #[rename(name = "ScoreBorderList_Expert")]
66 pub score_border_list_expert: ::unity::Array<i32>,
67 #[offset(56)]
68 #[rename(name = "DragonModelOffset")]
69 pub dragon_model_offset: crate::unity_engine::vector3::Vector3,
70 #[offset(68)]
71 #[rename(name = "AssistModelOffset")]
72 pub assist_model_offset: crate::unity_engine::vector3::Vector3,
73 #[offset(80)]
74 #[rename(name = "AssistBindOffsetPos")]
75 pub assist_bind_offset_pos: crate::unity_engine::vector3::Vector3,
76 #[offset(92)]
77 #[rename(name = "AssistBindOffsetRotate")]
78 pub assist_bind_offset_rotate: crate::unity_engine::vector3::Vector3,
79 #[offset(104)]
80 #[rename(name = "CutinKeepSec")]
81 pub cutin_keep_sec: f32,
82 #[offset(108)]
83 #[rename(name = "CutinCloseSec")]
84 pub cutin_close_sec: f32,
85 #[offset(112)]
86 #[rename(name = "PopUpIsEnableScaleCulc")]
87 pub pop_up_is_enable_scale_culc: bool,
88 #[offset(113)]
89 #[rename(name = "IsShowScreenDustAtEventMode")]
90 pub is_show_screen_dust_at_event_mode: bool,
91 #[offset(116)]
92 #[rename(name = "CameraAccelFrame")]
93 pub camera_accel_frame: f32,
94 #[offset(120)]
95 #[rename(name = "CameraDecelFrame")]
96 pub camera_decel_frame: f32,
97 #[offset(124)]
98 #[rename(name = "PopUpDistanceMax")]
99 pub pop_up_distance_max: f32,
100 #[offset(128)]
101 #[rename(name = "PopUpDistanceMin")]
102 pub pop_up_distance_min: f32,
103 #[offset(132)]
104 #[rename(name = "PopUpScaleMax")]
105 pub pop_up_scale_max: f32,
106 #[offset(136)]
107 #[rename(name = "shotConfig")]
108 pub shot_config: crate::app::dragonrideconfig::DragonRideConfig_ShotConfig,
109 #[offset(144)]
110 #[rename(name = "resultConfig")]
111 pub result_config: crate::app::dragonrideconfig::DragonRideConfig_ResultConfig,
112 }
113
114 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/dragonrideconfig/DragonRideConfig_ShotConfig.md"))]
115 #[::unity::class(namespace = "App", name = "DragonRideConfig.ShotConfig")]
116 #[parent(crate::system::object::Object)]
117 pub struct DragonRideConfig_ShotConfig {
118 #[offset(16)]
119 #[rename(name = "ShotRepeatIntervalSec")]
120 pub shot_repeat_interval_sec: f32,
121 #[offset(20)]
122 #[rename(name = "ShotTriggerIntervalSec")]
123 pub shot_trigger_interval_sec: f32,
124 #[offset(24)]
125 #[rename(name = "SpecialTimeSec")]
126 pub special_time_sec: f32,
127 #[offset(28)]
128 #[rename(name = "SpecialIntervalSec")]
129 pub special_interval_sec: f32,
130 #[offset(32)]
131 #[rename(name = "IsShotPenetrate")]
132 pub is_shot_penetrate: bool,
133 #[offset(33)]
134 #[rename(name = "IsShowRaySquare")]
135 pub is_show_ray_square: bool,
136 #[offset(34)]
137 #[rename(name = "IsNeedRouletteStop")]
138 pub is_need_roulette_stop: bool,
139 }
140}
141
142#[cfg(feature = "app-dragonrideconfig-types")]
143pub use __types::*;
144
145#[cfg(feature = "app-dragonrideconfig")]
146pub trait IDragonRideConfig_ResultConfigMethods: IDragonRideConfig_ResultConfig {
147 #[doc = "`.ctor()` overload"]
148 fn ctor(self) -> () {
149 unsafe {
150 let __receiver =
151 <DragonRideConfig_ResultConfig as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
152 ::unity::il2cpp_call!((::unity::module_base()+0x1bd3e10usize)as*mut u8,();
153(DragonRideConfig_ResultConfig)__receiver)
154 }
155 }
156}
157
158#[cfg(feature = "app-dragonrideconfig")]
159impl<__T: IDragonRideConfig_ResultConfig> IDragonRideConfig_ResultConfigMethods for __T {}
160
161#[cfg(feature = "app-dragonrideconfig")]
162impl DragonRideConfig_ResultConfig {
163 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
164 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
165 }
166}
167
168#[cfg(feature = "app-dragonrideconfig")]
169impl DragonRideConfig_ResultConfig {
170 #[doc = "`.ctor()` — no args"]
171 pub fn new() -> Self {
172 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
173 panic!(
174 "{}
175::{}
176 failed to instantiate",
177 ::core::stringify!(DragonRideConfig_ResultConfig),
178 ::core::stringify!(new),
179 )
180 });
181 <Self as IDragonRideConfig_ResultConfigMethods>::ctor(this);
182 this
183 }
184}
185
186#[cfg(feature = "app-dragonrideconfig")]
187pub trait IDragonRideConfigMethods: IDragonRideConfig {
188 #[doc = "`.ctor()` overload"]
189 fn ctor(self) -> () {
190 unsafe {
191 let __receiver = <DragonRideConfig as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
192 ::unity::il2cpp_call!((::unity::module_base()+0x2ac32b0usize)as*mut u8,();
193(DragonRideConfig)__receiver)
194 }
195 }
196}
197
198#[cfg(feature = "app-dragonrideconfig")]
199impl<__T: IDragonRideConfig> IDragonRideConfigMethods for __T {}
200
201#[cfg(feature = "app-dragonrideconfig")]
202impl DragonRideConfig {
203 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
204 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
205 }
206}
207
208#[cfg(feature = "app-dragonrideconfig")]
209impl DragonRideConfig {
210 #[doc = "`.ctor()` — no args"]
211 pub fn new() -> Self {
212 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
213 panic!(
214 "{}
215::{}
216 failed to instantiate",
217 ::core::stringify!(DragonRideConfig),
218 ::core::stringify!(new),
219 )
220 });
221 <Self as IDragonRideConfigMethods>::ctor(this);
222 this
223 }
224}
225
226#[cfg(feature = "app-dragonrideconfig")]
227pub trait IDragonRideConfig_ShotConfigMethods: IDragonRideConfig_ShotConfig {
228 #[doc = "`.ctor()` overload"]
229 fn ctor(self) -> () {
230 unsafe {
231 let __receiver =
232 <DragonRideConfig_ShotConfig as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
233 ::unity::il2cpp_call!((::unity::module_base()+0x1bd3e50usize)as*mut u8,();
234(DragonRideConfig_ShotConfig)__receiver)
235 }
236 }
237}
238
239#[cfg(feature = "app-dragonrideconfig")]
240impl<__T: IDragonRideConfig_ShotConfig> IDragonRideConfig_ShotConfigMethods for __T {}
241
242#[cfg(feature = "app-dragonrideconfig")]
243impl DragonRideConfig_ShotConfig {
244 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
245 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
246 }
247}
248
249#[cfg(feature = "app-dragonrideconfig")]
250impl DragonRideConfig_ShotConfig {
251 #[doc = "`.ctor()` — no args"]
252 pub fn new() -> Self {
253 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
254 panic!(
255 "{}
256::{}
257 failed to instantiate",
258 ::core::stringify!(DragonRideConfig_ShotConfig),
259 ::core::stringify!(new),
260 )
261 });
262 <Self as IDragonRideConfig_ShotConfigMethods>::ctor(this);
263 this
264 }
265}
266
267#[cfg(feature = "app-dragonrideconfig")]
268#[doc(hidden)]
269pub mod prelude {
270 pub use super::{
271 DragonRideConfig, DragonRideConfig_ResultConfig, DragonRideConfig_ShotConfig, IDragonRideConfig, IDragonRideConfigMethods,
272 IDragonRideConfig_ResultConfig, IDragonRideConfig_ResultConfigMethods, IDragonRideConfig_ShotConfig, IDragonRideConfig_ShotConfigMethods,
273 };
274 #[cfg(feature = "system-object")]
275 pub use crate::system::object::IObjectMethods;
276 #[cfg(feature = "unity_engine-behaviour")]
277 pub use crate::unity_engine::behaviour::IBehaviourMethods;
278 #[cfg(feature = "unity_engine-component")]
279 pub use crate::unity_engine::component::IComponentMethods;
280 #[cfg(feature = "unity_engine-monobehaviour")]
281 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
282 #[cfg(feature = "unity_engine-object_2")]
283 pub use crate::unity_engine::object_2::IObject_2Methods;
284 pub use crate::{
285 system::object::IObject,
286 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
287 };
288}