engage/generated/unity_engine/experimental/rendering/
scriptableruntimereflectionsystemwrapper.rs1#[cfg(feature = "unity_engine-experimental-rendering-scriptableruntimereflectionsystemwrapper-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/unity_engine/experimental/rendering/scriptableruntimereflectionsystemwrapper/ScriptableRuntimeReflectionSystemWrapper.md"))]
11 #[::unity::class(namespace = "UnityEngine.Experimental.Rendering", name = "ScriptableRuntimeReflectionSystemWrapper")]
12 #[parent(crate::system::object::Object)]
13 pub struct ScriptableRuntimeReflectionSystemWrapper {}
14}
15
16#[cfg(feature = "unity_engine-experimental-rendering-scriptableruntimereflectionsystemwrapper-types")]
17pub use __types::*;
18
19#[cfg(feature = "unity_engine-experimental-rendering-scriptableruntimereflectionsystemwrapper")]
20pub trait IScriptableRuntimeReflectionSystemWrapperMethods: IScriptableRuntimeReflectionSystemWrapper {
21 #[doc = "`get_implementation()` overload"]
22 fn get_implementation(
23 self,
24 ) -> crate::unity_engine::experimental::rendering::iscriptableruntimereflectionsystem::IScriptableRuntimeReflectionSystem {
25 unsafe {
26 let __receiver = <ScriptableRuntimeReflectionSystemWrapper as ::unity::FromIlInstance>::from_il_instance(
27 <Self as ::unity::SystemObject>::as_instance(self),
28 );
29 ::unity::il2cpp_call!((::unity::module_base()+0x2f8e720usize)as*mut u8,crate::unity_engine::experimental::rendering::iscriptableruntimereflectionsystem::IScriptableRuntimeReflectionSystem;
30(ScriptableRuntimeReflectionSystemWrapper)__receiver)
31 }
32 }
33 #[doc = "`set_implementation(crate::unity_engine::experimental::rendering::iscriptableruntimereflectionsystem::IScriptableRuntimeReflectionSystem)` overload"]
34 fn set_implementation(
35 self,
36 value: impl ::core::convert::Into<
37 crate::unity_engine::experimental::rendering::iscriptableruntimereflectionsystem::IScriptableRuntimeReflectionSystem,
38 >,
39 ) -> () {
40 unsafe {
41 let __receiver = <ScriptableRuntimeReflectionSystemWrapper as ::unity::FromIlInstance>::from_il_instance(
42 <Self as ::unity::SystemObject>::as_instance(self),
43 );
44 ::unity::il2cpp_call!((::unity::module_base()+0x2f8e730usize)as*mut u8,();
45(ScriptableRuntimeReflectionSystemWrapper)__receiver,(crate::unity_engine::experimental::rendering::iscriptableruntimereflectionsystem::IScriptableRuntimeReflectionSystem)::core::convert::Into::into(value))
46 }
47 }
48 #[doc = "`Internal_ScriptableRuntimeReflectionSystemWrapper_TickRealtimeProbes(*mutbool)` overload"]
49 fn internal_scriptable_runtime_reflection_system_wrapper_tick_realtime_probes(self) -> bool {
50 unsafe {
51 let __receiver = <ScriptableRuntimeReflectionSystemWrapper as ::unity::FromIlInstance>::from_il_instance(
52 <Self as ::unity::SystemObject>::as_instance(self),
53 );
54 let mut __out_0 = ::core::mem::MaybeUninit::<bool>::uninit();
55 ::unity::il2cpp_call!((::unity::module_base()+0x2f8e740usize)as*mut u8,();
56(ScriptableRuntimeReflectionSystemWrapper)__receiver,(*mut bool)__out_0.as_mut_ptr());
57 __out_0.assume_init()
58 }
59 }
60 #[doc = "`.ctor()` overload"]
61 fn ctor(self) -> () {
62 unsafe {
63 let __receiver = <ScriptableRuntimeReflectionSystemWrapper as ::unity::FromIlInstance>::from_il_instance(
64 <Self as ::unity::SystemObject>::as_instance(self),
65 );
66 ::unity::il2cpp_call!((::unity::module_base()+0x2f8e710usize)as*mut u8,();
67(ScriptableRuntimeReflectionSystemWrapper)__receiver)
68 }
69 }
70}
71
72#[cfg(feature = "unity_engine-experimental-rendering-scriptableruntimereflectionsystemwrapper")]
73impl<__T: IScriptableRuntimeReflectionSystemWrapper> IScriptableRuntimeReflectionSystemWrapperMethods for __T {}
74
75#[cfg(feature = "unity_engine-experimental-rendering-scriptableruntimereflectionsystemwrapper")]
76impl ScriptableRuntimeReflectionSystemWrapper {
77 pub fn get_implementation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
78 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
79 }
80
81 pub fn set_implementation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
82 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
83 }
84
85 pub fn internal_scriptable_runtime_reflection_system_wrapper_tick_realtime_probes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
86 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
87 }
88
89 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
90 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
91 }
92}
93
94#[cfg(feature = "unity_engine-experimental-rendering-scriptableruntimereflectionsystemwrapper")]
95impl ScriptableRuntimeReflectionSystemWrapper {
96 #[doc = "`.ctor()` — no args"]
97 pub fn new() -> Self {
98 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
99 panic!(
100 "{}
101::{}
102 failed to instantiate",
103 ::core::stringify!(ScriptableRuntimeReflectionSystemWrapper),
104 ::core::stringify!(new),
105 )
106 });
107 <Self as IScriptableRuntimeReflectionSystemWrapperMethods>::ctor(this);
108 this
109 }
110}
111
112#[cfg(feature = "unity_engine-experimental-rendering-scriptableruntimereflectionsystemwrapper")]
113#[doc(hidden)]
114pub mod prelude {
115 pub use super::{
116 IScriptableRuntimeReflectionSystemWrapper, IScriptableRuntimeReflectionSystemWrapperMethods, ScriptableRuntimeReflectionSystemWrapper,
117 };
118 pub use crate::system::object::IObject;
119 #[cfg(feature = "system-object")]
120 pub use crate::system::object::IObjectMethods;
121}