engage/generated/app/
dragonridesolaimagerender.rs1#[cfg(feature = "app-dragonridesolaimagerender-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::object::{IObject, Object},
10 unity_engine::{
11 behaviour::{Behaviour, IBehaviour},
12 component::{Component, IComponent},
13 monobehaviour::{IMonoBehaviour, MonoBehaviour},
14 object_2::{IObject_2, Object_2},
15 },
16 };
17
18 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/dragonridesolaimagerender/DragonRideSolaImageRender.md"))]
19 #[::unity::class(namespace = "App", name = "DragonRideSolaImageRender")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct DragonRideSolaImageRender {
22 #[offset(24)]
23 #[rename(name = "m_Camera")]
24 pub m_camera: crate::unity_engine::camera::Camera,
25 #[offset(32)]
26 #[rename(name = "m_Sola")]
27 pub m_sola: crate::combat::character::Character,
28 }
29}
30
31#[cfg(feature = "app-dragonridesolaimagerender-types")]
32pub use __types::*;
33
34#[cfg(feature = "app-dragonridesolaimagerender")]
35pub trait IDragonRideSolaImageRenderMethods: IDragonRideSolaImageRender {
36 #[doc = "`.ctor()` overload"]
37 fn ctor(self) -> () {
38 unsafe {
39 let __receiver =
40 <DragonRideSolaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
41 ::unity::il2cpp_call!((::unity::module_base()+0x2ad9e40usize)as*mut u8,();
42(DragonRideSolaImageRender)__receiver)
43 }
44 }
45 #[doc = "`OnDestroy()` overload"]
46 fn on_destroy(self) -> () {
47 unsafe {
48 let __receiver =
49 <DragonRideSolaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
50 ::unity::il2cpp_call!((::unity::module_base()+0x2ad9e50usize)as*mut u8,();
51(DragonRideSolaImageRender)__receiver)
52 }
53 }
54 #[doc = "`Update()` overload"]
55 fn update(self) -> () {
56 unsafe {
57 let __receiver =
58 <DragonRideSolaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59 ::unity::il2cpp_call!((::unity::module_base()+0x2ada040usize)as*mut u8,();
60(DragonRideSolaImageRender)__receiver)
61 }
62 }
63 #[doc = "`SetLayer(crate::unity_engine::gameobject::GameObject, i32)` overload"]
64 fn set_layer(
65 self,
66 obj: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
67 set_layer: impl ::core::convert::Into<i32>,
68 ) -> () {
69 unsafe {
70 let __receiver =
71 <DragonRideSolaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
72 ::unity::il2cpp_call!((::unity::module_base()+0x2ada050usize)as*mut u8,();
73(DragonRideSolaImageRender)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(obj),(i32)::core::convert::Into::into(set_layer))
74 }
75 }
76 #[doc = "`Init()` overload"]
77 fn init(self) -> () {
78 unsafe {
79 let __receiver =
80 <DragonRideSolaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
81 ::unity::il2cpp_call!((::unity::module_base()+0x2ada350usize)as*mut u8,();
82(DragonRideSolaImageRender)__receiver)
83 }
84 }
85 #[doc = "`PlaySolaAnime(::unity::Il2CppString)` overload"]
86 fn play_sola_anime(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
87 unsafe {
88 let __receiver =
89 <DragonRideSolaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
90 ::unity::il2cpp_call!((::unity::module_base()+0x2ada8d0usize)as*mut u8,();
91(DragonRideSolaImageRender)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
92 }
93 }
94}
95
96#[cfg(feature = "app-dragonridesolaimagerender")]
97impl<__T: IDragonRideSolaImageRender> IDragonRideSolaImageRenderMethods for __T {}
98
99#[cfg(feature = "app-dragonridesolaimagerender")]
100impl DragonRideSolaImageRender {
101 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
102 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
103 }
104
105 pub fn on_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
106 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
107 }
108
109 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
110 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
111 }
112
113 pub fn set_layer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
114 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
115 }
116
117 pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
118 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
119 }
120
121 pub fn play_sola_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
122 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
123 }
124}
125
126#[cfg(feature = "app-dragonridesolaimagerender")]
127impl DragonRideSolaImageRender {
128 #[doc = "`.ctor()` — no args"]
129 pub fn new() -> Self {
130 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
131 panic!(
132 "{}
133::{}
134 failed to instantiate",
135 ::core::stringify!(DragonRideSolaImageRender),
136 ::core::stringify!(new),
137 )
138 });
139 <Self as IDragonRideSolaImageRenderMethods>::ctor(this);
140 this
141 }
142}
143
144#[cfg(feature = "app-dragonridesolaimagerender")]
145#[doc(hidden)]
146pub mod prelude {
147 pub use super::{DragonRideSolaImageRender, IDragonRideSolaImageRender, IDragonRideSolaImageRenderMethods};
148 #[cfg(feature = "system-object")]
149 pub use crate::system::object::IObjectMethods;
150 #[cfg(feature = "unity_engine-behaviour")]
151 pub use crate::unity_engine::behaviour::IBehaviourMethods;
152 #[cfg(feature = "unity_engine-component")]
153 pub use crate::unity_engine::component::IComponentMethods;
154 #[cfg(feature = "unity_engine-monobehaviour")]
155 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
156 #[cfg(feature = "unity_engine-object_2")]
157 pub use crate::unity_engine::object_2::IObject_2Methods;
158 pub use crate::{
159 system::object::IObject,
160 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
161 };
162}