engage/generated/app/
fishingcharaimagerender.rs1#[cfg(feature = "app-fishingcharaimagerender-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/fishingcharaimagerender/FishingCharaImageRender.md"))]
19 #[::unity::class(namespace = "App", name = "FishingCharaImageRender")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct FishingCharaImageRender {
22 #[offset(24)]
23 #[rename(name = "m_Camera")]
24 pub m_camera: crate::unity_engine::camera::Camera,
25 #[offset(32)]
26 #[rename(name = "m_Chara")]
27 pub m_chara: crate::combat::character::Character,
28 #[offset(40)]
29 #[rename(name = "m_Sola")]
30 pub m_sola: crate::combat::character::Character,
31 #[offset(48)]
32 #[rename(name = "m_Lure")]
33 pub m_lure: crate::unity_engine::gameobject::GameObject,
34 #[offset(56)]
35 #[rename(name = "m_IsPlayingHitAnime")]
36 pub m_is_playing_hit_anime: bool,
37 }
38}
39
40#[cfg(feature = "app-fishingcharaimagerender-types")]
41pub use __types::*;
42
43#[cfg(feature = "app-fishingcharaimagerender")]
44pub trait IFishingCharaImageRenderMethods: IFishingCharaImageRender {
45 #[doc = "`.ctor()` overload"]
46 fn ctor(self) -> () {
47 unsafe {
48 let __receiver =
49 <FishingCharaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
50 ::unity::il2cpp_call!((::unity::module_base()+0x26ee4f0usize)as*mut u8,();
51(FishingCharaImageRender)__receiver)
52 }
53 }
54 #[doc = "`OnDestroy()` overload"]
55 fn on_destroy(self) -> () {
56 unsafe {
57 let __receiver =
58 <FishingCharaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59 ::unity::il2cpp_call!((::unity::module_base()+0x26ee500usize)as*mut u8,();
60(FishingCharaImageRender)__receiver)
61 }
62 }
63 #[doc = "`Update()` overload"]
64 fn update(self) -> () {
65 unsafe {
66 let __receiver =
67 <FishingCharaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
68 ::unity::il2cpp_call!((::unity::module_base()+0x26ee760usize)as*mut u8,();
69(FishingCharaImageRender)__receiver)
70 }
71 }
72 #[doc = "`SetLayer(crate::unity_engine::gameobject::GameObject, i32)` overload"]
73 fn set_layer(
74 self,
75 obj: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
76 set_layer: impl ::core::convert::Into<i32>,
77 ) -> () {
78 unsafe {
79 let __receiver =
80 <FishingCharaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
81 ::unity::il2cpp_call!((::unity::module_base()+0x26ee970usize)as*mut u8,();
82(FishingCharaImageRender)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(obj),(i32)::core::convert::Into::into(set_layer))
83 }
84 }
85 #[doc = "`PlayCharaAnime(::unity::Il2CppString, ::unity::Il2CppString, bool)` overload"]
86 fn play_chara_anime(
87 self,
88 name: impl ::core::convert::Into<::unity::Il2CppString>,
89 face_state: impl ::core::convert::Into<::unity::Il2CppString>,
90 change_soon: impl ::core::convert::Into<bool>,
91 ) -> () {
92 unsafe {
93 let __receiver =
94 <FishingCharaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
95 ::unity::il2cpp_call!((::unity::module_base()+0x26ee840usize)as*mut u8,();
96(FishingCharaImageRender)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(::unity::Il2CppString)::core::convert::Into::into(face_state),(bool)::core::convert::Into::into(change_soon))
97 }
98 }
99 #[doc = "`StartHitAnime()` overload"]
100 fn start_hit_anime(self) -> () {
101 unsafe {
102 let __receiver =
103 <FishingCharaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
104 ::unity::il2cpp_call!((::unity::module_base()+0x26eec70usize)as*mut u8,();
105(FishingCharaImageRender)__receiver)
106 }
107 }
108 #[doc = "`StartAssistAnime()` overload"]
109 fn start_assist_anime(self) -> () {
110 unsafe {
111 let __receiver =
112 <FishingCharaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
113 ::unity::il2cpp_call!((::unity::module_base()+0x26eecf0usize)as*mut u8,();
114(FishingCharaImageRender)__receiver)
115 }
116 }
117 #[doc = "`Init(::unity::Il2CppString)` overload"]
118 fn init(self, rod_id: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
119 unsafe {
120 let __receiver =
121 <FishingCharaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
122 ::unity::il2cpp_call!((::unity::module_base()+0x26eed60usize)as*mut u8,();
123(FishingCharaImageRender)__receiver,(::unity::Il2CppString)::core::convert::Into::into(rod_id))
124 }
125 }
126 #[doc = "`ChangeRodType(::unity::Il2CppString)` overload"]
127 fn change_rod_type(self, rod_id: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
128 unsafe {
129 let __receiver =
130 <FishingCharaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131 ::unity::il2cpp_call!((::unity::module_base()+0x26ef430usize)as*mut u8,();
132(FishingCharaImageRender)__receiver,(::unity::Il2CppString)::core::convert::Into::into(rod_id))
133 }
134 }
135 #[doc = "`SetSolaVisible(bool)` overload"]
136 fn set_sola_visible(self, set: impl ::core::convert::Into<bool>) -> () {
137 unsafe {
138 let __receiver =
139 <FishingCharaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
140 ::unity::il2cpp_call!((::unity::module_base()+0x26ef640usize)as*mut u8,();
141(FishingCharaImageRender)__receiver,(bool)::core::convert::Into::into(set))
142 }
143 }
144 #[doc = "`PlaySolaAnime(::unity::Il2CppString)` overload"]
145 fn play_sola_anime(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
146 unsafe {
147 let __receiver =
148 <FishingCharaImageRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
149 ::unity::il2cpp_call!((::unity::module_base()+0x26ef670usize)as*mut u8,();
150(FishingCharaImageRender)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
151 }
152 }
153}
154
155#[cfg(feature = "app-fishingcharaimagerender")]
156impl<__T: IFishingCharaImageRender> IFishingCharaImageRenderMethods for __T {}
157
158#[cfg(feature = "app-fishingcharaimagerender")]
159impl FishingCharaImageRender {
160 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
161 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
162 }
163
164 pub fn on_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
165 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
166 }
167
168 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
169 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
170 }
171
172 pub fn set_layer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
173 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
174 }
175
176 pub fn play_chara_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
177 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
178 }
179
180 pub fn start_hit_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
181 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
182 }
183
184 pub fn start_assist_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
185 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
186 }
187
188 pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
189 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
190 }
191
192 pub fn change_rod_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
193 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
194 }
195
196 pub fn set_sola_visible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
197 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
198 }
199
200 pub fn play_sola_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
201 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
202 }
203}
204
205#[cfg(feature = "app-fishingcharaimagerender")]
206impl FishingCharaImageRender {
207 #[doc = "`.ctor()` — no args"]
208 pub fn new() -> Self {
209 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
210 panic!(
211 "{}
212::{}
213 failed to instantiate",
214 ::core::stringify!(FishingCharaImageRender),
215 ::core::stringify!(new),
216 )
217 });
218 <Self as IFishingCharaImageRenderMethods>::ctor(this);
219 this
220 }
221}
222
223#[cfg(feature = "app-fishingcharaimagerender")]
224#[doc(hidden)]
225pub mod prelude {
226 pub use super::{FishingCharaImageRender, IFishingCharaImageRender, IFishingCharaImageRenderMethods};
227 #[cfg(feature = "system-object")]
228 pub use crate::system::object::IObjectMethods;
229 #[cfg(feature = "unity_engine-behaviour")]
230 pub use crate::unity_engine::behaviour::IBehaviourMethods;
231 #[cfg(feature = "unity_engine-component")]
232 pub use crate::unity_engine::component::IComponentMethods;
233 #[cfg(feature = "unity_engine-monobehaviour")]
234 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
235 #[cfg(feature = "unity_engine-object_2")]
236 pub use crate::unity_engine::object_2::IObject_2Methods;
237 pub use crate::{
238 system::object::IObject,
239 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
240 };
241}