engage/generated/app/
battledebugmanager.rs1#[cfg(feature = "app-battledebugmanager-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::singletonclass_1::{ISingletonClass_1, SingletonClass_1},
10 system::object::{IObject, Object},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/battledebugmanager/BattleDebugManager.md"))]
14 #[::unity::class(namespace = "App", name = "BattleDebugManager")]
15 #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::battledebugmanager::BattleDebugManager>)]
16 pub struct BattleDebugManager {
17 #[offset(32)]
18 #[rename(name = "m_Visible")]
19 pub m_visible: crate::system::collections::generic::dictionary_2::Dictionary_2<::unity::Il2CppString, bool>,
20 }
21}
22
23#[cfg(feature = "app-battledebugmanager-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-battledebugmanager")]
27pub trait IBattleDebugManagerMethods: IBattleDebugManager {
28 #[doc = "`IsVisible(::unity::Il2CppString)` overload"]
29 fn is_visible(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
30 unsafe {
31 let __receiver = <BattleDebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
32 ::unity::il2cpp_call!((::unity::module_base()+0x1e727a0usize)as*mut u8,bool;
33(BattleDebugManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
34 }
35 }
36 #[doc = "`SetVisible(::unity::Il2CppString, bool)` overload"]
37 fn set_visible(self, name: impl ::core::convert::Into<::unity::Il2CppString>, enable: impl ::core::convert::Into<bool>) -> () {
38 unsafe {
39 let __receiver = <BattleDebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
40 ::unity::il2cpp_call!((::unity::module_base()+0x1e72820usize)as*mut u8,();
41(BattleDebugManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(bool)::core::convert::Into::into(enable))
42 }
43 }
44 #[doc = "`Serialize()` overload"]
45 fn serialize(self) -> () {
46 unsafe {
47 let __receiver = <BattleDebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
48 ::unity::il2cpp_call!((::unity::module_base()+0x1e728f0usize)as*mut u8,();
49(BattleDebugManager)__receiver)
50 }
51 }
52 #[doc = "`Deserialize()` overload"]
53 fn deserialize(self) -> () {
54 unsafe {
55 let __receiver = <BattleDebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
56 ::unity::il2cpp_call!((::unity::module_base()+0x1e72900usize)as*mut u8,();
57(BattleDebugManager)__receiver)
58 }
59 }
60 #[doc = "`.ctor()` overload"]
61 fn ctor(self) -> () {
62 unsafe {
63 let __receiver = <BattleDebugManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
64 ::unity::il2cpp_call!((::unity::module_base()+0x1e72910usize)as*mut u8,();
65(BattleDebugManager)__receiver)
66 }
67 }
68}
69
70#[cfg(feature = "app-battledebugmanager")]
71impl<__T: IBattleDebugManager> IBattleDebugManagerMethods for __T {}
72
73#[cfg(feature = "app-battledebugmanager")]
74impl BattleDebugManager {
75 pub fn is_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
76 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
77 }
78
79 pub fn set_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
80 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
81 }
82
83 pub fn serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
84 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
85 }
86
87 pub fn deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
88 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
89 }
90
91 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
92 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
93 }
94}
95
96#[cfg(feature = "app-battledebugmanager")]
97impl BattleDebugManager {
98 #[doc = "`.ctor()` — no args"]
99 pub fn new() -> Self {
100 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
101 panic!(
102 "{}
103::{}
104 failed to instantiate",
105 ::core::stringify!(BattleDebugManager),
106 ::core::stringify!(new),
107 )
108 });
109 <Self as IBattleDebugManagerMethods>::ctor(this);
110 this
111 }
112}
113
114#[cfg(feature = "app-battledebugmanager")]
115#[doc(hidden)]
116pub mod prelude {
117 pub use super::{BattleDebugManager, IBattleDebugManager, IBattleDebugManagerMethods};
118 #[cfg(feature = "app-singletonclass_1")]
119 pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
120 #[cfg(feature = "system-object")]
121 pub use crate::system::object::IObjectMethods;
122 pub use crate::{app::singletonclass_1::ISingletonClass_1, system::object::IObject};
123}