1#[cfg(feature = "app-friendlistcontent-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::{
11 behaviour::{Behaviour, IBehaviour},
12 component::{Component, IComponent},
13 monobehaviour::{IMonoBehaviour, MonoBehaviour},
14 object_2::{IObject_2, Object_2},
15 },
16 };
17
18 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/friendlistcontent/FriendListContent.md"))]
19 #[::unity::class(namespace = "App", name = "FriendListContent")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct FriendListContent {
22 #[offset(32)]
23 #[rename(name = "m_FriendContentArray")]
24 pub m_friend_content_array: ::unity::Array<crate::app::friendlistcontent::FriendListContent_FriendContent>,
25 #[offset(40)]
26 #[rename(name = "m_ActiveFriendContentIndex")]
27 pub m_active_friend_content_index: i32,
28 #[offset(48)]
29 #[rename(name = "m_IndexAnimatorArray")]
30 pub m_index_animator_array: ::unity::Array<crate::unity_engine::animator::Animator>,
31 }
32
33 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/friendlistcontent/FriendListContent_FriendContent.md"))]
34 #[::unity::class(namespace = "App", name = "FriendListContent.FriendContent")]
35 #[parent(crate::system::object::Object)]
36 pub struct FriendListContent_FriendContent {}
37}
38
39#[cfg(feature = "app-friendlistcontent-types")]
40pub use __types::*;
41
42#[cfg(feature = "app-friendlistcontent")]
43pub trait IFriendListContentMethods: IFriendListContent {
44 #[doc = "`set_IsInitialized(bool)` overload"]
45 fn set_is_initialized(self, value: impl ::core::convert::Into<bool>) -> () {
46 unsafe {
47 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
48 ::unity::il2cpp_call!((::unity::module_base()+0x261dd90usize)as*mut u8,();
49(FriendListContent)__receiver,(bool)::core::convert::Into::into(value))
50 }
51 }
52 #[doc = "`get_IsInitialized()` overload"]
53 fn get_is_initialized(self) -> bool {
54 unsafe {
55 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
56 ::unity::il2cpp_call!((::unity::module_base()+0x261dda0usize)as*mut u8,bool;
57(FriendListContent)__receiver)
58 }
59 }
60 #[doc = "`set_IsPageChanging(bool)` overload"]
61 fn set_is_page_changing(self, value: impl ::core::convert::Into<bool>) -> () {
62 unsafe {
63 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
64 ::unity::il2cpp_call!((::unity::module_base()+0x261ddb0usize)as*mut u8,();
65(FriendListContent)__receiver,(bool)::core::convert::Into::into(value))
66 }
67 }
68 #[doc = "`get_IsPageChanging()` overload"]
69 fn get_is_page_changing(self) -> bool {
70 unsafe {
71 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
72 ::unity::il2cpp_call!((::unity::module_base()+0x261ddc0usize)as*mut u8,bool;
73(FriendListContent)__receiver)
74 }
75 }
76 #[doc = "`set_IsShowArrow(bool)` overload"]
77 fn set_is_show_arrow(self, value: impl ::core::convert::Into<bool>) -> () {
78 unsafe {
79 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80 ::unity::il2cpp_call!((::unity::module_base()+0x261ddd0usize)as*mut u8,();
81(FriendListContent)__receiver,(bool)::core::convert::Into::into(value))
82 }
83 }
84 #[doc = "`get_IsShowArrow()` overload"]
85 fn get_is_show_arrow(self) -> bool {
86 unsafe {
87 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
88 ::unity::il2cpp_call!((::unity::module_base()+0x261dde0usize)as*mut u8,bool;
89(FriendListContent)__receiver)
90 }
91 }
92 #[doc = "`Start()` overload"]
93 fn start(self) -> () {
94 unsafe {
95 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
96 ::unity::il2cpp_call!((::unity::module_base()+0x261ddf0usize)as*mut u8,();
97(FriendListContent)__receiver)
98 }
99 }
100 #[doc = "`Update()` overload"]
101 fn update(self) -> () {
102 unsafe {
103 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
104 ::unity::il2cpp_call!((::unity::module_base()+0x261e310usize)as*mut u8,();
105(FriendListContent)__receiver)
106 }
107 }
108 #[doc = "`SetFriendDataCore(crate::app::friendlistdata::FriendListData, crate::unity_engine::sprite::Sprite, crate::unity_engine::sprite::Sprite)` overload"]
109 fn set_friend_data_core(
110 self,
111 friend_data: impl ::core::convert::Into<crate::app::friendlistdata::FriendListData>,
112 chara_image_sprite: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>,
113 stamp_sprite: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>,
114 ) -> () {
115 unsafe {
116 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117 ::unity::il2cpp_call!((::unity::module_base()+0x261e370usize)as*mut u8,();
118(FriendListContent)__receiver,(crate::app::friendlistdata::FriendListData)::core::convert::Into::into(friend_data),(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(chara_image_sprite),(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(stamp_sprite))
119 }
120 }
121 #[doc = "`InitCountryTag(crate::system::collections::generic::list_1::List_1<crate::app::friendlistdata::FriendListData>)` overload"]
122 fn init_country_tag(
123 self,
124 data_array: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::friendlistdata::FriendListData>>,
125 ) -> () {
126 unsafe {
127 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128 ::unity::il2cpp_call!((::unity::module_base()+0x261e6c0usize)as*mut u8,();
129(FriendListContent)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::friendlistdata::FriendListData>)::core::convert::Into::into(data_array))
130 }
131 }
132 #[doc = "`SetFriendDataAtFirst(crate::app::friendlistdata::FriendListData, crate::unity_engine::sprite::Sprite, crate::unity_engine::sprite::Sprite)` overload"]
133 fn set_friend_data_at_first(
134 self,
135 friend_data: impl ::core::convert::Into<crate::app::friendlistdata::FriendListData>,
136 chara_image_sprite: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>,
137 stamp_sprite: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>,
138 ) -> () {
139 unsafe {
140 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
141 ::unity::il2cpp_call!((::unity::module_base()+0x261e9a0usize)as*mut u8,();
142(FriendListContent)__receiver,(crate::app::friendlistdata::FriendListData)::core::convert::Into::into(friend_data),(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(chara_image_sprite),(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(stamp_sprite))
143 }
144 }
145 #[doc = "`SetFriendData(crate::app::friendlistdata::FriendListData, crate::unity_engine::sprite::Sprite, crate::unity_engine::sprite::Sprite)` overload"]
146 fn set_friend_data(
147 self,
148 friend_data: impl ::core::convert::Into<crate::app::friendlistdata::FriendListData>,
149 chara_image_sprite: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>,
150 stamp_sprite: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>,
151 ) -> () {
152 unsafe {
153 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
154 ::unity::il2cpp_call!((::unity::module_base()+0x261eab0usize)as*mut u8,();
155(FriendListContent)__receiver,(crate::app::friendlistdata::FriendListData)::core::convert::Into::into(friend_data),(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(chara_image_sprite),(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(stamp_sprite))
156 }
157 }
158 #[doc = "`get_IsCharaChange()` overload"]
159 fn get_is_chara_change(self) -> bool {
160 unsafe {
161 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
162 ::unity::il2cpp_call!((::unity::module_base()+0x261ec30usize)as*mut u8,bool;
163(FriendListContent)__receiver)
164 }
165 }
166 #[doc = "`set_IsCharaChange(bool)` overload"]
167 fn set_is_chara_change(self, value: impl ::core::convert::Into<bool>) -> () {
168 unsafe {
169 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
170 ::unity::il2cpp_call!((::unity::module_base()+0x261ec40usize)as*mut u8,();
171(FriendListContent)__receiver,(bool)::core::convert::Into::into(value))
172 }
173 }
174 #[doc = "`get_IsCountryChange()` overload"]
175 fn get_is_country_change(self) -> bool {
176 unsafe {
177 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
178 ::unity::il2cpp_call!((::unity::module_base()+0x261ec50usize)as*mut u8,bool;
179(FriendListContent)__receiver)
180 }
181 }
182 #[doc = "`set_IsCountryChange(bool)` overload"]
183 fn set_is_country_change(self, value: impl ::core::convert::Into<bool>) -> () {
184 unsafe {
185 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
186 ::unity::il2cpp_call!((::unity::module_base()+0x261ec60usize)as*mut u8,();
187(FriendListContent)__receiver,(bool)::core::convert::Into::into(value))
188 }
189 }
190 #[doc = "`HideArrow()` overload"]
191 fn hide_arrow(self) -> () {
192 unsafe {
193 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
194 ::unity::il2cpp_call!((::unity::module_base()+0x261e8c0usize)as*mut u8,();
195(FriendListContent)__receiver)
196 }
197 }
198 #[doc = "`ShowArrow()` overload"]
199 fn show_arrow(self) -> () {
200 unsafe {
201 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
202 ::unity::il2cpp_call!((::unity::module_base()+0x261ec70usize)as*mut u8,();
203(FriendListContent)__receiver)
204 }
205 }
206 #[doc = "`.ctor()` overload"]
207 fn ctor(self) -> () {
208 unsafe {
209 let __receiver = <FriendListContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
210 ::unity::il2cpp_call!((::unity::module_base()+0x261ed60usize)as*mut u8,();
211(FriendListContent)__receiver)
212 }
213 }
214}
215
216#[cfg(feature = "app-friendlistcontent")]
217impl<__T: IFriendListContent> IFriendListContentMethods for __T {}
218
219#[cfg(feature = "app-friendlistcontent")]
220impl FriendListContent {
221 pub fn set_is_initialized_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
223 }
224
225 pub fn get_is_initialized_method_info() -> &'static ::unity::il2cpp::MethodInfo {
226 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
227 }
228
229 pub fn set_is_page_changing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
231 }
232
233 pub fn get_is_page_changing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
234 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
235 }
236
237 pub fn set_is_show_arrow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
238 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
239 }
240
241 pub fn get_is_show_arrow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
242 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
243 }
244
245 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
246 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
247 }
248
249 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
250 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
251 }
252
253 pub fn set_friend_data_core_method_info() -> &'static ::unity::il2cpp::MethodInfo {
254 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
255 }
256
257 pub fn init_country_tag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
258 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
259 }
260
261 pub fn set_friend_data_at_first_method_info() -> &'static ::unity::il2cpp::MethodInfo {
262 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
263 }
264
265 pub fn set_friend_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
266 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
267 }
268
269 pub fn get_is_chara_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
270 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
271 }
272
273 pub fn set_is_chara_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
274 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
275 }
276
277 pub fn get_is_country_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
278 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
279 }
280
281 pub fn set_is_country_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
282 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
283 }
284
285 pub fn hide_arrow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
286 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
287 }
288
289 pub fn show_arrow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
290 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
291 }
292
293 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
294 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
295 }
296}
297
298#[cfg(feature = "app-friendlistcontent")]
299impl FriendListContent {
300 #[doc = "`.ctor()` — no args"]
301 pub fn new() -> Self {
302 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
303 panic!(
304 "{}
305::{}
306 failed to instantiate",
307 ::core::stringify!(FriendListContent),
308 ::core::stringify!(new),
309 )
310 });
311 <Self as IFriendListContentMethods>::ctor(this);
312 this
313 }
314}
315
316#[cfg(feature = "app-friendlistcontent")]
317pub trait IFriendListContent_FriendContentMethods: IFriendListContent_FriendContent {
318 #[doc = "`get_TitleObj()` overload"]
319 fn get_title_obj(self) -> crate::unity_engine::gameobject::GameObject {
320 unsafe {
321 let __receiver =
322 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
323 ::unity::il2cpp_call!((::unity::module_base()+0x1e648e0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
324(FriendListContent_FriendContent)__receiver)
325 }
326 }
327 #[doc = "`set_TitleObj(crate::unity_engine::gameobject::GameObject)` overload"]
328 fn set_title_obj(self, value: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
329 unsafe {
330 let __receiver =
331 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
332 ::unity::il2cpp_call!((::unity::module_base()+0x1e648f0usize)as*mut u8,();
333(FriendListContent_FriendContent)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(value))
334 }
335 }
336 #[doc = "`get_MessageObj()` overload"]
337 fn get_message_obj(self) -> crate::unity_engine::gameobject::GameObject {
338 unsafe {
339 let __receiver =
340 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
341 ::unity::il2cpp_call!((::unity::module_base()+0x1e64900usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
342(FriendListContent_FriendContent)__receiver)
343 }
344 }
345 #[doc = "`set_MessageObj(crate::unity_engine::gameobject::GameObject)` overload"]
346 fn set_message_obj(self, value: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
347 unsafe {
348 let __receiver =
349 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
350 ::unity::il2cpp_call!((::unity::module_base()+0x1e64910usize)as*mut u8,();
351(FriendListContent_FriendContent)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(value))
352 }
353 }
354 #[doc = "`get_StampObj()` overload"]
355 fn get_stamp_obj(self) -> crate::unity_engine::gameobject::GameObject {
356 unsafe {
357 let __receiver =
358 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
359 ::unity::il2cpp_call!((::unity::module_base()+0x1e64920usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
360(FriendListContent_FriendContent)__receiver)
361 }
362 }
363 #[doc = "`set_StampObj(crate::unity_engine::gameobject::GameObject)` overload"]
364 fn set_stamp_obj(self, value: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
365 unsafe {
366 let __receiver =
367 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
368 ::unity::il2cpp_call!((::unity::module_base()+0x1e64930usize)as*mut u8,();
369(FriendListContent_FriendContent)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(value))
370 }
371 }
372 #[doc = "`get_PictureObj()` overload"]
373 fn get_picture_obj(self) -> crate::unity_engine::gameobject::GameObject {
374 unsafe {
375 let __receiver =
376 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
377 ::unity::il2cpp_call!((::unity::module_base()+0x1e64940usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
378(FriendListContent_FriendContent)__receiver)
379 }
380 }
381 #[doc = "`set_PictureObj(crate::unity_engine::gameobject::GameObject)` overload"]
382 fn set_picture_obj(self, value: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
383 unsafe {
384 let __receiver =
385 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
386 ::unity::il2cpp_call!((::unity::module_base()+0x1e64950usize)as*mut u8,();
387(FriendListContent_FriendContent)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(value))
388 }
389 }
390 #[doc = "`SetTextObj(crate::unity_engine::gameobject::GameObject)` overload"]
391 fn set_text_obj(self, text_root: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
392 unsafe {
393 let __receiver =
394 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
395 ::unity::il2cpp_call!((::unity::module_base()+0x1e64960usize)as*mut u8,();
396(FriendListContent_FriendContent)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(text_root))
397 }
398 }
399 #[doc = "`SetTitle(::unity::Il2CppString)` overload"]
400 fn set_title(self, title: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
401 unsafe {
402 let __receiver =
403 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
404 ::unity::il2cpp_call!((::unity::module_base()+0x1e64a40usize)as*mut u8,();
405(FriendListContent_FriendContent)__receiver,(::unity::Il2CppString)::core::convert::Into::into(title))
406 }
407 }
408 #[doc = "`SetMessage(::unity::Il2CppString)` overload"]
409 fn set_message(self, message: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
410 unsafe {
411 let __receiver =
412 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
413 ::unity::il2cpp_call!((::unity::module_base()+0x1e64ac0usize)as*mut u8,();
414(FriendListContent_FriendContent)__receiver,(::unity::Il2CppString)::core::convert::Into::into(message))
415 }
416 }
417 #[doc = "`SetStamp(crate::unity_engine::sprite::Sprite)` overload"]
418 fn set_stamp(self, sprite: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>) -> () {
419 unsafe {
420 let __receiver =
421 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
422 ::unity::il2cpp_call!((::unity::module_base()+0x1e64b40usize)as*mut u8,();
423(FriendListContent_FriendContent)__receiver,(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(sprite))
424 }
425 }
426 #[doc = "`SetImage(crate::unity_engine::sprite::Sprite)` overload"]
427 fn set_image(self, sprite: impl ::core::convert::Into<crate::unity_engine::sprite::Sprite>) -> () {
428 unsafe {
429 let __receiver =
430 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
431 ::unity::il2cpp_call!((::unity::module_base()+0x1e64be0usize)as*mut u8,();
432(FriendListContent_FriendContent)__receiver,(crate::unity_engine::sprite::Sprite)::core::convert::Into::into(sprite))
433 }
434 }
435 #[doc = "`Show()` overload"]
436 fn show(self) -> () {
437 unsafe {
438 let __receiver =
439 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
440 ::unity::il2cpp_call!((::unity::module_base()+0x1e64c80usize)as*mut u8,();
441(FriendListContent_FriendContent)__receiver)
442 }
443 }
444 #[doc = "`StartShow()` overload"]
445 fn start_show(self) -> () {
446 unsafe {
447 let __receiver =
448 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
449 ::unity::il2cpp_call!((::unity::module_base()+0x1e64d40usize)as*mut u8,();
450(FriendListContent_FriendContent)__receiver)
451 }
452 }
453 #[doc = "`StartHide(bool)` overload"]
454 fn start_hide(self, is_chara_change: impl ::core::convert::Into<bool>) -> () {
455 unsafe {
456 let __receiver =
457 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
458 ::unity::il2cpp_call!((::unity::module_base()+0x1e64ea0usize)as*mut u8,();
459(FriendListContent_FriendContent)__receiver,(bool)::core::convert::Into::into(is_chara_change))
460 }
461 }
462 #[doc = "`IsChanging()` overload"]
463 fn is_changing(self) -> bool {
464 unsafe {
465 let __receiver =
466 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
467 ::unity::il2cpp_call!((::unity::module_base()+0x1e65000usize)as*mut u8,bool;
468(FriendListContent_FriendContent)__receiver)
469 }
470 }
471 #[doc = "`.ctor()` overload"]
472 fn ctor(self) -> () {
473 unsafe {
474 let __receiver =
475 <FriendListContent_FriendContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
476 ::unity::il2cpp_call!((::unity::module_base()+0x1e650f0usize)as*mut u8,();
477(FriendListContent_FriendContent)__receiver)
478 }
479 }
480}
481
482#[cfg(feature = "app-friendlistcontent")]
483impl<__T: IFriendListContent_FriendContent> IFriendListContent_FriendContentMethods for __T {}
484
485#[cfg(feature = "app-friendlistcontent")]
486impl FriendListContent_FriendContent {
487 pub fn get_title_obj_method_info() -> &'static ::unity::il2cpp::MethodInfo {
488 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
489 }
490
491 pub fn set_title_obj_method_info() -> &'static ::unity::il2cpp::MethodInfo {
492 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
493 }
494
495 pub fn get_message_obj_method_info() -> &'static ::unity::il2cpp::MethodInfo {
496 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
497 }
498
499 pub fn set_message_obj_method_info() -> &'static ::unity::il2cpp::MethodInfo {
500 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
501 }
502
503 pub fn get_stamp_obj_method_info() -> &'static ::unity::il2cpp::MethodInfo {
504 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
505 }
506
507 pub fn set_stamp_obj_method_info() -> &'static ::unity::il2cpp::MethodInfo {
508 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
509 }
510
511 pub fn get_picture_obj_method_info() -> &'static ::unity::il2cpp::MethodInfo {
512 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
513 }
514
515 pub fn set_picture_obj_method_info() -> &'static ::unity::il2cpp::MethodInfo {
516 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
517 }
518
519 pub fn set_text_obj_method_info() -> &'static ::unity::il2cpp::MethodInfo {
520 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
521 }
522
523 pub fn set_title_method_info() -> &'static ::unity::il2cpp::MethodInfo {
524 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
525 }
526
527 pub fn set_message_method_info() -> &'static ::unity::il2cpp::MethodInfo {
528 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
529 }
530
531 pub fn set_stamp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
532 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
533 }
534
535 pub fn set_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
536 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
537 }
538
539 pub fn show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
540 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
541 }
542
543 pub fn start_show_method_info() -> &'static ::unity::il2cpp::MethodInfo {
544 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
545 }
546
547 pub fn start_hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
548 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
549 }
550
551 pub fn is_changing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
552 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
553 }
554
555 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
556 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
557 }
558}
559
560#[cfg(feature = "app-friendlistcontent")]
561impl FriendListContent_FriendContent {
562 #[doc = "`.ctor()` — no args"]
563 pub fn new() -> Self {
564 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
565 panic!(
566 "{}
567::{}
568 failed to instantiate",
569 ::core::stringify!(FriendListContent_FriendContent),
570 ::core::stringify!(new),
571 )
572 });
573 <Self as IFriendListContent_FriendContentMethods>::ctor(this);
574 this
575 }
576}
577
578#[cfg(feature = "app-friendlistcontent")]
579#[doc(hidden)]
580pub mod prelude {
581 pub use super::{
582 FriendListContent, FriendListContent_FriendContent, IFriendListContent, IFriendListContentMethods, IFriendListContent_FriendContent,
583 IFriendListContent_FriendContentMethods,
584 };
585 #[cfg(feature = "system-object")]
586 pub use crate::system::object::IObjectMethods;
587 #[cfg(feature = "unity_engine-behaviour")]
588 pub use crate::unity_engine::behaviour::IBehaviourMethods;
589 #[cfg(feature = "unity_engine-component")]
590 pub use crate::unity_engine::component::IComponentMethods;
591 #[cfg(feature = "unity_engine-monobehaviour")]
592 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
593 #[cfg(feature = "unity_engine-object_2")]
594 pub use crate::unity_engine::object_2::IObject_2Methods;
595 pub use crate::{
596 system::object::IObject,
597 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
598 };
599}