Skip to main content

engage/generated/tm_pro/
tmp_updateregistry.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "tm_pro-tmp_updateregistry-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_updateregistry/TMP_UpdateRegistry.md"))]
11    #[::unity::class(namespace = "TMPro", name = "TMP_UpdateRegistry")]
12    #[parent(crate::system::object::Object)]
13    pub struct TMP_UpdateRegistry {
14        #[static_field]
15        #[rename(name = "s_Instance")]
16        pub s_instance: crate::tm_pro::tmp_updateregistry::TMP_UpdateRegistry,
17        #[offset(16)]
18        #[rename(name = "m_LayoutRebuildQueue")]
19        pub m_layout_rebuild_queue: crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::icanvaselement::ICanvasElement>,
20        #[offset(24)]
21        #[rename(name = "m_LayoutQueueLookup")]
22        pub m_layout_queue_lookup: crate::system::collections::generic::hashset_1::HashSet_1<i32>,
23        #[offset(32)]
24        #[rename(name = "m_GraphicRebuildQueue")]
25        pub m_graphic_rebuild_queue: crate::system::collections::generic::list_1::List_1<crate::unity_engine::ui::icanvaselement::ICanvasElement>,
26        #[offset(40)]
27        #[rename(name = "m_GraphicQueueLookup")]
28        pub m_graphic_queue_lookup: crate::system::collections::generic::hashset_1::HashSet_1<i32>,
29    }
30}
31
32#[cfg(feature = "tm_pro-tmp_updateregistry-types")]
33pub use __types::*;
34
35#[cfg(feature = "tm_pro-tmp_updateregistry")]
36impl TMP_UpdateRegistry {
37    #[doc = "`get_instance()` overload"]
38    pub fn get_instance() -> crate::tm_pro::tmp_updateregistry::TMP_UpdateRegistry {
39        unsafe {
40            ::unity::il2cpp_call!((::unity::module_base()+0x2e67b00usize)as*mut u8,crate::tm_pro::tmp_updateregistry::TMP_UpdateRegistry;
41            )
42        }
43    }
44
45    #[doc = "`RegisterCanvasElementForLayoutRebuild(crate::unity_engine::ui::icanvaselement::ICanvasElement)` overload"]
46    pub fn register_canvas_element_for_layout_rebuild(
47        element: impl ::core::convert::Into<crate::unity_engine::ui::icanvaselement::ICanvasElement>,
48    ) -> () {
49        unsafe {
50            ::unity::il2cpp_call!((::unity::module_base()+0x2e67d20usize)as*mut u8,();
51(crate::unity_engine::ui::icanvaselement::ICanvasElement)::core::convert::Into::into(element))
52        }
53    }
54
55    #[doc = "`RegisterCanvasElementForGraphicRebuild(crate::unity_engine::ui::icanvaselement::ICanvasElement)` overload"]
56    pub fn register_canvas_element_for_graphic_rebuild(
57        element: impl ::core::convert::Into<crate::unity_engine::ui::icanvaselement::ICanvasElement>,
58    ) -> () {
59        unsafe {
60            ::unity::il2cpp_call!((::unity::module_base()+0x2e67ed0usize)as*mut u8,();
61(crate::unity_engine::ui::icanvaselement::ICanvasElement)::core::convert::Into::into(element))
62        }
63    }
64
65    #[doc = "`UnRegisterCanvasElementForRebuild(crate::unity_engine::ui::icanvaselement::ICanvasElement)` overload"]
66    pub fn un_register_canvas_element_for_rebuild(
67        element: impl ::core::convert::Into<crate::unity_engine::ui::icanvaselement::ICanvasElement>,
68    ) -> () {
69        unsafe {
70            ::unity::il2cpp_call!((::unity::module_base()+0x2e68460usize)as*mut u8,();
71(crate::unity_engine::ui::icanvaselement::ICanvasElement)::core::convert::Into::into(element))
72        }
73    }
74}
75
76#[cfg(feature = "tm_pro-tmp_updateregistry")]
77pub trait ITMP_UpdateRegistryMethods: ITMP_UpdateRegistry {
78    #[doc = "`.ctor()` overload"]
79    fn ctor(self) -> () {
80        unsafe {
81            let __receiver = <TMP_UpdateRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
82            ::unity::il2cpp_call!((::unity::module_base()+0x2e67ba0usize)as*mut u8,();
83(TMP_UpdateRegistry)__receiver)
84        }
85    }
86    #[doc = "`InternalRegisterCanvasElementForLayoutRebuild(crate::unity_engine::ui::icanvaselement::ICanvasElement)` overload"]
87    fn internal_register_canvas_element_for_layout_rebuild(
88        self,
89        element: impl ::core::convert::Into<crate::unity_engine::ui::icanvaselement::ICanvasElement>,
90    ) -> bool {
91        unsafe {
92            let __receiver = <TMP_UpdateRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
93            ::unity::il2cpp_call!((::unity::module_base()+0x2e67db0usize)as*mut u8,bool;
94(TMP_UpdateRegistry)__receiver,(crate::unity_engine::ui::icanvaselement::ICanvasElement)::core::convert::Into::into(element))
95        }
96    }
97    #[doc = "`InternalRegisterCanvasElementForGraphicRebuild(crate::unity_engine::ui::icanvaselement::ICanvasElement)` overload"]
98    fn internal_register_canvas_element_for_graphic_rebuild(
99        self,
100        element: impl ::core::convert::Into<crate::unity_engine::ui::icanvaselement::ICanvasElement>,
101    ) -> bool {
102        unsafe {
103            let __receiver = <TMP_UpdateRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
104            ::unity::il2cpp_call!((::unity::module_base()+0x2e67f60usize)as*mut u8,bool;
105(TMP_UpdateRegistry)__receiver,(crate::unity_engine::ui::icanvaselement::ICanvasElement)::core::convert::Into::into(element))
106        }
107    }
108    #[doc = "`PerformUpdateForCanvasRendererObjects()` overload"]
109    fn perform_update_for_canvas_renderer_objects(self) -> () {
110        unsafe {
111            let __receiver = <TMP_UpdateRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
112            ::unity::il2cpp_call!((::unity::module_base()+0x2e68080usize)as*mut u8,();
113(TMP_UpdateRegistry)__receiver)
114        }
115    }
116    #[doc = "`PerformUpdateForMeshRendererObjects()` overload"]
117    fn perform_update_for_mesh_renderer_objects(self) -> () {
118        unsafe {
119            let __receiver = <TMP_UpdateRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
120            ::unity::il2cpp_call!((::unity::module_base()+0x2e683e0usize)as*mut u8,();
121(TMP_UpdateRegistry)__receiver)
122        }
123    }
124    #[doc = "`InternalUnRegisterCanvasElementForLayoutRebuild(crate::unity_engine::ui::icanvaselement::ICanvasElement)` overload"]
125    fn internal_un_register_canvas_element_for_layout_rebuild(
126        self,
127        element: impl ::core::convert::Into<crate::unity_engine::ui::icanvaselement::ICanvasElement>,
128    ) -> () {
129        unsafe {
130            let __receiver = <TMP_UpdateRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131            ::unity::il2cpp_call!((::unity::module_base()+0x2e68590usize)as*mut u8,();
132(TMP_UpdateRegistry)__receiver,(crate::unity_engine::ui::icanvaselement::ICanvasElement)::core::convert::Into::into(element))
133        }
134    }
135    #[doc = "`InternalUnRegisterCanvasElementForGraphicRebuild(crate::unity_engine::ui::icanvaselement::ICanvasElement)` overload"]
136    fn internal_un_register_canvas_element_for_graphic_rebuild(
137        self,
138        element: impl ::core::convert::Into<crate::unity_engine::ui::icanvaselement::ICanvasElement>,
139    ) -> () {
140        unsafe {
141            let __receiver = <TMP_UpdateRegistry as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
142            ::unity::il2cpp_call!((::unity::module_base()+0x2e686e0usize)as*mut u8,();
143(TMP_UpdateRegistry)__receiver,(crate::unity_engine::ui::icanvaselement::ICanvasElement)::core::convert::Into::into(element))
144        }
145    }
146}
147
148#[cfg(feature = "tm_pro-tmp_updateregistry")]
149impl<__T: ITMP_UpdateRegistry> ITMP_UpdateRegistryMethods for __T {}
150
151#[cfg(feature = "tm_pro-tmp_updateregistry")]
152impl TMP_UpdateRegistry {
153    pub fn get_instance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
154        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
155    }
156
157    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
158        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
159    }
160
161    pub fn register_canvas_element_for_layout_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
162        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
163    }
164
165    pub fn internal_register_canvas_element_for_layout_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
166        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
167    }
168
169    pub fn register_canvas_element_for_graphic_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
170        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
171    }
172
173    pub fn internal_register_canvas_element_for_graphic_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
174        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
175    }
176
177    pub fn perform_update_for_canvas_renderer_objects_method_info() -> &'static ::unity::il2cpp::MethodInfo {
178        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
179    }
180
181    pub fn perform_update_for_mesh_renderer_objects_method_info() -> &'static ::unity::il2cpp::MethodInfo {
182        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
183    }
184
185    pub fn un_register_canvas_element_for_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
186        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
187    }
188
189    pub fn internal_un_register_canvas_element_for_layout_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
190        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
191    }
192
193    pub fn internal_un_register_canvas_element_for_graphic_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
194        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
195    }
196}
197
198#[cfg(feature = "tm_pro-tmp_updateregistry")]
199impl TMP_UpdateRegistry {
200    #[doc = "`.ctor()` — no args"]
201    pub fn new() -> Self {
202        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
203            panic!(
204                "{}
205::{}
206 failed to instantiate",
207                ::core::stringify!(TMP_UpdateRegistry),
208                ::core::stringify!(new),
209            )
210        });
211        <Self as ITMP_UpdateRegistryMethods>::ctor(this);
212        this
213    }
214}
215
216#[cfg(feature = "tm_pro-tmp_updateregistry")]
217#[doc(hidden)]
218pub mod prelude {
219    pub use super::{ITMP_UpdateRegistry, ITMP_UpdateRegistryMethods, TMP_UpdateRegistry};
220    pub use crate::system::object::IObject;
221    #[cfg(feature = "system-object")]
222    pub use crate::system::object::IObjectMethods;
223}