Skip to main content

engage/generated/app/
profilecardvariable.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-profilecardvariable-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardvariable/ProfileCardVariable.md"))]
11    #[::unity::class(namespace = "App", name = "ProfileCardVariable")]
12    #[parent(crate::system::object::Object)]
13    pub struct ProfileCardVariable {
14        #[static_field]
15        #[rename(name = "m_Flag_IsStampHide")]
16        pub m_flag_is_stamp_hide: ::unity::Il2CppString,
17        #[static_field]
18        #[rename(name = "m_Flag_MyCard_UgcNotice")]
19        pub m_flag_my_card_ugc_notice: ::unity::Il2CppString,
20    }
21}
22
23#[cfg(feature = "app-profilecardvariable-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-profilecardvariable")]
27impl ProfileCardVariable {
28    #[doc = "`RegistGlobalFlags()` overload"]
29    pub fn regist_global_flags() -> () {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x2c00690usize)as*mut u8,();
32            )
33        }
34    }
35
36    #[doc = "`get_IsStampHide()` overload"]
37    pub fn get_is_stamp_hide() -> bool {
38        unsafe {
39            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc050usize)as*mut u8,bool;
40            )
41        }
42    }
43
44    #[doc = "`set_IsStampHide(bool)` overload"]
45    pub fn set_is_stamp_hide(value: impl ::core::convert::Into<bool>) -> () {
46        unsafe {
47            ::unity::il2cpp_call!((::unity::module_base()+0x2c00780usize)as*mut u8,();
48(bool)::core::convert::Into::into(value))
49        }
50    }
51
52    #[doc = "`get_MyCard_UgcNotice()` overload"]
53    pub fn get_my_card_ugc_notice() -> bool {
54        unsafe {
55            ::unity::il2cpp_call!((::unity::module_base()+0x2c00ab0usize)as*mut u8,bool;
56            )
57        }
58    }
59
60    #[doc = "`set_MyCard_UgcNotice(bool)` overload"]
61    pub fn set_my_card_ugc_notice(value: impl ::core::convert::Into<bool>) -> () {
62        unsafe {
63            ::unity::il2cpp_call!((::unity::module_base()+0x2c00bd0usize)as*mut u8,();
64(bool)::core::convert::Into::into(value))
65        }
66    }
67
68    #[doc = "`.cctor()` overload"]
69    pub fn cctor() -> () {
70        unsafe {
71            ::unity::il2cpp_call!((::unity::module_base()+0x2c00f10usize)as*mut u8,();
72            )
73        }
74    }
75}
76
77#[cfg(feature = "app-profilecardvariable")]
78pub trait IProfileCardVariableMethods: IProfileCardVariable {
79    #[doc = "`.ctor()` overload"]
80    fn ctor(self) -> () {
81        unsafe {
82            let __receiver = <ProfileCardVariable as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83            ::unity::il2cpp_call!((::unity::module_base()+0x2c00f00usize)as*mut u8,();
84(ProfileCardVariable)__receiver)
85        }
86    }
87}
88
89#[cfg(feature = "app-profilecardvariable")]
90impl<__T: IProfileCardVariable> IProfileCardVariableMethods for __T {}
91
92#[cfg(feature = "app-profilecardvariable")]
93impl ProfileCardVariable {
94    pub fn regist_global_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
95        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
96    }
97
98    pub fn get_is_stamp_hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
99        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
100    }
101
102    pub fn set_is_stamp_hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
103        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
104    }
105
106    pub fn get_my_card_ugc_notice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
107        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
108    }
109
110    pub fn set_my_card_ugc_notice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
111        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
112    }
113
114    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
115        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
116    }
117
118    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
119        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
120    }
121}
122
123#[cfg(feature = "app-profilecardvariable")]
124impl ProfileCardVariable {
125    #[doc = "`.ctor()` — no args"]
126    pub fn new() -> Self {
127        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
128            panic!(
129                "{}
130::{}
131 failed to instantiate",
132                ::core::stringify!(ProfileCardVariable),
133                ::core::stringify!(new),
134            )
135        });
136        <Self as IProfileCardVariableMethods>::ctor(this);
137        this
138    }
139}
140
141#[cfg(feature = "app-profilecardvariable")]
142#[doc(hidden)]
143pub mod prelude {
144    pub use super::{IProfileCardVariable, IProfileCardVariableMethods, ProfileCardVariable};
145    pub use crate::system::object::IObject;
146    #[cfg(feature = "system-object")]
147    pub use crate::system::object::IObjectMethods;
148}