Skip to main content

engage/generated/app/talk3_d/
talkstatemonitor.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-talk3_d-talkstatemonitor-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/talk3_d/talkstatemonitor/TalkStateMonitor.md"))]
19    #[::unity::class(namespace = "App.Talk3D", name = "TalkStateMonitor")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct TalkStateMonitor {
22        #[offset(24)]
23        #[rename(name = "m_CharaName")]
24        pub m_chara_name: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
25        #[offset(32)]
26        #[rename(name = "m_TextPid")]
27        pub m_text_pid: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
28        #[offset(40)]
29        #[rename(name = "m_TextPause")]
30        pub m_text_pause: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
31        #[offset(48)]
32        #[rename(name = "m_TextFace")]
33        pub m_text_face: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
34        #[offset(56)]
35        #[rename(name = "m_TextLook")]
36        pub m_text_look: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
37        #[offset(64)]
38        #[rename(name = "m_OffstY")]
39        pub m_offst_y: i32,
40    }
41}
42
43#[cfg(feature = "app-talk3_d-talkstatemonitor-types")]
44pub use __types::*;
45
46#[cfg(feature = "app-talk3_d-talkstatemonitor")]
47pub trait ITalkStateMonitorMethods: ITalkStateMonitor {
48    #[doc = "`Start()` overload"]
49    fn start(self) -> () {
50        unsafe {
51            let __receiver = <TalkStateMonitor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
52            ::unity::il2cpp_call!((::unity::module_base()+0x21d8300usize)as*mut u8,();
53(TalkStateMonitor)__receiver)
54        }
55    }
56    #[doc = "`Update()` overload"]
57    fn update(self) -> () {
58        unsafe {
59            let __receiver = <TalkStateMonitor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
60            ::unity::il2cpp_call!((::unity::module_base()+0x21d8310usize)as*mut u8,();
61(TalkStateMonitor)__receiver)
62        }
63    }
64    #[doc = "`AdjustPosition(crate::unity_engine::vector2::Vector2)` overload"]
65    fn adjust_position(self, position: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> () {
66        unsafe {
67            let __receiver = <TalkStateMonitor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
68            ::unity::il2cpp_call!((::unity::module_base()+0x21d8320usize)as*mut u8,();
69(TalkStateMonitor)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(position))
70        }
71    }
72    #[doc = "`AdjustPosition(crate::unity_engine::camera::Camera, crate::combat::character::Character)` overload"]
73    fn adjust_position_2(
74        self,
75        camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
76        chara: impl ::core::convert::Into<crate::combat::character::Character>,
77    ) -> () {
78        unsafe {
79            let __receiver = <TalkStateMonitor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80            ::unity::il2cpp_call!((::unity::module_base()+0x21d83a0usize)as*mut u8,();
81(TalkStateMonitor)__receiver,(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera),(crate::combat::character::Character)::core::convert::Into::into(chara))
82        }
83    }
84    #[doc = "`SetCharaName(::unity::Il2CppString)` overload"]
85    fn set_chara_name(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
86        unsafe {
87            let __receiver = <TalkStateMonitor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
88            ::unity::il2cpp_call!((::unity::module_base()+0x21d8560usize)as*mut u8,();
89(TalkStateMonitor)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
90        }
91    }
92    #[doc = "`SetPid(::unity::Il2CppString)` overload"]
93    fn set_pid(self, pid: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
94        unsafe {
95            let __receiver = <TalkStateMonitor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
96            ::unity::il2cpp_call!((::unity::module_base()+0x21d8580usize)as*mut u8,();
97(TalkStateMonitor)__receiver,(::unity::Il2CppString)::core::convert::Into::into(pid))
98        }
99    }
100    #[doc = "`SetBodyAnime(::unity::Il2CppString)` overload"]
101    fn set_body_anime(self, anime_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
102        unsafe {
103            let __receiver = <TalkStateMonitor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
104            ::unity::il2cpp_call!((::unity::module_base()+0x21d85a0usize)as*mut u8,();
105(TalkStateMonitor)__receiver,(::unity::Il2CppString)::core::convert::Into::into(anime_name))
106        }
107    }
108    #[doc = "`SetFaceAnime(::unity::Il2CppString)` overload"]
109    fn set_face_anime(self, anime_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
110        unsafe {
111            let __receiver = <TalkStateMonitor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
112            ::unity::il2cpp_call!((::unity::module_base()+0x21d85c0usize)as*mut u8,();
113(TalkStateMonitor)__receiver,(::unity::Il2CppString)::core::convert::Into::into(anime_name))
114        }
115    }
116    #[doc = "`SetLookAt(::unity::Il2CppString)` overload"]
117    fn set_look_at(self, locator_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
118        unsafe {
119            let __receiver = <TalkStateMonitor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
120            ::unity::il2cpp_call!((::unity::module_base()+0x21d85e0usize)as*mut u8,();
121(TalkStateMonitor)__receiver,(::unity::Il2CppString)::core::convert::Into::into(locator_name))
122        }
123    }
124    #[doc = "`.ctor()` overload"]
125    fn ctor(self) -> () {
126        unsafe {
127            let __receiver = <TalkStateMonitor as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128            ::unity::il2cpp_call!((::unity::module_base()+0x21d8600usize)as*mut u8,();
129(TalkStateMonitor)__receiver)
130        }
131    }
132}
133
134#[cfg(feature = "app-talk3_d-talkstatemonitor")]
135impl<__T: ITalkStateMonitor> ITalkStateMonitorMethods for __T {}
136
137#[cfg(feature = "app-talk3_d-talkstatemonitor")]
138impl TalkStateMonitor {
139    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
140        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
141    }
142
143    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
144        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
145    }
146
147    pub fn adjust_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
148        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
149    }
150
151    pub fn adjust_position_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
152        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
153    }
154
155    pub fn set_chara_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
156        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
157    }
158
159    pub fn set_pid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
160        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
161    }
162
163    pub fn set_body_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
164        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
165    }
166
167    pub fn set_face_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
168        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
169    }
170
171    pub fn set_look_at_method_info() -> &'static ::unity::il2cpp::MethodInfo {
172        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
173    }
174
175    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
176        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
177    }
178}
179
180#[cfg(feature = "app-talk3_d-talkstatemonitor")]
181impl TalkStateMonitor {
182    #[doc = "`.ctor()` — no args"]
183    pub fn new() -> Self {
184        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
185            panic!(
186                "{}
187::{}
188 failed to instantiate",
189                ::core::stringify!(TalkStateMonitor),
190                ::core::stringify!(new),
191            )
192        });
193        <Self as ITalkStateMonitorMethods>::ctor(this);
194        this
195    }
196}
197
198#[cfg(feature = "app-talk3_d-talkstatemonitor")]
199#[doc(hidden)]
200pub mod prelude {
201    pub use super::{ITalkStateMonitor, ITalkStateMonitorMethods, TalkStateMonitor};
202    #[cfg(feature = "system-object")]
203    pub use crate::system::object::IObjectMethods;
204    #[cfg(feature = "unity_engine-behaviour")]
205    pub use crate::unity_engine::behaviour::IBehaviourMethods;
206    #[cfg(feature = "unity_engine-component")]
207    pub use crate::unity_engine::component::IComponentMethods;
208    #[cfg(feature = "unity_engine-monobehaviour")]
209    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
210    #[cfg(feature = "unity_engine-object_2")]
211    pub use crate::unity_engine::object_2::IObject_2Methods;
212    pub use crate::{
213        system::object::IObject,
214        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
215    };
216}