Skip to main content

engage/generated/app/
commonringfaceframe.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-commonringfaceframe-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/commonringfaceframe/CommonRingFaceFrame.md"))]
11    #[::unity::class(namespace = "App", name = "CommonRingFaceFrame")]
12    #[parent(crate::system::object::Object)]
13    pub struct CommonRingFaceFrame {
14        #[static_field]
15        #[rename(name = "Path")]
16        pub path: ::unity::Il2CppString,
17        #[static_field]
18        #[rename(name = "s_CommonRingFaceFrame")]
19        pub s_common_ring_face_frame: crate::app::spriteatlasmanager_2::SpriteAtlasManager_2,
20    }
21}
22
23#[cfg(feature = "app-commonringfaceframe-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-commonringfaceframe")]
27impl CommonRingFaceFrame {
28    #[doc = "`LoadAsync()` overload"]
29    pub fn load_async() -> () {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x25359e0usize)as*mut u8,();
32            )
33        }
34    }
35
36    #[doc = "`IsLoading()` overload"]
37    pub fn is_loading() -> bool {
38        unsafe {
39            ::unity::il2cpp_call!((::unity::module_base()+0x2535ad0usize)as*mut u8,bool;
40            )
41        }
42    }
43
44    #[doc = "`Unload()` overload"]
45    pub fn unload() -> () {
46        unsafe {
47            ::unity::il2cpp_call!((::unity::module_base()+0x2535b80usize)as*mut u8,();
48            )
49        }
50    }
51
52    #[doc = "`Get(crate::app::ringdata::RingData_Ranks)` overload"]
53    pub fn get(rank: impl ::core::convert::Into<crate::app::ringdata::RingData_Ranks>) -> crate::unity_engine::sprite::Sprite {
54        unsafe {
55            ::unity::il2cpp_call!((::unity::module_base()+0x2535c40usize)as*mut u8,crate::unity_engine::sprite::Sprite;
56(crate::app::ringdata::RingData_Ranks)::core::convert::Into::into(rank))
57        }
58    }
59
60    #[doc = "`Get(::unity::Il2CppString)` overload"]
61    pub fn get_2(icon_name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::sprite::Sprite {
62        unsafe {
63            ::unity::il2cpp_call!((::unity::module_base()+0x2535db0usize)as*mut u8,crate::unity_engine::sprite::Sprite;
64(::unity::Il2CppString)::core::convert::Into::into(icon_name))
65        }
66    }
67
68    #[doc = "`.cctor()` overload"]
69    pub fn cctor() -> () {
70        unsafe {
71            ::unity::il2cpp_call!((::unity::module_base()+0x2535e80usize)as*mut u8,();
72            )
73        }
74    }
75}
76
77#[cfg(feature = "app-commonringfaceframe")]
78pub trait ICommonRingFaceFrameMethods: ICommonRingFaceFrame {
79    #[doc = "`.ctor()` overload"]
80    fn ctor(self) -> () {
81        unsafe {
82            let __receiver = <CommonRingFaceFrame as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83            ::unity::il2cpp_call!((::unity::module_base()+0x2535e70usize)as*mut u8,();
84(CommonRingFaceFrame)__receiver)
85        }
86    }
87}
88
89#[cfg(feature = "app-commonringfaceframe")]
90impl<__T: ICommonRingFaceFrame> ICommonRingFaceFrameMethods for __T {}
91
92#[cfg(feature = "app-commonringfaceframe")]
93impl CommonRingFaceFrame {
94    pub fn load_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
95        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
96    }
97
98    pub fn is_loading_method_info() -> &'static ::unity::il2cpp::MethodInfo {
99        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
100    }
101
102    pub fn unload_method_info() -> &'static ::unity::il2cpp::MethodInfo {
103        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
104    }
105
106    pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
107        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
108    }
109
110    pub fn get_2_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-commonringfaceframe")]
124impl CommonRingFaceFrame {
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!(CommonRingFaceFrame),
133                ::core::stringify!(new),
134            )
135        });
136        <Self as ICommonRingFaceFrameMethods>::ctor(this);
137        this
138    }
139}
140
141#[cfg(feature = "app-commonringfaceframe")]
142#[doc(hidden)]
143pub mod prelude {
144    pub use super::{CommonRingFaceFrame, ICommonRingFaceFrame, ICommonRingFaceFrameMethods};
145    pub use crate::system::object::IObject;
146    #[cfg(feature = "system-object")]
147    pub use crate::system::object::IObjectMethods;
148}