1#[cfg(feature = "app-helpmanager-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::singletonmonobehaviour_1::{ISingletonMonoBehaviour_1, SingletonMonoBehaviour_1},
10 system::{
11 object::{IObject, Object},
12 r#enum::{Enum, IEnum},
13 valuetype::{IValueType, ValueType},
14 },
15 unity_engine::{
16 behaviour::{Behaviour, IBehaviour},
17 component::{Component, IComponent},
18 monobehaviour::{IMonoBehaviour, MonoBehaviour},
19 object_2::{IObject_2, Object_2},
20 },
21 };
22
23 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/helpmanager/HelpManager_Item_Dir.md"))]
24 #[repr(C)]
25 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
26 pub struct HelpManager_Item_Dir {
27 pub value: i32,
28 }
29 impl ::unity::ClassIdentity for HelpManager_Item_Dir {
30 const NAME: &'static str = "HelpManager.Item.Dir";
31 const NAMESPACE: &'static str = "App";
32
33 fn class() -> ::unity::Class {
34 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
35 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
36 }
37 }
38 impl ::unity::IlType for HelpManager_Item_Dir {
39 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
40 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
41 }
42 }
43 impl HelpManager_Item_Dir {
44 pub fn up() -> Self {
45 Self { value: 0 }
46 }
47
48 pub fn down() -> Self {
49 Self { value: 1 }
50 }
51
52 pub fn right() -> Self {
53 Self { value: 2 }
54 }
55
56 pub fn left() -> Self {
57 Self { value: 3 }
58 }
59
60 pub fn num() -> Self {
61 Self { value: 4 }
62 }
63 }
64
65 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/helpmanager/HelpManager_HelpItemType.md"))]
66 #[repr(C)]
67 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
68 pub struct HelpManager_HelpItemType {
69 pub value: i32,
70 }
71 impl ::unity::ClassIdentity for HelpManager_HelpItemType {
72 const NAME: &'static str = "HelpManager.HelpItemType";
73 const NAMESPACE: &'static str = "App";
74
75 fn class() -> ::unity::Class {
76 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
77 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
78 }
79 }
80 impl ::unity::IlType for HelpManager_HelpItemType {
81 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
82 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
83 }
84 }
85 impl HelpManager_HelpItemType {
86 pub fn none() -> Self {
87 Self { value: 0 }
88 }
89
90 pub fn unit_name() -> Self {
91 Self { value: 1 }
92 }
93
94 pub fn god_name() -> Self {
95 Self { value: 2 }
96 }
97
98 pub fn bond_lv() -> Self {
99 Self { value: 3 }
100 }
101
102 pub fn job_title() -> Self {
103 Self { value: 4 }
104 }
105
106 pub fn efficacy() -> Self {
107 Self { value: 5 }
108 }
109
110 pub fn battle_type() -> Self {
111 Self { value: 6 }
112 }
113
114 pub fn unit_lv() -> Self {
115 Self { value: 7 }
116 }
117
118 pub fn r#move() -> Self {
119 Self { value: 8 }
120 }
121
122 pub fn weapon_lv() -> Self {
123 Self { value: 9 }
124 }
125
126 pub fn parameter() -> Self {
127 Self { value: 10 }
128 }
129
130 pub fn hp() -> Self {
131 Self { value: 11 }
132 }
133
134 pub fn hp_stock() -> Self {
135 Self { value: 12 }
136 }
137
138 pub fn weapon_item() -> Self {
139 Self { value: 13 }
140 }
141
142 pub fn god_weapon_item() -> Self {
143 Self { value: 14 }
144 }
145
146 pub fn skill() -> Self {
147 Self { value: 15 }
148 }
149
150 pub fn god_skill() -> Self {
151 Self { value: 16 }
152 }
153
154 pub fn terrain_info_skill() -> Self {
155 Self { value: 17 }
156 }
157
158 pub fn enchantment() -> Self {
159 Self { value: 18 }
160 }
161 }
162
163 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/helpmanager/HelpManager_Item.md"))]
164 #[::unity::class(namespace = "App", name = "HelpManager.Item")]
165 #[parent(crate::system::object::Object)]
166 pub struct HelpManager_Item {
167 #[offset(16)]
168 #[rename(name = "self")]
169 pub self_: crate::app::helpitembase::HelpItemBase,
170 #[offset(24)]
171 #[rename(name = "pos")]
172 pub pos: crate::unity_engine::vector2::Vector2,
173 #[offset(32)]
174 #[rename(name = "dirLine")]
175 pub dir_line: ::unity::Array<::unity::Array<crate::unity_engine::vector2::Vector2>>,
176 #[offset(40)]
177 #[rename(name = "isMoveToNoTouchItem")]
178 pub is_move_to_no_touch_item: ::unity::Array<bool>,
179 }
180
181 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/helpmanager/HelpManager_SituationType.md"))]
182 #[repr(C)]
183 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
184 pub struct HelpManager_SituationType {
185 pub value: i32,
186 }
187 impl ::unity::ClassIdentity for HelpManager_SituationType {
188 const NAME: &'static str = "HelpManager.SituationType";
189 const NAMESPACE: &'static str = "App";
190
191 fn class() -> ::unity::Class {
192 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
193 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
194 }
195 }
196 impl ::unity::IlType for HelpManager_SituationType {
197 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
198 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
199 }
200 }
201 impl HelpManager_SituationType {
202 pub fn none() -> Self {
203 Self { value: 0 }
204 }
205
206 pub fn unit_status() -> Self {
207 Self { value: 1 }
208 }
209
210 pub fn ring_select() -> Self {
211 Self { value: 2 }
212 }
213
214 pub fn unit_info() -> Self {
215 Self { value: 3 }
216 }
217
218 pub fn battle_info() -> Self {
219 Self { value: 4 }
220 }
221
222 pub fn battle_engage_info() -> Self {
223 Self { value: 5 }
224 }
225
226 pub fn battle_alternate_info() -> Self {
227 Self { value: 6 }
228 }
229
230 pub fn only_map_terrain_info() -> Self {
231 Self { value: 7 }
232 }
233 }
234
235 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/helpmanager/HelpManager.md"))]
236 #[::unity::class(namespace = "App", name = "HelpManager")]
237 #[parent(crate::app::singletonmonobehaviour_1::SingletonMonoBehaviour_1<crate::app::helpmanager::HelpManager>)]
238 pub struct HelpManager {
239 #[offset(32)]
240 #[rename(name = "m_HelpParamSetter")]
241 pub m_help_param_setter: crate::app::helpparamsetter::HelpParamSetter,
242 #[offset(40)]
243 #[rename(name = "m_HelpList")]
244 pub m_help_list: crate::system::collections::generic::list_1::List_1<crate::app::helpitemlist::HelpItemList>,
245 #[offset(48)]
246 #[rename(name = "m_ItemList")]
247 pub m_item_list: crate::system::collections::generic::list_1::List_1<crate::app::helpmanager::HelpManager_Item>,
248 #[offset(56)]
249 #[rename(name = "m_CurrentIndex")]
250 pub m_current_index: i32,
251 #[offset(60)]
252 #[rename(name = "m_SituationType")]
253 pub m_situation_type: crate::app::helpmanager::HelpManager_SituationType,
254 #[offset(64)]
255 #[rename(name = "m_PreviousDir")]
256 pub m_previous_dir: crate::app::helpmanager::HelpManager_Item_Dir,
257 #[offset(68)]
258 #[rename(name = "m_AxisPos")]
259 pub m_axis_pos: crate::unity_engine::vector2::Vector2,
260 }
261}
262
263#[cfg(feature = "app-helpmanager-types")]
264pub use __types::*;
265
266#[cfg(feature = "app-helpmanager")]
267pub trait IHelpManager_ItemMethods: IHelpManager_Item {
268 #[doc = "`.ctor(crate::app::helpitembase::HelpItemBase)` overload"]
269 fn ctor(self, item: impl ::core::convert::Into<crate::app::helpitembase::HelpItemBase>) -> () {
270 unsafe {
271 let __receiver = <HelpManager_Item as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
272 ::unity::il2cpp_call!((::unity::module_base()+0x1ce0c80usize)as*mut u8,();
273(HelpManager_Item)__receiver,(crate::app::helpitembase::HelpItemBase)::core::convert::Into::into(item))
274 }
275 }
276 #[doc = "`get_Up()` overload"]
277 fn get_up(self) -> f32 {
278 unsafe {
279 let __receiver = <HelpManager_Item as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
280 ::unity::il2cpp_call!((::unity::module_base()+0x1ce1230usize)as*mut u8,f32;
281(HelpManager_Item)__receiver)
282 }
283 }
284 #[doc = "`get_Down()` overload"]
285 fn get_down(self) -> f32 {
286 unsafe {
287 let __receiver = <HelpManager_Item as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
288 ::unity::il2cpp_call!((::unity::module_base()+0x1ce1270usize)as*mut u8,f32;
289(HelpManager_Item)__receiver)
290 }
291 }
292 #[doc = "`get_Left()` overload"]
293 fn get_left(self) -> f32 {
294 unsafe {
295 let __receiver = <HelpManager_Item as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
296 ::unity::il2cpp_call!((::unity::module_base()+0x1ce12b0usize)as*mut u8,f32;
297(HelpManager_Item)__receiver)
298 }
299 }
300 #[doc = "`get_Right()` overload"]
301 fn get_right(self) -> f32 {
302 unsafe {
303 let __receiver = <HelpManager_Item as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
304 ::unity::il2cpp_call!((::unity::module_base()+0x1ce12f0usize)as*mut u8,f32;
305(HelpManager_Item)__receiver)
306 }
307 }
308}
309
310#[cfg(feature = "app-helpmanager")]
311impl<__T: IHelpManager_Item> IHelpManager_ItemMethods for __T {}
312
313#[cfg(feature = "app-helpmanager")]
314impl HelpManager_Item {
315 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
316 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
317 }
318
319 pub fn get_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
320 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
321 }
322
323 pub fn get_down_method_info() -> &'static ::unity::il2cpp::MethodInfo {
324 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
325 }
326
327 pub fn get_left_method_info() -> &'static ::unity::il2cpp::MethodInfo {
328 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
329 }
330
331 pub fn get_right_method_info() -> &'static ::unity::il2cpp::MethodInfo {
332 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
333 }
334}
335
336#[cfg(feature = "app-helpmanager")]
337impl HelpManager_Item {
338 #[doc = "`.ctor(crate::app::helpitembase::HelpItemBase)` — overload selector"]
339 pub fn new(item: crate::app::helpitembase::HelpItemBase) -> Self {
340 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
341 panic!(
342 "{}
343::{}
344 failed to instantiate",
345 ::core::stringify!(HelpManager_Item),
346 ::core::stringify!(new),
347 )
348 });
349 <Self as IHelpManager_ItemMethods>::ctor(this, item);
350 this
351 }
352}
353
354#[cfg(feature = "app-helpmanager")]
355impl HelpManager {
356 #[doc = "`Add(crate::app::helpitemlist::HelpItemList)` overload"]
357 pub fn add(list: impl ::core::convert::Into<crate::app::helpitemlist::HelpItemList>) -> () {
358 unsafe {
359 ::unity::il2cpp_call!((::unity::module_base()+0x297d970usize)as*mut u8,();
360(crate::app::helpitemlist::HelpItemList)::core::convert::Into::into(list))
361 }
362 }
363
364 #[doc = "`Remove(crate::app::helpitemlist::HelpItemList)` overload"]
365 pub fn remove(list: impl ::core::convert::Into<crate::app::helpitemlist::HelpItemList>) -> () {
366 unsafe {
367 ::unity::il2cpp_call!((::unity::module_base()+0x297da40usize)as*mut u8,();
368(crate::app::helpitemlist::HelpItemList)::core::convert::Into::into(list))
369 }
370 }
371}
372
373#[cfg(feature = "app-helpmanager")]
374pub trait IHelpManagerMethods: IHelpManager {
375 #[doc = "`Setup(bool, crate::app::godunit::GodUnit, bool, crate::app::unitring::UnitRing, bool, crate::app::unit::Unit)` overload"]
376 fn setup(
377 self,
378 is_temp_god: impl ::core::convert::Into<bool>,
379 temp_god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
380 is_temp_ring: impl ::core::convert::Into<bool>,
381 temp_ring: impl ::core::convert::Into<crate::app::unitring::UnitRing>,
382 is_temp_unit: impl ::core::convert::Into<bool>,
383 temp_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
384 ) -> bool {
385 unsafe {
386 let __receiver = <HelpManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
387 ::unity::il2cpp_call!((::unity::module_base()+0x297f480usize)as*mut u8,bool;
388(HelpManager)__receiver,(bool)::core::convert::Into::into(is_temp_god),(crate::app::godunit::GodUnit)::core::convert::Into::into(temp_god),(bool)::core::convert::Into::into(is_temp_ring),(crate::app::unitring::UnitRing)::core::convert::Into::into(temp_ring),(bool)::core::convert::Into::into(is_temp_unit),(crate::app::unit::Unit)::core::convert::Into::into(temp_unit))
389 }
390 }
391 #[doc = "`SetContents(bool)` overload"]
392 fn set_contents(self, immediate: impl ::core::convert::Into<bool>) -> () {
393 unsafe {
394 let __receiver = <HelpManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
395 ::unity::il2cpp_call!((::unity::module_base()+0x2982ec0usize)as*mut u8,();
396(HelpManager)__receiver,(bool)::core::convert::Into::into(immediate))
397 }
398 }
399 #[doc = "`Up(bool)` overload"]
400 fn up(self, is_trigger: impl ::core::convert::Into<bool>) -> bool {
401 unsafe {
402 let __receiver = <HelpManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
403 ::unity::il2cpp_call!((::unity::module_base()+0x2982f70usize)as*mut u8,bool;
404(HelpManager)__receiver,(bool)::core::convert::Into::into(is_trigger))
405 }
406 }
407 #[doc = "`Down(bool)` overload"]
408 fn down(self, is_trigger: impl ::core::convert::Into<bool>) -> bool {
409 unsafe {
410 let __receiver = <HelpManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
411 ::unity::il2cpp_call!((::unity::module_base()+0x2983250usize)as*mut u8,bool;
412(HelpManager)__receiver,(bool)::core::convert::Into::into(is_trigger))
413 }
414 }
415 #[doc = "`Left(bool)` overload"]
416 fn left(self, is_trigger: impl ::core::convert::Into<bool>) -> bool {
417 unsafe {
418 let __receiver = <HelpManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
419 ::unity::il2cpp_call!((::unity::module_base()+0x2983260usize)as*mut u8,bool;
420(HelpManager)__receiver,(bool)::core::convert::Into::into(is_trigger))
421 }
422 }
423 #[doc = "`Right(bool)` overload"]
424 fn right(self, is_trigger: impl ::core::convert::Into<bool>) -> bool {
425 unsafe {
426 let __receiver = <HelpManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
427 ::unity::il2cpp_call!((::unity::module_base()+0x2983270usize)as*mut u8,bool;
428(HelpManager)__receiver,(bool)::core::convert::Into::into(is_trigger))
429 }
430 }
431 #[doc = "`Dot(crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2)` overload"]
432 fn dot(
433 self,
434 ab: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
435 p: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
436 ) -> f32 {
437 unsafe {
438 let __receiver = <HelpManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
439 ::unity::il2cpp_call!((::unity::module_base()+0x2983280usize)as*mut u8,f32;
440(HelpManager)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(ab),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(p))
441 }
442 }
443 #[doc = "`SearchDestItem(i32, i32, crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2, bool, bool, crate::unity_engine::vector2::Vector2)` overload"]
444 fn search_dest_item(
445 self,
446 dir_idx: impl ::core::convert::Into<i32>,
447 pair_dir_idx: impl ::core::convert::Into<i32>,
448 cur_pos: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
449 cur_a: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
450 cur_b: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
451 cur_ab: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
452 is_move_to_no_touch_item: impl ::core::convert::Into<bool>,
453 is_loop: impl ::core::convert::Into<bool>,
454 loop_limit: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
455 ) -> bool {
456 unsafe {
457 let __receiver = <HelpManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
458 ::unity::il2cpp_call!((::unity::module_base()+0x29832a0usize)as*mut u8,bool;
459(HelpManager)__receiver,(i32)::core::convert::Into::into(dir_idx),(i32)::core::convert::Into::into(pair_dir_idx),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(cur_pos),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(cur_a),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(cur_b),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(cur_ab),(bool)::core::convert::Into::into(is_move_to_no_touch_item),(bool)::core::convert::Into::into(is_loop),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(loop_limit))
460 }
461 }
462 #[doc = "`MoveImpl(crate::app::helpmanager::HelpManager_Item_Dir, bool)` overload"]
463 fn move_impl(
464 self,
465 dir: impl ::core::convert::Into<crate::app::helpmanager::HelpManager_Item_Dir>,
466 is_trigger: impl ::core::convert::Into<bool>,
467 ) -> bool {
468 unsafe {
469 let __receiver = <HelpManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
470 ::unity::il2cpp_call!((::unity::module_base()+0x2982f80usize)as*mut u8,bool;
471(HelpManager)__receiver,(crate::app::helpmanager::HelpManager_Item_Dir)::core::convert::Into::into(dir),(bool)::core::convert::Into::into(is_trigger))
472 }
473 }
474 #[doc = "`IsHelpValid(crate::app::helpitembase::HelpItemBase)` overload"]
475 fn is_help_valid(self, hib: impl ::core::convert::Into<crate::app::helpitembase::HelpItemBase>) -> bool {
476 unsafe {
477 let __receiver = <HelpManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
478 ::unity::il2cpp_call!((::unity::module_base()+0x2982cc0usize)as*mut u8,bool;
479(HelpManager)__receiver,(crate::app::helpitembase::HelpItemBase)::core::convert::Into::into(hib))
480 }
481 }
482 #[doc = "`StartItemPriority(crate::app::helpitembase::HelpItemBase)` overload"]
483 fn start_item_priority(self, hib: impl ::core::convert::Into<crate::app::helpitembase::HelpItemBase>) -> i32 {
484 unsafe {
485 let __receiver = <HelpManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
486 ::unity::il2cpp_call!((::unity::module_base()+0x2982d60usize)as*mut u8,i32;
487(HelpManager)__receiver,(crate::app::helpitembase::HelpItemBase)::core::convert::Into::into(hib))
488 }
489 }
490 #[doc = "`StartItemConstPriority(crate::app::helpitembase::HelpItemBase)` overload"]
491 fn start_item_const_priority(self, hib: impl ::core::convert::Into<crate::app::helpitembase::HelpItemBase>) -> i32 {
492 unsafe {
493 let __receiver = <HelpManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
494 ::unity::il2cpp_call!((::unity::module_base()+0x2982e10usize)as*mut u8,i32;
495(HelpManager)__receiver,(crate::app::helpitembase::HelpItemBase)::core::convert::Into::into(hib))
496 }
497 }
498 #[doc = "`.ctor()` overload"]
499 fn ctor(self) -> () {
500 unsafe {
501 let __receiver = <HelpManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
502 ::unity::il2cpp_call!((::unity::module_base()+0x29836d0usize)as*mut u8,();
503(HelpManager)__receiver)
504 }
505 }
506}
507
508#[cfg(feature = "app-helpmanager")]
509impl<__T: IHelpManager> IHelpManagerMethods for __T {}
510
511#[cfg(feature = "app-helpmanager")]
512impl HelpManager {
513 pub fn add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
514 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
515 }
516
517 pub fn remove_method_info() -> &'static ::unity::il2cpp::MethodInfo {
518 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
519 }
520
521 pub fn setup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
522 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
523 }
524
525 pub fn set_contents_method_info() -> &'static ::unity::il2cpp::MethodInfo {
526 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
527 }
528
529 pub fn up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
530 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
531 }
532
533 pub fn down_method_info() -> &'static ::unity::il2cpp::MethodInfo {
534 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
535 }
536
537 pub fn left_method_info() -> &'static ::unity::il2cpp::MethodInfo {
538 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
539 }
540
541 pub fn right_method_info() -> &'static ::unity::il2cpp::MethodInfo {
542 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
543 }
544
545 pub fn dot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
546 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
547 }
548
549 pub fn search_dest_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
550 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
551 }
552
553 pub fn move_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
554 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
555 }
556
557 pub fn is_help_valid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
558 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
559 }
560
561 pub fn start_item_priority_method_info() -> &'static ::unity::il2cpp::MethodInfo {
562 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
563 }
564
565 pub fn start_item_const_priority_method_info() -> &'static ::unity::il2cpp::MethodInfo {
566 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
567 }
568
569 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
570 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
571 }
572}
573
574#[cfg(feature = "app-helpmanager")]
575impl HelpManager {
576 #[doc = "`.ctor()` — no args"]
577 pub fn new() -> Self {
578 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
579 panic!(
580 "{}
581::{}
582 failed to instantiate",
583 ::core::stringify!(HelpManager),
584 ::core::stringify!(new),
585 )
586 });
587 <Self as IHelpManagerMethods>::ctor(this);
588 this
589 }
590}
591
592#[cfg(feature = "app-helpmanager")]
593#[doc(hidden)]
594pub mod prelude {
595 pub use super::{
596 HelpManager, HelpManager_HelpItemType, HelpManager_Item, HelpManager_Item_Dir, HelpManager_SituationType, IHelpManager, IHelpManagerMethods,
597 IHelpManager_Item, IHelpManager_ItemMethods,
598 };
599 #[cfg(feature = "app-singletonmonobehaviour_1")]
600 pub use crate::app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1Methods;
601 #[cfg(feature = "system-object")]
602 pub use crate::system::object::IObjectMethods;
603 #[cfg(feature = "system-enum")]
604 pub use crate::system::r#enum::IEnumMethods;
605 #[cfg(feature = "system-valuetype")]
606 pub use crate::system::valuetype::IValueTypeMethods;
607 #[cfg(feature = "unity_engine-behaviour")]
608 pub use crate::unity_engine::behaviour::IBehaviourMethods;
609 #[cfg(feature = "unity_engine-component")]
610 pub use crate::unity_engine::component::IComponentMethods;
611 #[cfg(feature = "unity_engine-monobehaviour")]
612 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
613 #[cfg(feature = "unity_engine-object_2")]
614 pub use crate::unity_engine::object_2::IObject_2Methods;
615 pub use crate::{
616 app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1,
617 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
618 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
619 };
620}