engage/generated/app/
hubtalkrelative.rs1#[cfg(feature = "app-hubtalkrelative-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 structbase::{IStructBase, StructBase},
11 structdata_1::{IStructData_1, StructData_1},
12 structtemplate_1::{IStructTemplate_1, StructTemplate_1},
13 },
14 system::object::{IObject, Object},
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubtalkrelative/HubTalkRelative.md"))]
18 #[::unity::class(namespace = "App", name = "HubTalkRelative")]
19 #[parent(crate::app::structdata_1::StructData_1<crate::app::hubtalkrelative::HubTalkRelative>)]
20 pub struct HubTalkRelative {}
21}
22
23#[cfg(feature = "app-hubtalkrelative-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-hubtalkrelative")]
27impl HubTalkRelative {
28 #[doc = "`Load()` overload"]
29 pub fn load() -> () {
30 unsafe {
31 ::unity::il2cpp_call!((::unity::module_base()+0x2a5b320usize)as*mut u8,();
32 )
33 }
34 }
35}
36
37#[cfg(feature = "app-hubtalkrelative")]
38pub trait IHubTalkRelativeMethods: IHubTalkRelative {
39 #[doc = "`get_PID()` overload"]
40 fn get_pid(self) -> ::unity::Il2CppString {
41 unsafe {
42 let __receiver = <HubTalkRelative as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43 ::unity::il2cpp_call!((::unity::module_base()+0x2a5b280usize)as*mut u8, ::unity::Il2CppString;
44(HubTalkRelative)__receiver)
45 }
46 }
47 #[doc = "`set_PID(::unity::Il2CppString)` overload"]
48 fn set_pid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
49 unsafe {
50 let __receiver = <HubTalkRelative as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51 ::unity::il2cpp_call!((::unity::module_base()+0x2a5b290usize)as*mut u8,();
52(HubTalkRelative)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
53 }
54 }
55 #[doc = "`get_PID1()` overload"]
56 fn get_pid1(self) -> ::unity::Il2CppString {
57 unsafe {
58 let __receiver = <HubTalkRelative as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59 ::unity::il2cpp_call!((::unity::module_base()+0x2a5b2a0usize)as*mut u8, ::unity::Il2CppString;
60(HubTalkRelative)__receiver)
61 }
62 }
63 #[doc = "`set_PID1(::unity::Il2CppString)` overload"]
64 fn set_pid1(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
65 unsafe {
66 let __receiver = <HubTalkRelative as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67 ::unity::il2cpp_call!((::unity::module_base()+0x2a5b2b0usize)as*mut u8,();
68(HubTalkRelative)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
69 }
70 }
71 #[doc = "`get_PID2()` overload"]
72 fn get_pid2(self) -> ::unity::Il2CppString {
73 unsafe {
74 let __receiver = <HubTalkRelative as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 ::unity::il2cpp_call!((::unity::module_base()+0x2a5b2c0usize)as*mut u8, ::unity::Il2CppString;
76(HubTalkRelative)__receiver)
77 }
78 }
79 #[doc = "`set_PID2(::unity::Il2CppString)` overload"]
80 fn set_pid2(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
81 unsafe {
82 let __receiver = <HubTalkRelative as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83 ::unity::il2cpp_call!((::unity::module_base()+0x2a5b2d0usize)as*mut u8,();
84(HubTalkRelative)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
85 }
86 }
87 #[doc = "`get_PID3()` overload"]
88 fn get_pid3(self) -> ::unity::Il2CppString {
89 unsafe {
90 let __receiver = <HubTalkRelative as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91 ::unity::il2cpp_call!((::unity::module_base()+0x2a5b2e0usize)as*mut u8, ::unity::Il2CppString;
92(HubTalkRelative)__receiver)
93 }
94 }
95 #[doc = "`set_PID3(::unity::Il2CppString)` overload"]
96 fn set_pid3(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
97 unsafe {
98 let __receiver = <HubTalkRelative as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99 ::unity::il2cpp_call!((::unity::module_base()+0x2a5b2f0usize)as*mut u8,();
100(HubTalkRelative)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
101 }
102 }
103 #[doc = "`get_PID4()` overload"]
104 fn get_pid4(self) -> ::unity::Il2CppString {
105 unsafe {
106 let __receiver = <HubTalkRelative as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107 ::unity::il2cpp_call!((::unity::module_base()+0x2a5b300usize)as*mut u8, ::unity::Il2CppString;
108(HubTalkRelative)__receiver)
109 }
110 }
111 #[doc = "`set_PID4(::unity::Il2CppString)` overload"]
112 fn set_pid4(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
113 unsafe {
114 let __receiver = <HubTalkRelative as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
115 ::unity::il2cpp_call!((::unity::module_base()+0x2a5b310usize)as*mut u8,();
116(HubTalkRelative)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
117 }
118 }
119 #[doc = "`.ctor()` overload"]
120 fn ctor(self) -> () {
121 unsafe {
122 let __receiver = <HubTalkRelative as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123 ::unity::il2cpp_call!((::unity::module_base()+0x2a5b3d0usize)as*mut u8,();
124(HubTalkRelative)__receiver)
125 }
126 }
127}
128
129#[cfg(feature = "app-hubtalkrelative")]
130impl<__T: IHubTalkRelative> IHubTalkRelativeMethods for __T {}
131
132#[cfg(feature = "app-hubtalkrelative")]
133impl HubTalkRelative {
134 pub fn get_pid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
135 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
136 }
137
138 pub fn set_pid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
139 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
140 }
141
142 pub fn get_pid1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
143 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
144 }
145
146 pub fn set_pid1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
147 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
148 }
149
150 pub fn get_pid2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
151 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
152 }
153
154 pub fn set_pid2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
155 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
156 }
157
158 pub fn get_pid3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
159 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
160 }
161
162 pub fn set_pid3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
163 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
164 }
165
166 pub fn get_pid4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
167 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
168 }
169
170 pub fn set_pid4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
171 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
172 }
173
174 pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
176 }
177
178 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
179 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
180 }
181}
182
183#[cfg(feature = "app-hubtalkrelative")]
184impl HubTalkRelative {
185 #[doc = "`.ctor()` — no args"]
186 pub fn new() -> Self {
187 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
188 panic!(
189 "{}
190::{}
191 failed to instantiate",
192 ::core::stringify!(HubTalkRelative),
193 ::core::stringify!(new),
194 )
195 });
196 <Self as IHubTalkRelativeMethods>::ctor(this);
197 this
198 }
199}
200
201#[cfg(feature = "app-hubtalkrelative")]
202#[doc(hidden)]
203pub mod prelude {
204 pub use super::{HubTalkRelative, IHubTalkRelative, IHubTalkRelativeMethods};
205 #[cfg(feature = "app-structbase")]
206 pub use crate::app::structbase::IStructBaseMethods;
207 #[cfg(feature = "app-structdata_1")]
208 pub use crate::app::structdata_1::IStructData_1Methods;
209 #[cfg(feature = "app-structtemplate_1")]
210 pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
211 #[cfg(feature = "system-object")]
212 pub use crate::system::object::IObjectMethods;
213 pub use crate::{
214 app::{structbase::IStructBase, structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1},
215 system::object::IObject,
216 };
217}