engage/generated/app/
myroomcaptionmid.rs1#[cfg(feature = "app-myroomcaptionmid-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::playables::playablebehaviour::{IPlayableBehaviour, PlayableBehaviour},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/myroomcaptionmid/MyRoomCaptionMID.md"))]
14 #[::unity::class(namespace = "App", name = "MyRoomCaptionMID")]
15 #[parent(crate::unity_engine::playables::playablebehaviour::PlayableBehaviour)]
16 pub struct MyRoomCaptionMID {
17 #[offset(16)]
18 #[rename(name = "MID")]
19 pub mid: ::unity::Il2CppString,
20 }
21}
22
23#[cfg(feature = "app-myroomcaptionmid-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-myroomcaptionmid")]
27pub trait IMyRoomCaptionMIDMethods: IMyRoomCaptionMID {
28 #[doc = "`.ctor()` overload"]
29 fn ctor(self) -> () {
30 unsafe {
31 let __receiver = <MyRoomCaptionMID as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
32 ::unity::il2cpp_call!((::unity::module_base()+0x238c830usize)as*mut u8,();
33(MyRoomCaptionMID)__receiver)
34 }
35 }
36}
37
38#[cfg(feature = "app-myroomcaptionmid")]
39impl<__T: IMyRoomCaptionMID> IMyRoomCaptionMIDMethods for __T {}
40
41#[cfg(feature = "app-myroomcaptionmid")]
42impl MyRoomCaptionMID {
43 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
44 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
45 }
46}
47
48#[cfg(feature = "app-myroomcaptionmid")]
49impl MyRoomCaptionMID {
50 #[doc = "`.ctor()` — no args"]
51 pub fn new() -> Self {
52 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
53 panic!(
54 "{}
55::{}
56 failed to instantiate",
57 ::core::stringify!(MyRoomCaptionMID),
58 ::core::stringify!(new),
59 )
60 });
61 <Self as IMyRoomCaptionMIDMethods>::ctor(this);
62 this
63 }
64}
65
66#[cfg(feature = "app-myroomcaptionmid")]
67#[doc(hidden)]
68pub mod prelude {
69 pub use super::{IMyRoomCaptionMID, IMyRoomCaptionMIDMethods, MyRoomCaptionMID};
70 #[cfg(feature = "system-object")]
71 pub use crate::system::object::IObjectMethods;
72 #[cfg(feature = "unity_engine-playables-playablebehaviour")]
73 pub use crate::unity_engine::playables::playablebehaviour::IPlayableBehaviourMethods;
74 pub use crate::{system::object::IObject, unity_engine::playables::playablebehaviour::IPlayableBehaviour};
75}