engage/generated/combat/
ps19_sendtime.rs1#[cfg(feature = "combat-ps19_sendtime-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/combat/ps19_sendtime/PS19_SendTime.md"))]
19 #[::unity::class(namespace = "Combat", name = "PS19_SendTime")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct PS19_SendTime {
22 #[offset(24)]
23 #[rename(name = "m_UniformNameID")]
24 pub m_uniform_name_id: i32,
25 #[offset(32)]
26 #[rename(name = "m_Chr")]
27 pub m_chr: crate::combat::character::Character,
28 #[offset(40)]
29 #[rename(name = "m_Now")]
30 pub m_now: f32,
31 #[offset(44)]
32 #[rename(name = "m_EndTime")]
33 pub m_end_time: f32,
34 #[offset(48)]
35 #[rename(name = "PS19List")]
36 pub ps19_list: crate::system::collections::generic::list_1::List_1<crate::unity_engine::material::Material>,
37 }
38}
39
40#[cfg(feature = "combat-ps19_sendtime-types")]
41pub use __types::*;
42
43#[cfg(feature = "combat-ps19_sendtime")]
44pub trait IPS19_SendTimeMethods: IPS19_SendTime {
45 #[doc = "`Awake()` overload"]
46 fn awake(self) -> () {
47 unsafe {
48 let __receiver = <PS19_SendTime as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
49 ::unity::il2cpp_call!((::unity::module_base()+0x1f220f0usize)as*mut u8,();
50(PS19_SendTime)__receiver)
51 }
52 }
53 #[doc = "`Start()` overload"]
54 fn start(self) -> () {
55 unsafe {
56 let __receiver = <PS19_SendTime as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
57 ::unity::il2cpp_call!((::unity::module_base()+0x1f22150usize)as*mut u8,();
58(PS19_SendTime)__receiver)
59 }
60 }
61 #[doc = "`Begin(f32)` overload"]
62 fn begin(self, time_to_end: impl ::core::convert::Into<f32>) -> () {
63 unsafe {
64 let __receiver = <PS19_SendTime as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
65 ::unity::il2cpp_call!((::unity::module_base()+0x1f222f0usize)as*mut u8,();
66(PS19_SendTime)__receiver,(f32)::core::convert::Into::into(time_to_end))
67 }
68 }
69 #[doc = "`Update()` overload"]
70 fn update(self) -> () {
71 unsafe {
72 let __receiver = <PS19_SendTime as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
73 ::unity::il2cpp_call!((::unity::module_base()+0x1f22540usize)as*mut u8,();
74(PS19_SendTime)__receiver)
75 }
76 }
77 #[doc = "`.ctor()` overload"]
78 fn ctor(self) -> () {
79 unsafe {
80 let __receiver = <PS19_SendTime as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
81 ::unity::il2cpp_call!((::unity::module_base()+0x1f22740usize)as*mut u8,();
82(PS19_SendTime)__receiver)
83 }
84 }
85}
86
87#[cfg(feature = "combat-ps19_sendtime")]
88impl<__T: IPS19_SendTime> IPS19_SendTimeMethods for __T {}
89
90#[cfg(feature = "combat-ps19_sendtime")]
91impl PS19_SendTime {
92 pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
93 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
94 }
95
96 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
97 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
98 }
99
100 pub fn begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
101 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
102 }
103
104 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
105 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
106 }
107
108 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
109 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
110 }
111}
112
113#[cfg(feature = "combat-ps19_sendtime")]
114impl PS19_SendTime {
115 #[doc = "`.ctor()` — no args"]
116 pub fn new() -> Self {
117 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
118 panic!(
119 "{}
120::{}
121 failed to instantiate",
122 ::core::stringify!(PS19_SendTime),
123 ::core::stringify!(new),
124 )
125 });
126 <Self as IPS19_SendTimeMethods>::ctor(this);
127 this
128 }
129}
130
131#[cfg(feature = "combat-ps19_sendtime")]
132#[doc(hidden)]
133pub mod prelude {
134 pub use super::{IPS19_SendTime, IPS19_SendTimeMethods, PS19_SendTime};
135 #[cfg(feature = "system-object")]
136 pub use crate::system::object::IObjectMethods;
137 #[cfg(feature = "unity_engine-behaviour")]
138 pub use crate::unity_engine::behaviour::IBehaviourMethods;
139 #[cfg(feature = "unity_engine-component")]
140 pub use crate::unity_engine::component::IComponentMethods;
141 #[cfg(feature = "unity_engine-monobehaviour")]
142 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
143 #[cfg(feature = "unity_engine-object_2")]
144 pub use crate::unity_engine::object_2::IObject_2Methods;
145 pub use crate::{
146 system::object::IObject,
147 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
148 };
149}