1#[cfg(feature = "app-solanelinfomenucontent-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::basicmenucontent::{BasicMenuContent, IBasicMenuContent},
10 system::object::{IObject, Object},
11 unity_engine::{
12 behaviour::{Behaviour, IBehaviour},
13 component::{Component, IComponent},
14 monobehaviour::{IMonoBehaviour, MonoBehaviour},
15 object_2::{IObject_2, Object_2},
16 },
17 };
18
19 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/solanelinfomenucontent/SolanelInfoMenuContent_Infomation.md"))]
20 #[::unity::class(namespace = "App", name = "SolanelInfoMenuContent.Infomation")]
21 #[parent(crate::system::object::Object)]
22 pub struct SolanelInfoMenuContent_Infomation {
23 #[offset(16)]
24 #[rename(name = "m_Root")]
25 pub m_root: crate::unity_engine::gameobject::GameObject,
26 #[offset(24)]
27 #[rename(name = "m_Icon")]
28 pub m_icon: crate::unity_engine::ui::image::Image,
29 #[offset(32)]
30 #[rename(name = "m_Title")]
31 pub m_title: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
32 #[offset(40)]
33 #[rename(name = "m_Message")]
34 pub m_message: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
35 }
36
37 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/solanelinfomenucontent/SolanelInfoMenuContent_HelpFastTravel.md"))]
38 #[::unity::class(namespace = "App", name = "SolanelInfoMenuContent.HelpFastTravel")]
39 #[parent(crate::system::object::Object)]
40 pub struct SolanelInfoMenuContent_HelpFastTravel {
41 #[offset(16)]
42 #[rename(name = "m_Root")]
43 pub m_root: crate::unity_engine::gameobject::GameObject,
44 #[offset(24)]
45 #[rename(name = "m_Icon")]
46 pub m_icon: crate::unity_engine::ui::image::Image,
47 #[offset(32)]
48 #[rename(name = "m_Name")]
49 pub m_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
50 #[offset(40)]
51 #[rename(name = "m_CheckDone")]
52 pub m_check_done: crate::unity_engine::gameobject::GameObject,
53 #[offset(48)]
54 #[rename(name = "m_Value")]
55 pub m_value: crate::unity_engine::gameobject::GameObject,
56 }
57
58 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/solanelinfomenucontent/SolanelInfoMenuContent_SolanelUnit.md"))]
59 #[::unity::class(namespace = "App", name = "SolanelInfoMenuContent.SolanelUnit")]
60 #[parent(crate::system::object::Object)]
61 pub struct SolanelInfoMenuContent_SolanelUnit {
62 #[offset(16)]
63 #[rename(name = "m_Root")]
64 pub m_root: crate::unity_engine::gameobject::GameObject,
65 #[offset(24)]
66 #[rename(name = "m_Icon")]
67 pub m_icon: crate::unity_engine::gameobject::GameObject,
68 #[offset(32)]
69 #[rename(name = "m_UnitName")]
70 pub m_unit_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
71 #[offset(40)]
72 #[rename(name = "m_TalkIcon")]
73 pub m_talk_icon: crate::unity_engine::gameobject::GameObject,
74 }
75
76 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/solanelinfomenucontent/SolanelInfoMenuContent.md"))]
77 #[::unity::class(namespace = "App", name = "SolanelInfoMenuContent")]
78 #[parent(crate::app::basicmenucontent::BasicMenuContent)]
79 pub struct SolanelInfoMenuContent {
80 #[static_field]
81 #[rename(name = "PrefabPath")]
82 pub prefab_path: ::unity::Il2CppString,
83 #[static_field]
84 #[rename(name = "SpriteAtlasPath")]
85 pub sprite_atlas_path: ::unity::Il2CppString,
86 #[static_field]
87 #[rename(name = "s_SpriteAtlasManager")]
88 pub s_sprite_atlas_manager: crate::app::spriteatlasmanager_2::SpriteAtlasManager_2,
89 #[offset(232)]
90 #[rename(name = "m_MapArrow")]
91 pub m_map_arrow: crate::unity_engine::gameobject::GameObject,
92 #[offset(240)]
93 #[rename(name = "m_MapArrowMoveFrame")]
94 pub m_map_arrow_move_frame: f32,
95 #[offset(248)]
96 #[rename(name = "m_MapPoint")]
97 pub m_map_point: crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>,
98 #[offset(256)]
99 #[rename(name = "m_AreaName")]
100 pub m_area_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
101 #[offset(264)]
102 #[rename(name = "m_AreaHelp")]
103 pub m_area_help: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
104 #[offset(272)]
105 #[rename(name = "m_AreaFastTravelObj")]
106 pub m_area_fast_travel_obj: crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>,
107 #[offset(280)]
108 #[rename(name = "m_HelpFastTravelList")]
109 pub m_help_fast_travel_list:
110 crate::system::collections::generic::list_1::List_1<crate::app::solanelinfomenucontent::SolanelInfoMenuContent_HelpFastTravel>,
111 #[offset(288)]
112 #[rename(name = "m_UnitListObj")]
113 pub m_unit_list_obj: crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>,
114 #[offset(296)]
115 #[rename(name = "m_SolanelUnitList")]
116 pub m_solanel_unit_list:
117 crate::system::collections::generic::list_1::List_1<crate::app::solanelinfomenucontent::SolanelInfoMenuContent_SolanelUnit>,
118 #[offset(304)]
119 #[rename(name = "m_InfomationAbsentObj")]
120 pub m_infomation_absent_obj: crate::unity_engine::gameobject::GameObject,
121 #[offset(312)]
122 #[rename(name = "m_InfomationListObj")]
123 pub m_infomation_list_obj: crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>,
124 #[offset(320)]
125 #[rename(name = "m_Pos")]
126 pub m_pos: crate::unity_engine::vector2::Vector2,
127 #[offset(328)]
128 #[rename(name = "m_From")]
129 pub m_from: crate::unity_engine::vector2::Vector2,
130 #[offset(336)]
131 #[rename(name = "m_To")]
132 pub m_to: crate::unity_engine::vector2::Vector2,
133 #[offset(344)]
134 #[rename(name = "m_MoveTick")]
135 pub m_move_tick: f32,
136 }
137}
138
139#[cfg(feature = "app-solanelinfomenucontent-types")]
140pub use __types::*;
141
142#[cfg(feature = "app-solanelinfomenucontent")]
143pub trait ISolanelInfoMenuContent_InfomationMethods: ISolanelInfoMenuContent_Infomation {
144 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` overload"]
145 fn ctor(self, root: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
146 unsafe {
147 let __receiver =
148 <SolanelInfoMenuContent_Infomation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
149 ::unity::il2cpp_call!((::unity::module_base()+0x1d716b0usize)as*mut u8,();
150(SolanelInfoMenuContent_Infomation)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(root))
151 }
152 }
153 #[doc = "`Show(crate::unity_engine::sprite::Sprite, ::unity::Il2CppString, ::unity::Il2CppString)` overload"]
154 fn show(
155 self,
156 sprite: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>,
157 title: impl ::core::convert::Into<::unity::Il2CppString>,
158 message: impl ::core::convert::Into<::unity::Il2CppString>,
159 ) -> () {
160 unsafe {
161 let __receiver =
162 <SolanelInfoMenuContent_Infomation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163 ::unity::il2cpp_call!((::unity::module_base()+0x1d70610usize)as*mut u8,();
164(SolanelInfoMenuContent_Infomation)__receiver,(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(sprite),(::unity::Il2CppString)::core::convert::Into::into(title),(::unity::Il2CppString)::core::convert::Into::into(message))
165 }
166 }
167 #[doc = "`Hide()` overload"]
168 fn hide(self) -> () {
169 unsafe {
170 let __receiver =
171 <SolanelInfoMenuContent_Infomation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
172 ::unity::il2cpp_call!((::unity::module_base()+0x1d718a0usize)as*mut u8,();
173(SolanelInfoMenuContent_Infomation)__receiver)
174 }
175 }
176}
177
178#[cfg(feature = "app-solanelinfomenucontent")]
179impl<__T: ISolanelInfoMenuContent_Infomation> ISolanelInfoMenuContent_InfomationMethods for __T {}
180
181#[cfg(feature = "app-solanelinfomenucontent")]
182impl SolanelInfoMenuContent_Infomation {
183 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
184 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
185 }
186
187 pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
188 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
189 }
190
191 pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
192 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
193 }
194}
195
196#[cfg(feature = "app-solanelinfomenucontent")]
197impl SolanelInfoMenuContent_Infomation {
198 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` — overload selector"]
199 pub fn new(root: crate::unity_engine::gameobject::GameObject) -> Self {
200 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
201 panic!(
202 "{}
203::{}
204 failed to instantiate",
205 ::core::stringify!(SolanelInfoMenuContent_Infomation),
206 ::core::stringify!(new),
207 )
208 });
209 <Self as ISolanelInfoMenuContent_InfomationMethods>::ctor(this, root);
210 this
211 }
212}
213
214#[cfg(feature = "app-solanelinfomenucontent")]
215pub trait ISolanelInfoMenuContent_HelpFastTravelMethods: ISolanelInfoMenuContent_HelpFastTravel {
216 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` overload"]
217 fn ctor(self, root: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
218 unsafe {
219 let __receiver = <SolanelInfoMenuContent_HelpFastTravel as ::unity::FromIlInstance>::from_il_instance(
220 <Self as ::unity::SystemObject>::as_instance(self),
221 );
222 ::unity::il2cpp_call!((::unity::module_base()+0x1d706d0usize)as*mut u8,();
223(SolanelInfoMenuContent_HelpFastTravel)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(root))
224 }
225 }
226 #[doc = "`TrySetFastTravel(crate::app::hubfacilitydata::HubFacilityData, crate::unity_engine::sprite::Sprite)` overload"]
227 fn try_set_fast_travel(
228 self,
229 data: impl ::core::convert::Into<crate::app::hubfacilitydata::HubFacilityData>,
230 sprite: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>,
231 ) -> bool {
232 unsafe {
233 let __receiver = <SolanelInfoMenuContent_HelpFastTravel as ::unity::FromIlInstance>::from_il_instance(
234 <Self as ::unity::SystemObject>::as_instance(self),
235 );
236 ::unity::il2cpp_call!((::unity::module_base()+0x1d708a0usize)as*mut u8,bool;
237(SolanelInfoMenuContent_HelpFastTravel)__receiver,(crate::app::hubfacilitydata::HubFacilityData)::core::convert::Into::into(data),(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(sprite))
238 }
239 }
240 #[doc = "`Hide()` overload"]
241 fn hide(self) -> () {
242 unsafe {
243 let __receiver = <SolanelInfoMenuContent_HelpFastTravel as ::unity::FromIlInstance>::from_il_instance(
244 <Self as ::unity::SystemObject>::as_instance(self),
245 );
246 ::unity::il2cpp_call!((::unity::module_base()+0x1d71080usize)as*mut u8,();
247(SolanelInfoMenuContent_HelpFastTravel)__receiver)
248 }
249 }
250 #[doc = "`SetOneOnly(bool)` overload"]
251 fn set_one_only(self, is_done: impl ::core::convert::Into<bool>) -> () {
252 unsafe {
253 let __receiver = <SolanelInfoMenuContent_HelpFastTravel as ::unity::FromIlInstance>::from_il_instance(
254 <Self as ::unity::SystemObject>::as_instance(self),
255 );
256 ::unity::il2cpp_call!((::unity::module_base()+0x1d71100usize)as*mut u8,();
257(SolanelInfoMenuContent_HelpFastTravel)__receiver,(bool)::core::convert::Into::into(is_done))
258 }
259 }
260 #[doc = "`SetOneDone(bool)` overload"]
261 fn set_one_done(self, is_done: impl ::core::convert::Into<bool>) -> () {
262 unsafe {
263 let __receiver = <SolanelInfoMenuContent_HelpFastTravel as ::unity::FromIlInstance>::from_il_instance(
264 <Self as ::unity::SystemObject>::as_instance(self),
265 );
266 ::unity::il2cpp_call!((::unity::module_base()+0x1d712c0usize)as*mut u8,();
267(SolanelInfoMenuContent_HelpFastTravel)__receiver,(bool)::core::convert::Into::into(is_done))
268 }
269 }
270 #[doc = "`SetCount(i32)` overload"]
271 fn set_count(self, num: impl ::core::convert::Into<i32>) -> () {
272 unsafe {
273 let __receiver = <SolanelInfoMenuContent_HelpFastTravel as ::unity::FromIlInstance>::from_il_instance(
274 <Self as ::unity::SystemObject>::as_instance(self),
275 );
276 ::unity::il2cpp_call!((::unity::module_base()+0x1d71400usize)as*mut u8,();
277(SolanelInfoMenuContent_HelpFastTravel)__receiver,(i32)::core::convert::Into::into(num))
278 }
279 }
280}
281
282#[cfg(feature = "app-solanelinfomenucontent")]
283impl<__T: ISolanelInfoMenuContent_HelpFastTravel> ISolanelInfoMenuContent_HelpFastTravelMethods for __T {}
284
285#[cfg(feature = "app-solanelinfomenucontent")]
286impl SolanelInfoMenuContent_HelpFastTravel {
287 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
289 }
290
291 pub fn try_set_fast_travel_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
293 }
294
295 pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
296 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
297 }
298
299 pub fn set_one_only_method_info() -> &'static ::unity::il2cpp::MethodInfo {
300 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
301 }
302
303 pub fn set_one_done_method_info() -> &'static ::unity::il2cpp::MethodInfo {
304 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
305 }
306
307 pub fn set_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
308 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
309 }
310}
311
312#[cfg(feature = "app-solanelinfomenucontent")]
313impl SolanelInfoMenuContent_HelpFastTravel {
314 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` — overload selector"]
315 pub fn new(root: crate::unity_engine::gameobject::GameObject) -> Self {
316 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
317 panic!(
318 "{}
319::{}
320 failed to instantiate",
321 ::core::stringify!(SolanelInfoMenuContent_HelpFastTravel),
322 ::core::stringify!(new),
323 )
324 });
325 <Self as ISolanelInfoMenuContent_HelpFastTravelMethods>::ctor(this, root);
326 this
327 }
328}
329
330#[cfg(feature = "app-solanelinfomenucontent")]
331pub trait ISolanelInfoMenuContent_SolanelUnitMethods: ISolanelInfoMenuContent_SolanelUnit {
332 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` overload"]
333 fn ctor(self, root: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
334 unsafe {
335 let __receiver =
336 <SolanelInfoMenuContent_SolanelUnit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
337 ::unity::il2cpp_call!((::unity::module_base()+0x1d71920usize)as*mut u8,();
338(SolanelInfoMenuContent_SolanelUnit)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(root))
339 }
340 }
341 #[doc = "`SetUnit(crate::app::unit::Unit, crate::app::hubaccessdata::HubAccessData)` overload"]
342 fn set_unit(
343 self,
344 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
345 hub_access_data: impl ::core::convert::Into<crate::app::hubaccessdata::HubAccessData>,
346 ) -> () {
347 unsafe {
348 let __receiver =
349 <SolanelInfoMenuContent_SolanelUnit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
350 ::unity::il2cpp_call!((::unity::module_base()+0x1d71aa0usize)as*mut u8,();
351(SolanelInfoMenuContent_SolanelUnit)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit),(crate::app::hubaccessdata::HubAccessData)::core::convert::Into::into(hub_access_data))
352 }
353 }
354 #[doc = "`SetGodUnit(crate::app::goddata::GodData, crate::app::hubaccessdata::HubAccessData)` overload"]
355 fn set_god_unit(
356 self,
357 god: impl ::core::convert::Into<crate::app::goddata::GodData>,
358 hub_access_data: impl ::core::convert::Into<crate::app::hubaccessdata::HubAccessData>,
359 ) -> () {
360 unsafe {
361 let __receiver =
362 <SolanelInfoMenuContent_SolanelUnit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
363 ::unity::il2cpp_call!((::unity::module_base()+0x1d71fd0usize)as*mut u8,();
364(SolanelInfoMenuContent_SolanelUnit)__receiver,(crate::app::goddata::GodData)::core::convert::Into::into(god),(crate::app::hubaccessdata::HubAccessData)::core::convert::Into::into(hub_access_data))
365 }
366 }
367 #[doc = "`Hide()` overload"]
368 fn hide(self) -> () {
369 unsafe {
370 let __receiver =
371 <SolanelInfoMenuContent_SolanelUnit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
372 ::unity::il2cpp_call!((::unity::module_base()+0x1d71c00usize)as*mut u8,();
373(SolanelInfoMenuContent_SolanelUnit)__receiver)
374 }
375 }
376 #[doc = "`SetTalkIcon(crate::app::hubaccessdata::HubAccessData)` overload"]
377 fn set_talk_icon(self, hub_access_data: impl ::core::convert::Into<crate::app::hubaccessdata::HubAccessData>) -> () {
378 unsafe {
379 let __receiver =
380 <SolanelInfoMenuContent_SolanelUnit as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
381 ::unity::il2cpp_call!((::unity::module_base()+0x1d71c80usize)as*mut u8,();
382(SolanelInfoMenuContent_SolanelUnit)__receiver,(crate::app::hubaccessdata::HubAccessData)::core::convert::Into::into(hub_access_data))
383 }
384 }
385}
386
387#[cfg(feature = "app-solanelinfomenucontent")]
388impl<__T: ISolanelInfoMenuContent_SolanelUnit> ISolanelInfoMenuContent_SolanelUnitMethods for __T {}
389
390#[cfg(feature = "app-solanelinfomenucontent")]
391impl SolanelInfoMenuContent_SolanelUnit {
392 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
393 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
394 }
395
396 pub fn set_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
397 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
398 }
399
400 pub fn set_god_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
401 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
402 }
403
404 pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
405 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
406 }
407
408 pub fn set_talk_icon_method_info() -> &'static ::unity::il2cpp::MethodInfo {
409 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
410 }
411}
412
413#[cfg(feature = "app-solanelinfomenucontent")]
414impl SolanelInfoMenuContent_SolanelUnit {
415 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` — overload selector"]
416 pub fn new(root: crate::unity_engine::gameobject::GameObject) -> Self {
417 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
418 panic!(
419 "{}
420::{}
421 failed to instantiate",
422 ::core::stringify!(SolanelInfoMenuContent_SolanelUnit),
423 ::core::stringify!(new),
424 )
425 });
426 <Self as ISolanelInfoMenuContent_SolanelUnitMethods>::ctor(this, root);
427 this
428 }
429}
430
431#[cfg(feature = "app-solanelinfomenucontent")]
432impl SolanelInfoMenuContent {
433 #[doc = "`LoadPrefabAsync()` overload"]
434 pub fn load_prefab_async() -> () {
435 unsafe {
436 ::unity::il2cpp_call!((::unity::module_base()+0x1fdfd80usize)as*mut u8,();
437 )
438 }
439 }
440
441 #[doc = "`IsLoadingPrefab()` overload"]
442 pub fn is_loading_prefab() -> bool {
443 unsafe {
444 ::unity::il2cpp_call!((::unity::module_base()+0x1fdfef0usize)as*mut u8,bool;
445 )
446 }
447 }
448
449 #[doc = "`UnloadPrefab()` overload"]
450 pub fn unload_prefab() -> () {
451 unsafe {
452 ::unity::il2cpp_call!((::unity::module_base()+0x1fe0000usize)as*mut u8,();
453 )
454 }
455 }
456
457 #[doc = "`Create()` overload"]
458 pub fn create() -> crate::app::solanelinfomenucontent::SolanelInfoMenuContent {
459 unsafe {
460 ::unity::il2cpp_call!((::unity::module_base()+0x1fdef50usize)as*mut u8,crate::app::solanelinfomenucontent::SolanelInfoMenuContent;
461 )
462 }
463 }
464
465 #[doc = "`.cctor()` overload"]
466 pub fn cctor() -> () {
467 unsafe {
468 ::unity::il2cpp_call!((::unity::module_base()+0x1fe1bd0usize)as*mut u8,();
469 )
470 }
471 }
472}
473
474#[cfg(feature = "app-solanelinfomenucontent")]
475pub trait ISolanelInfoMenuContentMethods: ISolanelInfoMenuContent {
476 #[doc = "`AfterBuild()` overload"]
477 fn after_build(self) -> () {
478 unsafe {
479 let __receiver =
480 <SolanelInfoMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
481 {
482 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
483 let __vi = *__vt.get(27usize).unwrap_or_else(|| {
484 panic!(
485 "unity: virtual slot {}
486 out of range (vtable len {}
487) on the runtime class behind {}
488 (method `{}
489`)",
490 27usize,
491 __vt.len(),
492 <SolanelInfoMenuContent as ::unity::ClassIdentity>::NAME,
493 "AfterBuild",
494 )
495 });
496 let __inner: extern "C" fn(SolanelInfoMenuContent, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
497 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
498 __inner(__receiver, __mi)
499 }
500 }
501 }
502 #[doc = "`CalcCursorMovedPosY(i32)` overload"]
503 fn calc_cursor_moved_pos_y(self, menu_item_index: impl ::core::convert::Into<i32>) -> f32 {
504 unsafe {
505 let __receiver =
506 <SolanelInfoMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
507 {
508 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
509 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
510 panic!(
511 "unity: virtual slot {}
512 out of range (vtable len {}
513) on the runtime class behind {}
514 (method `{}
515`)",
516 10usize,
517 __vt.len(),
518 <SolanelInfoMenuContent as ::unity::ClassIdentity>::NAME,
519 "CalcCursorMovedPosY",
520 )
521 });
522 let __inner: extern "C" fn(SolanelInfoMenuContent, i32, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
523 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
524 __inner(__receiver, ::core::convert::Into::into(menu_item_index), __mi)
525 }
526 }
527 }
528 #[doc = "`Update()` overload"]
529 fn update(self) -> () {
530 unsafe {
531 let __receiver =
532 <SolanelInfoMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
533 {
534 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
535 let __vi = *__vt.get(32usize).unwrap_or_else(|| {
536 panic!(
537 "unity: virtual slot {}
538 out of range (vtable len {}
539) on the runtime class behind {}
540 (method `{}
541`)",
542 32usize,
543 __vt.len(),
544 <SolanelInfoMenuContent as ::unity::ClassIdentity>::NAME,
545 "Update",
546 )
547 });
548 let __inner: extern "C" fn(SolanelInfoMenuContent, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
549 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
550 __inner(__receiver, __mi)
551 }
552 }
553 }
554 #[doc = "`CalcW()` overload"]
555 fn calc_w(self) -> f32 {
556 unsafe {
557 let __receiver =
558 <SolanelInfoMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
559 {
560 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
561 let __vi = *__vt.get(21usize).unwrap_or_else(|| {
562 panic!(
563 "unity: virtual slot {}
564 out of range (vtable len {}
565) on the runtime class behind {}
566 (method `{}
567`)",
568 21usize,
569 __vt.len(),
570 <SolanelInfoMenuContent as ::unity::ClassIdentity>::NAME,
571 "CalcW",
572 )
573 });
574 let __inner: extern "C" fn(SolanelInfoMenuContent, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
575 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
576 __inner(__receiver, __mi)
577 }
578 }
579 }
580 #[doc = "`CalcH()` overload"]
581 fn calc_h(self) -> f32 {
582 unsafe {
583 let __receiver =
584 <SolanelInfoMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
585 {
586 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
587 let __vi = *__vt.get(22usize).unwrap_or_else(|| {
588 panic!(
589 "unity: virtual slot {}
590 out of range (vtable len {}
591) on the runtime class behind {}
592 (method `{}
593`)",
594 22usize,
595 __vt.len(),
596 <SolanelInfoMenuContent as ::unity::ClassIdentity>::NAME,
597 "CalcH",
598 )
599 });
600 let __inner: extern "C" fn(SolanelInfoMenuContent, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
601 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
602 __inner(__receiver, __mi)
603 }
604 }
605 }
606 #[doc = "`Initialize()` overload"]
607 fn initialize(self) -> () {
608 unsafe {
609 let __receiver =
610 <SolanelInfoMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
611 ::unity::il2cpp_call!((::unity::module_base()+0x1fe0120usize)as*mut u8,();
612(SolanelInfoMenuContent)__receiver)
613 }
614 }
615 #[doc = "`GetSpriteAtlasManager()` overload"]
616 fn get_sprite_atlas_manager(self) -> crate::app::spriteatlasmanager_2::SpriteAtlasManager_2 {
617 unsafe {
618 let __receiver =
619 <SolanelInfoMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
620 ::unity::il2cpp_call!((::unity::module_base()+0x1fe1a40usize)as*mut u8,crate::app::spriteatlasmanager_2::SpriteAtlasManager_2;
621(SolanelInfoMenuContent)__receiver)
622 }
623 }
624 #[doc = "`SetAreaDetail(crate::app::hubareadata::HubAreaData)` overload"]
625 fn set_area_detail(self, data: impl ::core::convert::Into<crate::app::hubareadata::HubAreaData>) -> () {
626 unsafe {
627 let __receiver =
628 <SolanelInfoMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
629 ::unity::il2cpp_call!((::unity::module_base()+0x1fdf260usize)as*mut u8,();
630(SolanelInfoMenuContent)__receiver,(crate::app::hubareadata::HubAreaData)::core::convert::Into::into(data))
631 }
632 }
633 #[doc = "`.ctor()` overload"]
634 fn ctor(self) -> () {
635 unsafe {
636 let __receiver =
637 <SolanelInfoMenuContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
638 ::unity::il2cpp_call!((::unity::module_base()+0x1fe1ab0usize)as*mut u8,();
639(SolanelInfoMenuContent)__receiver)
640 }
641 }
642}
643
644#[cfg(feature = "app-solanelinfomenucontent")]
645impl<__T: ISolanelInfoMenuContent> ISolanelInfoMenuContentMethods for __T {}
646
647#[cfg(feature = "app-solanelinfomenucontent")]
648impl SolanelInfoMenuContent {
649 pub fn after_build_method_info() -> &'static ::unity::il2cpp::MethodInfo {
650 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
651 }
652
653 pub fn calc_cursor_moved_pos_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
654 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
655 }
656
657 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
658 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
659 }
660
661 pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
662 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
663 }
664
665 pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
666 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
667 }
668
669 pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
670 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
671 }
672
673 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
674 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
675 }
676
677 pub fn calc_w_method_info() -> &'static ::unity::il2cpp::MethodInfo {
678 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
679 }
680
681 pub fn calc_h_method_info() -> &'static ::unity::il2cpp::MethodInfo {
682 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
683 }
684
685 pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
686 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
687 }
688
689 pub fn get_sprite_atlas_manager_method_info() -> &'static ::unity::il2cpp::MethodInfo {
690 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
691 }
692
693 pub fn set_area_detail_method_info() -> &'static ::unity::il2cpp::MethodInfo {
694 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
695 }
696
697 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
698 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
699 }
700
701 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
702 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
703 }
704}
705
706#[cfg(feature = "app-solanelinfomenucontent")]
707impl SolanelInfoMenuContent {
708 #[doc = "Direct (non-virtual) call to `SolanelInfoMenuContent`'s own `AfterBuild`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
709 pub unsafe fn after_build(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
710 let __mi = Self::after_build_method_info();
711 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
712 __inner(this.into(), ::core::option::Option::None)
713 }
714
715 #[doc = "Direct (non-virtual) call to `SolanelInfoMenuContent`'s own `CalcCursorMovedPosY`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
716 pub unsafe fn calc_cursor_moved_pos_y(this: impl ::core::convert::Into<::unity::IlInstance>, menu_item_index: i32) -> f32 {
717 let __mi = Self::calc_cursor_moved_pos_y_method_info();
718 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
719 __inner(this.into(), menu_item_index, ::core::option::Option::None)
720 }
721
722 #[doc = "Direct (non-virtual) call to `SolanelInfoMenuContent`'s own `Update`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
723 pub unsafe fn update(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
724 let __mi = Self::update_method_info();
725 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
726 __inner(this.into(), ::core::option::Option::None)
727 }
728
729 #[doc = "Direct (non-virtual) call to `SolanelInfoMenuContent`'s own `CalcW`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
730 pub unsafe fn calc_w(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
731 let __mi = Self::calc_w_method_info();
732 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
733 __inner(this.into(), ::core::option::Option::None)
734 }
735
736 #[doc = "Direct (non-virtual) call to `SolanelInfoMenuContent`'s own `CalcH`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
737 pub unsafe fn calc_h(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
738 let __mi = Self::calc_h_method_info();
739 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
740 __inner(this.into(), ::core::option::Option::None)
741 }
742}
743
744#[cfg(feature = "app-solanelinfomenucontent")]
745impl SolanelInfoMenuContent {
746 #[doc = "`.ctor()` — no args"]
747 pub fn new() -> Self {
748 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
749 panic!(
750 "{}
751::{}
752 failed to instantiate",
753 ::core::stringify!(SolanelInfoMenuContent),
754 ::core::stringify!(new),
755 )
756 });
757 <Self as ISolanelInfoMenuContentMethods>::ctor(this);
758 this
759 }
760}
761
762#[cfg(feature = "app-solanelinfomenucontent")]
763#[doc(hidden)]
764pub mod prelude {
765 pub use super::{
766 ISolanelInfoMenuContent, ISolanelInfoMenuContentMethods, ISolanelInfoMenuContent_HelpFastTravel,
767 ISolanelInfoMenuContent_HelpFastTravelMethods, ISolanelInfoMenuContent_Infomation, ISolanelInfoMenuContent_InfomationMethods,
768 ISolanelInfoMenuContent_SolanelUnit, ISolanelInfoMenuContent_SolanelUnitMethods, SolanelInfoMenuContent,
769 SolanelInfoMenuContent_HelpFastTravel, SolanelInfoMenuContent_Infomation, SolanelInfoMenuContent_SolanelUnit,
770 };
771 #[cfg(feature = "app-basicmenucontent")]
772 pub use crate::app::basicmenucontent::IBasicMenuContentMethods;
773 #[cfg(feature = "system-object")]
774 pub use crate::system::object::IObjectMethods;
775 #[cfg(feature = "unity_engine-behaviour")]
776 pub use crate::unity_engine::behaviour::IBehaviourMethods;
777 #[cfg(feature = "unity_engine-component")]
778 pub use crate::unity_engine::component::IComponentMethods;
779 #[cfg(feature = "unity_engine-monobehaviour")]
780 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
781 #[cfg(feature = "unity_engine-object_2")]
782 pub use crate::unity_engine::object_2::IObject_2Methods;
783 pub use crate::{
784 app::basicmenucontent::IBasicMenuContent,
785 system::object::IObject,
786 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
787 };
788}