Skip to main content

engage/generated/tm_pro/
tmp_updatemanager.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "tm_pro-tmp_updatemanager-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/tm_pro/tmp_updatemanager/TMP_UpdateManager.md"))]
11    #[::unity::class(namespace = "TMPro", name = "TMP_UpdateManager")]
12    #[parent(crate::system::object::Object)]
13    pub struct TMP_UpdateManager {
14        #[static_field]
15        #[rename(name = "s_Instance")]
16        pub s_instance: crate::tm_pro::tmp_updatemanager::TMP_UpdateManager,
17        #[offset(16)]
18        #[rename(name = "m_LayoutQueueLookup")]
19        pub m_layout_queue_lookup: crate::system::collections::generic::hashset_1::HashSet_1<i32>,
20        #[offset(24)]
21        #[rename(name = "m_LayoutRebuildQueue")]
22        pub m_layout_rebuild_queue: crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_text::TMP_Text>,
23        #[offset(32)]
24        #[rename(name = "m_GraphicQueueLookup")]
25        pub m_graphic_queue_lookup: crate::system::collections::generic::hashset_1::HashSet_1<i32>,
26        #[offset(40)]
27        #[rename(name = "m_GraphicRebuildQueue")]
28        pub m_graphic_rebuild_queue: crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_text::TMP_Text>,
29        #[offset(48)]
30        #[rename(name = "m_InternalUpdateLookup")]
31        pub m_internal_update_lookup: crate::system::collections::generic::hashset_1::HashSet_1<i32>,
32        #[offset(56)]
33        #[rename(name = "m_InternalUpdateQueue")]
34        pub m_internal_update_queue: crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_text::TMP_Text>,
35        #[offset(64)]
36        #[rename(name = "m_CullingUpdateLookup")]
37        pub m_culling_update_lookup: crate::system::collections::generic::hashset_1::HashSet_1<i32>,
38        #[offset(72)]
39        #[rename(name = "m_CullingUpdateQueue")]
40        pub m_culling_update_queue: crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_text::TMP_Text>,
41    }
42}
43
44#[cfg(feature = "tm_pro-tmp_updatemanager-types")]
45pub use __types::*;
46
47#[cfg(feature = "tm_pro-tmp_updatemanager")]
48impl TMP_UpdateManager {
49    #[doc = "`get_instance()` overload"]
50    pub fn get_instance() -> crate::tm_pro::tmp_updatemanager::TMP_UpdateManager {
51        unsafe {
52            ::unity::il2cpp_call!((::unity::module_base()+0x2e66aa0usize)as*mut u8,crate::tm_pro::tmp_updatemanager::TMP_UpdateManager;
53            )
54        }
55    }
56
57    #[doc = "`RegisterTextObjectForUpdate(crate::tm_pro::tmp_text::TMP_Text)` overload"]
58    pub fn register_text_object_for_update(text_object: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>) -> () {
59        unsafe {
60            ::unity::il2cpp_call!((::unity::module_base()+0x2e66d90usize)as*mut u8,();
61(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(text_object))
62        }
63    }
64
65    #[doc = "`RegisterTextElementForLayoutRebuild(crate::tm_pro::tmp_text::TMP_Text)` overload"]
66    pub fn register_text_element_for_layout_rebuild(element: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>) -> () {
67        unsafe {
68            ::unity::il2cpp_call!((::unity::module_base()+0x2e66ed0usize)as*mut u8,();
69(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(element))
70        }
71    }
72
73    #[doc = "`RegisterTextElementForGraphicRebuild(crate::tm_pro::tmp_text::TMP_Text)` overload"]
74    pub fn register_text_element_for_graphic_rebuild(element: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>) -> () {
75        unsafe {
76            ::unity::il2cpp_call!((::unity::module_base()+0x2e67010usize)as*mut u8,();
77(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(element))
78        }
79    }
80
81    #[doc = "`RegisterTextElementForCullingUpdate(crate::tm_pro::tmp_text::TMP_Text)` overload"]
82    pub fn register_text_element_for_culling_update(element: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>) -> () {
83        unsafe {
84            ::unity::il2cpp_call!((::unity::module_base()+0x2e67150usize)as*mut u8,();
85(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(element))
86        }
87    }
88
89    #[doc = "`UnRegisterTextObjectForUpdate(crate::tm_pro::tmp_text::TMP_Text)` overload"]
90    pub fn un_register_text_object_for_update(text_object: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>) -> () {
91        unsafe {
92            ::unity::il2cpp_call!((::unity::module_base()+0x2e67520usize)as*mut u8,();
93(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(text_object))
94        }
95    }
96
97    #[doc = "`UnRegisterTextElementForRebuild(crate::tm_pro::tmp_text::TMP_Text)` overload"]
98    pub fn un_register_text_element_for_rebuild(element: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>) -> () {
99        unsafe {
100            ::unity::il2cpp_call!((::unity::module_base()+0x2e676a0usize)as*mut u8,();
101(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(element))
102        }
103    }
104
105    #[doc = "`.cctor()` overload"]
106    pub fn cctor() -> () {
107        unsafe {
108            ::unity::il2cpp_call!((::unity::module_base()+0x2e67990usize)as*mut u8,();
109            )
110        }
111    }
112}
113
114#[cfg(feature = "tm_pro-tmp_updatemanager")]
115pub trait ITMP_UpdateManagerMethods: ITMP_UpdateManager {
116    #[doc = "`.ctor()` overload"]
117    fn ctor(self) -> () {
118        unsafe {
119            let __receiver = <TMP_UpdateManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
120            ::unity::il2cpp_call!((::unity::module_base()+0x2e66b80usize)as*mut u8,();
121(TMP_UpdateManager)__receiver)
122        }
123    }
124    #[doc = "`InternalRegisterTextObjectForUpdate(crate::tm_pro::tmp_text::TMP_Text)` overload"]
125    fn internal_register_text_object_for_update(self, text_object: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>) -> () {
126        unsafe {
127            let __receiver = <TMP_UpdateManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128            ::unity::il2cpp_call!((::unity::module_base()+0x2e66e00usize)as*mut u8,();
129(TMP_UpdateManager)__receiver,(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(text_object))
130        }
131    }
132    #[doc = "`InternalRegisterTextElementForLayoutRebuild(crate::tm_pro::tmp_text::TMP_Text)` overload"]
133    fn internal_register_text_element_for_layout_rebuild(self, element: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>) -> () {
134        unsafe {
135            let __receiver = <TMP_UpdateManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136            ::unity::il2cpp_call!((::unity::module_base()+0x2e66f40usize)as*mut u8,();
137(TMP_UpdateManager)__receiver,(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(element))
138        }
139    }
140    #[doc = "`InternalRegisterTextElementForGraphicRebuild(crate::tm_pro::tmp_text::TMP_Text)` overload"]
141    fn internal_register_text_element_for_graphic_rebuild(self, element: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>) -> () {
142        unsafe {
143            let __receiver = <TMP_UpdateManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
144            ::unity::il2cpp_call!((::unity::module_base()+0x2e67080usize)as*mut u8,();
145(TMP_UpdateManager)__receiver,(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(element))
146        }
147    }
148    #[doc = "`InternalRegisterTextElementForCullingUpdate(crate::tm_pro::tmp_text::TMP_Text)` overload"]
149    fn internal_register_text_element_for_culling_update(self, element: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>) -> () {
150        unsafe {
151            let __receiver = <TMP_UpdateManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
152            ::unity::il2cpp_call!((::unity::module_base()+0x2e671c0usize)as*mut u8,();
153(TMP_UpdateManager)__receiver,(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(element))
154        }
155    }
156    #[doc = "`OnCameraPreCull()` overload"]
157    fn on_camera_pre_cull(self) -> () {
158        unsafe {
159            let __receiver = <TMP_UpdateManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
160            ::unity::il2cpp_call!((::unity::module_base()+0x2e67290usize)as*mut u8,();
161(TMP_UpdateManager)__receiver)
162        }
163    }
164    #[doc = "`DoRebuilds()` overload"]
165    fn do_rebuilds(self) -> () {
166        unsafe {
167            let __receiver = <TMP_UpdateManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
168            ::unity::il2cpp_call!((::unity::module_base()+0x2e672a0usize)as*mut u8,();
169(TMP_UpdateManager)__receiver)
170        }
171    }
172    #[doc = "`InternalUnRegisterTextElementForGraphicRebuild(crate::tm_pro::tmp_text::TMP_Text)` overload"]
173    fn internal_un_register_text_element_for_graphic_rebuild(self, element: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>) -> () {
174        unsafe {
175            let __receiver = <TMP_UpdateManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
176            ::unity::il2cpp_call!((::unity::module_base()+0x2e67850usize)as*mut u8,();
177(TMP_UpdateManager)__receiver,(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(element))
178        }
179    }
180    #[doc = "`InternalUnRegisterTextElementForLayoutRebuild(crate::tm_pro::tmp_text::TMP_Text)` overload"]
181    fn internal_un_register_text_element_for_layout_rebuild(self, element: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>) -> () {
182        unsafe {
183            let __receiver = <TMP_UpdateManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
184            ::unity::il2cpp_call!((::unity::module_base()+0x2e678f0usize)as*mut u8,();
185(TMP_UpdateManager)__receiver,(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(element))
186        }
187    }
188    #[doc = "`InternalUnRegisterTextObjectForUpdate(crate::tm_pro::tmp_text::TMP_Text)` overload"]
189    fn internal_un_register_text_object_for_update(self, text_object: impl ::core::convert::Into<crate::tm_pro::tmp_text::TMP_Text>) -> () {
190        unsafe {
191            let __receiver = <TMP_UpdateManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
192            ::unity::il2cpp_call!((::unity::module_base()+0x2e67600usize)as*mut u8,();
193(TMP_UpdateManager)__receiver,(crate::tm_pro::tmp_text::TMP_Text)::core::convert::Into::into(text_object))
194        }
195    }
196}
197
198#[cfg(feature = "tm_pro-tmp_updatemanager")]
199impl<__T: ITMP_UpdateManager> ITMP_UpdateManagerMethods for __T {}
200
201#[cfg(feature = "tm_pro-tmp_updatemanager")]
202impl TMP_UpdateManager {
203    pub fn get_instance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
204        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
205    }
206
207    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
208        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
209    }
210
211    pub fn register_text_object_for_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
212        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
213    }
214
215    pub fn internal_register_text_object_for_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
216        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
217    }
218
219    pub fn register_text_element_for_layout_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
220        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
221    }
222
223    pub fn internal_register_text_element_for_layout_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
224        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
225    }
226
227    pub fn register_text_element_for_graphic_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
228        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
229    }
230
231    pub fn internal_register_text_element_for_graphic_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
232        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
233    }
234
235    pub fn register_text_element_for_culling_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
236        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
237    }
238
239    pub fn internal_register_text_element_for_culling_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
240        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
241    }
242
243    pub fn on_camera_pre_cull_method_info() -> &'static ::unity::il2cpp::MethodInfo {
244        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
245    }
246
247    pub fn do_rebuilds_method_info() -> &'static ::unity::il2cpp::MethodInfo {
248        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
249    }
250
251    pub fn un_register_text_object_for_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
252        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
253    }
254
255    pub fn un_register_text_element_for_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
256        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
257    }
258
259    pub fn internal_un_register_text_element_for_graphic_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
260        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
261    }
262
263    pub fn internal_un_register_text_element_for_layout_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
264        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
265    }
266
267    pub fn internal_un_register_text_object_for_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
268        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
269    }
270
271    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
272        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
273    }
274}
275
276#[cfg(feature = "tm_pro-tmp_updatemanager")]
277impl TMP_UpdateManager {
278    #[doc = "`.ctor()` — no args"]
279    pub fn new() -> Self {
280        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
281            panic!(
282                "{}
283::{}
284 failed to instantiate",
285                ::core::stringify!(TMP_UpdateManager),
286                ::core::stringify!(new),
287            )
288        });
289        <Self as ITMP_UpdateManagerMethods>::ctor(this);
290        this
291    }
292}
293
294#[cfg(feature = "tm_pro-tmp_updatemanager")]
295#[doc(hidden)]
296pub mod prelude {
297    pub use super::{ITMP_UpdateManager, ITMP_UpdateManagerMethods, TMP_UpdateManager};
298    pub use crate::system::object::IObject;
299    #[cfg(feature = "system-object")]
300    pub use crate::system::object::IObjectMethods;
301}