engage/generated/app/
godsymbollarge.rs1#[cfg(feature = "app-godsymbollarge-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/godsymbollarge/GodSymbolLarge.md"))]
11 #[::unity::class(namespace = "App", name = "GodSymbolLarge")]
12 #[parent(crate::system::object::Object)]
13 pub struct GodSymbolLarge {
14 #[static_field]
15 #[rename(name = "Path")]
16 pub path: ::unity::Il2CppString,
17 #[static_field]
18 #[rename(name = "s_GodSymbolLarge")]
19 pub s_god_symbol_large: crate::app::spriteatlasmanager_2::SpriteAtlasManager_2,
20 }
21}
22
23#[cfg(feature = "app-godsymbollarge-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-godsymbollarge")]
27impl GodSymbolLarge {
28 #[doc = "`LoadAsync()` overload"]
29 pub fn load_async() -> () {
30 unsafe {
31 ::unity::il2cpp_call!((::unity::module_base()+0x233e4b0usize)as*mut u8,();
32 )
33 }
34 }
35
36 #[doc = "`Unload()` overload"]
37 pub fn unload() -> () {
38 unsafe {
39 ::unity::il2cpp_call!((::unity::module_base()+0x233e5a0usize)as*mut u8,();
40 )
41 }
42 }
43
44 #[doc = "`Get(::unity::Il2CppString)` overload"]
45 pub fn get(icon_name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::sprite::Sprite {
46 unsafe {
47 ::unity::il2cpp_call!((::unity::module_base()+0x233e660usize)as*mut u8,crate::unity_engine::sprite::Sprite;
48(::unity::Il2CppString)::core::convert::Into::into(icon_name))
49 }
50 }
51
52 #[doc = "`.cctor()` overload"]
53 pub fn cctor() -> () {
54 unsafe {
55 ::unity::il2cpp_call!((::unity::module_base()+0x233e730usize)as*mut u8,();
56 )
57 }
58 }
59}
60
61#[cfg(feature = "app-godsymbollarge")]
62pub trait IGodSymbolLargeMethods: IGodSymbolLarge {
63 #[doc = "`.ctor()` overload"]
64 fn ctor(self) -> () {
65 unsafe {
66 let __receiver = <GodSymbolLarge as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67 ::unity::il2cpp_call!((::unity::module_base()+0x233e720usize)as*mut u8,();
68(GodSymbolLarge)__receiver)
69 }
70 }
71}
72
73#[cfg(feature = "app-godsymbollarge")]
74impl<__T: IGodSymbolLarge> IGodSymbolLargeMethods for __T {}
75
76#[cfg(feature = "app-godsymbollarge")]
77impl GodSymbolLarge {
78 pub fn load_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
79 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
80 }
81
82 pub fn unload_method_info() -> &'static ::unity::il2cpp::MethodInfo {
83 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
84 }
85
86 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
87 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
88 }
89
90 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
91 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
92 }
93
94 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
95 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
96 }
97}
98
99#[cfg(feature = "app-godsymbollarge")]
100impl GodSymbolLarge {
101 #[doc = "`.ctor()` — no args"]
102 pub fn new() -> Self {
103 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
104 panic!(
105 "{}
106::{}
107 failed to instantiate",
108 ::core::stringify!(GodSymbolLarge),
109 ::core::stringify!(new),
110 )
111 });
112 <Self as IGodSymbolLargeMethods>::ctor(this);
113 this
114 }
115}
116
117#[cfg(feature = "app-godsymbollarge")]
118#[doc(hidden)]
119pub mod prelude {
120 pub use super::{GodSymbolLarge, IGodSymbolLarge, IGodSymbolLargeMethods};
121 pub use crate::system::object::IObject;
122 #[cfg(feature = "system-object")]
123 pub use crate::system::object::IObjectMethods;
124}