1#[cfg(feature = "app-hubballoon-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::{
10 object::{IObject, Object},
11 r#enum::{Enum, IEnum},
12 valuetype::{IValueType, ValueType},
13 },
14 unity_engine::{
15 behaviour::{Behaviour, IBehaviour},
16 component::{Component, IComponent},
17 monobehaviour::{IMonoBehaviour, MonoBehaviour},
18 object_2::{IObject_2, Object_2},
19 },
20 };
21
22 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubballoon/HubBalloon_Type.md"))]
23 #[repr(C)]
24 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
25 pub struct HubBalloon_Type {
26 pub value: i32,
27 }
28 impl ::unity::ClassIdentity for HubBalloon_Type {
29 const NAME: &'static str = "HubBalloon.Type";
30 const NAMESPACE: &'static str = "App";
31
32 fn class() -> ::unity::Class {
33 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
34 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
35 }
36 }
37 impl ::unity::IlType for HubBalloon_Type {
38 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
39 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
40 }
41 }
42 impl HubBalloon_Type {
43 pub fn default() -> Self {
44 Self { value: 0 }
45 }
46
47 pub fn chapter() -> Self {
48 Self { value: 1 }
49 }
50
51 pub fn reliance() -> Self {
52 Self { value: 2 }
53 }
54 }
55
56 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubballoon/HubBalloon.md"))]
57 #[::unity::class(namespace = "App", name = "HubBalloon")]
58 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
59 pub struct HubBalloon {
60 #[offset(64)]
61 #[rename(name = "m_propetyToID")]
62 pub m_propety_to_id: i32,
63 #[offset(72)]
64 #[rename(name = "m_talkDefault")]
65 pub m_talk_default: crate::unity_engine::gameobject::GameObject,
66 #[offset(80)]
67 #[rename(name = "m_talkChapter")]
68 pub m_talk_chapter: crate::unity_engine::gameobject::GameObject,
69 #[offset(88)]
70 #[rename(name = "m_talkReliance")]
71 pub m_talk_reliance: crate::unity_engine::gameobject::GameObject,
72 #[offset(96)]
73 #[rename(name = "m_rendererList")]
74 pub m_renderer_list: ::unity::Array<crate::unity_engine::renderer::Renderer>,
75 #[offset(104)]
76 #[rename(name = "m_materials")]
77 pub m_materials: ::unity::Array<crate::unity_engine::material::Material>,
78 #[offset(112)]
79 #[rename(name = "m_alpha")]
80 pub m_alpha: f32,
81 #[offset(116)]
82 #[rename(name = "m_talkDefaultActive")]
83 pub m_talk_default_active: bool,
84 #[offset(117)]
85 #[rename(name = "m_talkChapterActive")]
86 pub m_talk_chapter_active: bool,
87 #[offset(118)]
88 #[rename(name = "m_talkRelianceActive")]
89 pub m_talk_reliance_active: bool,
90 }
91}
92
93#[cfg(feature = "app-hubballoon-types")]
94pub use __types::*;
95
96#[cfg(feature = "app-hubballoon")]
97pub trait IHubBalloonMethods: IHubBalloon {
98 #[doc = "`get_BalloonType()` overload"]
99 fn get_balloon_type(self) -> crate::app::hubballoon::HubBalloon_Type {
100 unsafe {
101 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
102 ::unity::il2cpp_call!((::unity::module_base()+0x2d77580usize)as*mut u8,crate::app::hubballoon::HubBalloon_Type;
103(HubBalloon)__receiver)
104 }
105 }
106 #[doc = "`set_BalloonType(crate::app::hubballoon::HubBalloon_Type)` overload"]
107 fn set_balloon_type(self, value: impl ::core::convert::Into<crate::app::hubballoon::HubBalloon_Type>) -> () {
108 unsafe {
109 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
110 ::unity::il2cpp_call!((::unity::module_base()+0x2d77590usize)as*mut u8,();
111(HubBalloon)__receiver,(crate::app::hubballoon::HubBalloon_Type)::core::convert::Into::into(value))
112 }
113 }
114 #[doc = "`get_UseUpIcon()` overload"]
115 fn get_use_up_icon(self) -> bool {
116 unsafe {
117 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
118 ::unity::il2cpp_call!((::unity::module_base()+0x2d775a0usize)as*mut u8,bool;
119(HubBalloon)__receiver)
120 }
121 }
122 #[doc = "`set_UseUpIcon(bool)` overload"]
123 fn set_use_up_icon(self, value: impl ::core::convert::Into<bool>) -> () {
124 unsafe {
125 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
126 ::unity::il2cpp_call!((::unity::module_base()+0x2d775b0usize)as*mut u8,();
127(HubBalloon)__receiver,(bool)::core::convert::Into::into(value))
128 }
129 }
130 #[doc = "`get_TargetAccess()` overload"]
131 fn get_target_access(self) -> crate::app::hubaccess::HubAccess {
132 unsafe {
133 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
134 ::unity::il2cpp_call!((::unity::module_base()+0x2d775c0usize)as*mut u8,crate::app::hubaccess::HubAccess;
135(HubBalloon)__receiver)
136 }
137 }
138 #[doc = "`set_TargetAccess(crate::app::hubaccess::HubAccess)` overload"]
139 fn set_target_access(self, value: impl ::core::convert::Into<crate::app::hubaccess::HubAccess>) -> () {
140 unsafe {
141 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
142 ::unity::il2cpp_call!((::unity::module_base()+0x2d775d0usize)as*mut u8,();
143(HubBalloon)__receiver,(crate::app::hubaccess::HubAccess)::core::convert::Into::into(value))
144 }
145 }
146 #[doc = "`get_CharaFader()` overload"]
147 fn get_chara_fader(self) -> crate::root::iron19characterfader::Iron19CharacterFader {
148 unsafe {
149 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
150 ::unity::il2cpp_call!((::unity::module_base()+0x2d775e0usize)as*mut u8,crate::root::iron19characterfader::Iron19CharacterFader;
151(HubBalloon)__receiver)
152 }
153 }
154 #[doc = "`set_CharaFader(crate::root::iron19characterfader::Iron19CharacterFader)` overload"]
155 fn set_chara_fader(self, value: impl ::core::convert::Into<crate::root::iron19characterfader::Iron19CharacterFader>) -> () {
156 unsafe {
157 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
158 ::unity::il2cpp_call!((::unity::module_base()+0x2d775f0usize)as*mut u8,();
159(HubBalloon)__receiver,(crate::root::iron19characterfader::Iron19CharacterFader)::core::convert::Into::into(value))
160 }
161 }
162 #[doc = "`get_FadeDistance()` overload"]
163 fn get_fade_distance(self) -> f32 {
164 unsafe {
165 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
166 ::unity::il2cpp_call!((::unity::module_base()+0x2d77600usize)as*mut u8,f32;
167(HubBalloon)__receiver)
168 }
169 }
170 #[doc = "`set_FadeDistance(f32)` overload"]
171 fn set_fade_distance(self, value: impl ::core::convert::Into<f32>) -> () {
172 unsafe {
173 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
174 ::unity::il2cpp_call!((::unity::module_base()+0x2d77610usize)as*mut u8,();
175(HubBalloon)__receiver,(f32)::core::convert::Into::into(value))
176 }
177 }
178 #[doc = "`get_PlayerController()` overload"]
179 fn get_player_controller(self) -> crate::app::hubplayercontroller::HubPlayerController {
180 unsafe {
181 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
182 ::unity::il2cpp_call!((::unity::module_base()+0x2d77620usize)as*mut u8,crate::app::hubplayercontroller::HubPlayerController;
183(HubBalloon)__receiver)
184 }
185 }
186 #[doc = "`set_PlayerController(crate::app::hubplayercontroller::HubPlayerController)` overload"]
187 fn set_player_controller(self, value: impl ::core::convert::Into<crate::app::hubplayercontroller::HubPlayerController>) -> () {
188 unsafe {
189 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
190 ::unity::il2cpp_call!((::unity::module_base()+0x2d77630usize)as*mut u8,();
191(HubBalloon)__receiver,(crate::app::hubplayercontroller::HubPlayerController)::core::convert::Into::into(value))
192 }
193 }
194 #[doc = "`SetActiveTalkDefault(bool)` overload"]
195 fn set_active_talk_default(self, value: impl ::core::convert::Into<bool>) -> () {
196 unsafe {
197 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
198 ::unity::il2cpp_call!((::unity::module_base()+0x2d77640usize)as*mut u8,();
199(HubBalloon)__receiver,(bool)::core::convert::Into::into(value))
200 }
201 }
202 #[doc = "`SetActiveTalkChapter(bool)` overload"]
203 fn set_active_talk_chapter(self, value: impl ::core::convert::Into<bool>) -> () {
204 unsafe {
205 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
206 ::unity::il2cpp_call!((::unity::module_base()+0x2d77670usize)as*mut u8,();
207(HubBalloon)__receiver,(bool)::core::convert::Into::into(value))
208 }
209 }
210 #[doc = "`SetActiveTalkReliance(bool)` overload"]
211 fn set_active_talk_reliance(self, value: impl ::core::convert::Into<bool>) -> () {
212 unsafe {
213 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
214 ::unity::il2cpp_call!((::unity::module_base()+0x2d776a0usize)as*mut u8,();
215(HubBalloon)__receiver,(bool)::core::convert::Into::into(value))
216 }
217 }
218 #[doc = "`Start()` overload"]
219 fn start(self) -> () {
220 unsafe {
221 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
222 ::unity::il2cpp_call!((::unity::module_base()+0x2d776d0usize)as*mut u8,();
223(HubBalloon)__receiver)
224 }
225 }
226 #[doc = "`Update()` overload"]
227 fn update(self) -> () {
228 unsafe {
229 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
230 ::unity::il2cpp_call!((::unity::module_base()+0x2d77be0usize)as*mut u8,();
231(HubBalloon)__receiver)
232 }
233 }
234 #[doc = "`IsActive()` overload"]
235 fn is_active(self) -> bool {
236 unsafe {
237 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
238 ::unity::il2cpp_call!((::unity::module_base()+0x2d78230usize)as*mut u8,bool;
239(HubBalloon)__receiver)
240 }
241 }
242 #[doc = "`IsOutRange()` overload"]
243 fn is_out_range(self) -> bool {
244 unsafe {
245 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
246 ::unity::il2cpp_call!((::unity::module_base()+0x2d78440usize)as*mut u8,bool;
247(HubBalloon)__receiver)
248 }
249 }
250 #[doc = "`IsFadeAlpha()` overload"]
251 fn is_fade_alpha(self) -> bool {
252 unsafe {
253 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
254 ::unity::il2cpp_call!((::unity::module_base()+0x2d784e0usize)as*mut u8,bool;
255(HubBalloon)__receiver)
256 }
257 }
258 #[doc = "`IsActiveAccess()` overload"]
259 fn is_active_access(self) -> bool {
260 unsafe {
261 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
262 ::unity::il2cpp_call!((::unity::module_base()+0x2d78590usize)as*mut u8,bool;
263(HubBalloon)__receiver)
264 }
265 }
266 #[doc = "`LateUpdate()` overload"]
267 fn late_update(self) -> () {
268 unsafe {
269 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
270 ::unity::il2cpp_call!((::unity::module_base()+0x2d78630usize)as*mut u8,();
271(HubBalloon)__receiver)
272 }
273 }
274 #[doc = "`UpdateAlpha(f32)` overload"]
275 fn update_alpha(self, gain: impl ::core::convert::Into<f32>) -> () {
276 unsafe {
277 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
278 ::unity::il2cpp_call!((::unity::module_base()+0x2d77b20usize)as*mut u8,();
279(HubBalloon)__receiver,(f32)::core::convert::Into::into(gain))
280 }
281 }
282 #[doc = "`SetMaterialDark()` overload"]
283 fn set_material_dark(self) -> () {
284 unsafe {
285 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
286 ::unity::il2cpp_call!((::unity::module_base()+0x2d780d0usize)as*mut u8,();
287(HubBalloon)__receiver)
288 }
289 }
290 #[doc = "`SetMaterialLight()` overload"]
291 fn set_material_light(self) -> () {
292 unsafe {
293 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
294 ::unity::il2cpp_call!((::unity::module_base()+0x2d78180usize)as*mut u8,();
295(HubBalloon)__receiver)
296 }
297 }
298 #[doc = "`OnDestroy()` overload"]
299 fn on_destroy(self) -> () {
300 unsafe {
301 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
302 ::unity::il2cpp_call!((::unity::module_base()+0x2d78730usize)as*mut u8,();
303(HubBalloon)__receiver)
304 }
305 }
306 #[doc = "`.ctor()` overload"]
307 fn ctor(self) -> () {
308 unsafe {
309 let __receiver = <HubBalloon as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
310 ::unity::il2cpp_call!((::unity::module_base()+0x2d78800usize)as*mut u8,();
311(HubBalloon)__receiver)
312 }
313 }
314}
315
316#[cfg(feature = "app-hubballoon")]
317impl<__T: IHubBalloon> IHubBalloonMethods for __T {}
318
319#[cfg(feature = "app-hubballoon")]
320impl HubBalloon {
321 pub fn get_balloon_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
322 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
323 }
324
325 pub fn set_balloon_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
326 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
327 }
328
329 pub fn get_use_up_icon_method_info() -> &'static ::unity::il2cpp::MethodInfo {
330 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
331 }
332
333 pub fn set_use_up_icon_method_info() -> &'static ::unity::il2cpp::MethodInfo {
334 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
335 }
336
337 pub fn get_target_access_method_info() -> &'static ::unity::il2cpp::MethodInfo {
338 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
339 }
340
341 pub fn set_target_access_method_info() -> &'static ::unity::il2cpp::MethodInfo {
342 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
343 }
344
345 pub fn get_chara_fader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
346 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
347 }
348
349 pub fn set_chara_fader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
350 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
351 }
352
353 pub fn get_fade_distance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
354 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
355 }
356
357 pub fn set_fade_distance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
358 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
359 }
360
361 pub fn get_player_controller_method_info() -> &'static ::unity::il2cpp::MethodInfo {
362 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
363 }
364
365 pub fn set_player_controller_method_info() -> &'static ::unity::il2cpp::MethodInfo {
366 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
367 }
368
369 pub fn set_active_talk_default_method_info() -> &'static ::unity::il2cpp::MethodInfo {
370 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
371 }
372
373 pub fn set_active_talk_chapter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
374 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
375 }
376
377 pub fn set_active_talk_reliance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
378 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
379 }
380
381 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
382 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
383 }
384
385 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
386 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
387 }
388
389 pub fn is_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
390 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
391 }
392
393 pub fn is_out_range_method_info() -> &'static ::unity::il2cpp::MethodInfo {
394 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
395 }
396
397 pub fn is_fade_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
398 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
399 }
400
401 pub fn is_active_access_method_info() -> &'static ::unity::il2cpp::MethodInfo {
402 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
403 }
404
405 pub fn late_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
406 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
407 }
408
409 pub fn update_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
410 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
411 }
412
413 pub fn set_material_dark_method_info() -> &'static ::unity::il2cpp::MethodInfo {
414 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
415 }
416
417 pub fn set_material_light_method_info() -> &'static ::unity::il2cpp::MethodInfo {
418 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
419 }
420
421 pub fn on_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
422 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
423 }
424
425 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
426 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
427 }
428}
429
430#[cfg(feature = "app-hubballoon")]
431impl HubBalloon {
432 #[doc = "`.ctor()` — no args"]
433 pub fn new() -> Self {
434 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
435 panic!(
436 "{}
437::{}
438 failed to instantiate",
439 ::core::stringify!(HubBalloon),
440 ::core::stringify!(new),
441 )
442 });
443 <Self as IHubBalloonMethods>::ctor(this);
444 this
445 }
446}
447
448#[cfg(feature = "app-hubballoon")]
449#[doc(hidden)]
450pub mod prelude {
451 pub use super::{HubBalloon, HubBalloon_Type, IHubBalloon, IHubBalloonMethods};
452 #[cfg(feature = "system-object")]
453 pub use crate::system::object::IObjectMethods;
454 #[cfg(feature = "system-enum")]
455 pub use crate::system::r#enum::IEnumMethods;
456 #[cfg(feature = "system-valuetype")]
457 pub use crate::system::valuetype::IValueTypeMethods;
458 #[cfg(feature = "unity_engine-behaviour")]
459 pub use crate::unity_engine::behaviour::IBehaviourMethods;
460 #[cfg(feature = "unity_engine-component")]
461 pub use crate::unity_engine::component::IComponentMethods;
462 #[cfg(feature = "unity_engine-monobehaviour")]
463 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
464 #[cfg(feature = "unity_engine-object_2")]
465 pub use crate::unity_engine::object_2::IObject_2Methods;
466 pub use crate::{
467 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
468 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
469 };
470}