engage/generated/app/
fishingconfig_throwin.rs1#[cfg(feature = "app-fishingconfig_throwin-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/fishingconfig_throwin/FishingConfig_ThrowIn.md"))]
19 #[::unity::class(namespace = "App", name = "FishingConfig_ThrowIn")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct FishingConfig_ThrowIn {
22 #[offset(24)]
23 #[rename(name = "m_ThrowInTime")]
24 pub m_throw_in_time: f32,
25 #[offset(28)]
26 #[rename(name = "m_ThrowSEPlaySec")]
27 pub m_throw_se_play_sec: f32,
28 #[offset(32)]
29 #[rename(name = "m_ThrowCameraChangeSec")]
30 pub m_throw_camera_change_sec: f32,
31 #[offset(36)]
32 #[rename(name = "m_ThrowInSinkSec")]
33 pub m_throw_in_sink_sec: f32,
34 }
35}
36
37#[cfg(feature = "app-fishingconfig_throwin-types")]
38pub use __types::*;
39
40#[cfg(feature = "app-fishingconfig_throwin")]
41pub trait IFishingConfig_ThrowInMethods: IFishingConfig_ThrowIn {
42 #[doc = "`.ctor()` overload"]
43 fn ctor(self) -> () {
44 unsafe {
45 let __receiver = <FishingConfig_ThrowIn as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
46 ::unity::il2cpp_call!((::unity::module_base()+0x26f0170usize)as*mut u8,();
47(FishingConfig_ThrowIn)__receiver)
48 }
49 }
50}
51
52#[cfg(feature = "app-fishingconfig_throwin")]
53impl<__T: IFishingConfig_ThrowIn> IFishingConfig_ThrowInMethods for __T {}
54
55#[cfg(feature = "app-fishingconfig_throwin")]
56impl FishingConfig_ThrowIn {
57 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
58 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
59 }
60}
61
62#[cfg(feature = "app-fishingconfig_throwin")]
63impl FishingConfig_ThrowIn {
64 #[doc = "`.ctor()` — no args"]
65 pub fn new() -> Self {
66 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
67 panic!(
68 "{}
69::{}
70 failed to instantiate",
71 ::core::stringify!(FishingConfig_ThrowIn),
72 ::core::stringify!(new),
73 )
74 });
75 <Self as IFishingConfig_ThrowInMethods>::ctor(this);
76 this
77 }
78}
79
80#[cfg(feature = "app-fishingconfig_throwin")]
81#[doc(hidden)]
82pub mod prelude {
83 pub use super::{FishingConfig_ThrowIn, IFishingConfig_ThrowIn, IFishingConfig_ThrowInMethods};
84 #[cfg(feature = "system-object")]
85 pub use crate::system::object::IObjectMethods;
86 #[cfg(feature = "unity_engine-behaviour")]
87 pub use crate::unity_engine::behaviour::IBehaviourMethods;
88 #[cfg(feature = "unity_engine-component")]
89 pub use crate::unity_engine::component::IComponentMethods;
90 #[cfg(feature = "unity_engine-monobehaviour")]
91 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
92 #[cfg(feature = "unity_engine-object_2")]
93 pub use crate::unity_engine::object_2::IObject_2Methods;
94 pub use crate::{
95 system::object::IObject,
96 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
97 };
98}