Skip to main content

engage/generated/app/
profilecardcommentmenu.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-profilecardcommentmenu-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::procinst::{IProcInst, ProcInst},
10        system::{
11            delegate::{Delegate, IDelegate},
12            multicastdelegate::{IMulticastDelegate, MulticastDelegate},
13            object::{IObject, Object},
14        },
15    };
16
17    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardcommentmenu/ProfileCardCommentMenu_DisposeEventHandler.md"))]
18    #[::unity::class(namespace = "App", name = "ProfileCardCommentMenu.DisposeEventHandler")]
19    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
20    pub struct ProfileCardCommentMenu_DisposeEventHandler {}
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardcommentmenu/ProfileCardCommentMenu.md"))]
23    #[::unity::class(namespace = "App", name = "ProfileCardCommentMenu")]
24    #[parent(crate::app::procinst::ProcInst)]
25    pub struct ProfileCardCommentMenu {
26        #[offset(112)]
27        #[rename(name = "m_DisposeEventHandler")]
28        pub m_dispose_event_handler: crate::app::profilecardcommentmenu::ProfileCardCommentMenu_DisposeEventHandler,
29        #[offset(120)]
30        #[rename(name = "m_MessageSelectMenuContent")]
31        pub m_message_select_menu_content: crate::app::profilecardmessageselectmenucontent::ProfileCardMessageSelectMenuContent,
32        #[offset(128)]
33        #[rename(name = "m_MessageListMenuContent")]
34        pub m_message_list_menu_content: crate::app::profilecardmessagelistmenucontent::ProfileCardMessageListMenuContent,
35        #[offset(136)]
36        #[rename(name = "m_ProfileCardRoot")]
37        pub m_profile_card_root: crate::app::profilecardroot::ProfileCardRoot,
38        #[offset(144)]
39        #[rename(name = "m_ProfileCardCommentIndexMenu")]
40        pub m_profile_card_comment_index_menu: crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu,
41        #[offset(152)]
42        #[rename(name = "m_ProfileCardCommentListMenu")]
43        pub m_profile_card_comment_list_menu: crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu,
44        #[offset(160)]
45        #[rename(name = "m_MyProfileCardTemp")]
46        pub m_my_profile_card_temp: crate::app::profilecard::ProfileCard,
47        #[offset(168)]
48        #[rename(name = "m_CommentTempArray")]
49        pub m_comment_temp_array: ::unity::Array<crate::app::profilecardcommentdata::ProfileCardCommentData>,
50        #[offset(184)]
51        #[rename(name = "m_DecidedMessageIndex")]
52        pub m_decided_message_index: i32,
53    }
54}
55
56#[cfg(feature = "app-profilecardcommentmenu-types")]
57pub use __types::*;
58
59#[cfg(feature = "app-profilecardcommentmenu")]
60pub trait IProfileCardCommentMenu_DisposeEventHandlerMethods: IProfileCardCommentMenu_DisposeEventHandler {
61    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
62    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
63        unsafe {
64            let __receiver = <ProfileCardCommentMenu_DisposeEventHandler as ::unity::FromIlInstance>::from_il_instance(
65                <Self as ::unity::SystemObject>::as_instance(self),
66            );
67            ::unity::il2cpp_call!((::unity::module_base()+0x2268b10usize)as*mut u8,();
68(ProfileCardCommentMenu_DisposeEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
69        }
70    }
71    #[doc = "`Invoke()` overload"]
72    fn invoke(self) -> () {
73        unsafe {
74            let __receiver = <ProfileCardCommentMenu_DisposeEventHandler as ::unity::FromIlInstance>::from_il_instance(
75                <Self as ::unity::SystemObject>::as_instance(self),
76            );
77            {
78                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
79                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
80                    panic!(
81                        "unity: virtual slot {}
82 out of range (vtable len {}
83) on the runtime class behind {}
84 (method `{}
85`)",
86                        13usize,
87                        __vt.len(),
88                        <ProfileCardCommentMenu_DisposeEventHandler as ::unity::ClassIdentity>::NAME,
89                        "Invoke",
90                    )
91                });
92                let __inner: extern "C" fn(ProfileCardCommentMenu_DisposeEventHandler, ::unity::OptionalMethod) -> () =
93                    ::core::mem::transmute(__vi.method_ptr);
94                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
95                __inner(__receiver, __mi)
96            }
97        }
98    }
99}
100
101#[cfg(feature = "app-profilecardcommentmenu")]
102impl<__T: IProfileCardCommentMenu_DisposeEventHandler> IProfileCardCommentMenu_DisposeEventHandlerMethods for __T {}
103
104#[cfg(feature = "app-profilecardcommentmenu")]
105impl ProfileCardCommentMenu_DisposeEventHandler {
106    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
107        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
108    }
109
110    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
111        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
112    }
113}
114
115#[cfg(feature = "app-profilecardcommentmenu")]
116impl ProfileCardCommentMenu_DisposeEventHandler {
117    #[doc = "Direct (non-virtual) call to `ProfileCardCommentMenu_DisposeEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
118    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
119        let __mi = Self::invoke_method_info();
120        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
121        __inner(this.into(), ::core::option::Option::None)
122    }
123}
124
125#[cfg(feature = "app-profilecardcommentmenu")]
126impl ProfileCardCommentMenu_DisposeEventHandler {
127    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
128    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
129        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
130            panic!(
131                "{}
132::{}
133 failed to instantiate",
134                ::core::stringify!(ProfileCardCommentMenu_DisposeEventHandler),
135                ::core::stringify!(new),
136            )
137        });
138        <Self as IProfileCardCommentMenu_DisposeEventHandlerMethods>::ctor(this, object, method);
139        this
140    }
141}
142
143#[cfg(feature = "app-profilecardcommentmenu")]
144impl ProfileCardCommentMenu {
145    #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::profilecardmessageselectmenucontent::ProfileCardMessageSelectMenuContent, crate::app::profilecardmessagelistmenucontent::ProfileCardMessageListMenuContent, crate::app::profilecardroot::ProfileCardRoot, crate::app::profilecard::ProfileCard, i32, crate::app::profilecardcommentmenu::ProfileCardCommentMenu_DisposeEventHandler)` overload"]
146    pub fn create_bind(
147        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
148        message_select_menu_content: impl ::core::convert::Into<crate::app::profilecardmessageselectmenucontent::ProfileCardMessageSelectMenuContent>,
149        message_list_menu_content: impl ::core::convert::Into<crate::app::profilecardmessagelistmenucontent::ProfileCardMessageListMenuContent>,
150        profile_card_root: impl ::core::convert::Into<crate::app::profilecardroot::ProfileCardRoot>,
151        my_profile_card_temp: impl ::core::convert::Into<crate::app::profilecard::ProfileCard>,
152        initial_index: impl ::core::convert::Into<i32>,
153        dispose_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentmenu::ProfileCardCommentMenu_DisposeEventHandler>,
154    ) -> crate::app::profilecardcommentmenu::ProfileCardCommentMenu {
155        unsafe {
156            ::unity::il2cpp_call!((::unity::module_base()+0x2311cc0usize)as*mut u8,crate::app::profilecardcommentmenu::ProfileCardCommentMenu;
157(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::profilecardmessageselectmenucontent::ProfileCardMessageSelectMenuContent)::core::convert::Into::into(message_select_menu_content),(crate::app::profilecardmessagelistmenucontent::ProfileCardMessageListMenuContent)::core::convert::Into::into(message_list_menu_content),(crate::app::profilecardroot::ProfileCardRoot)::core::convert::Into::into(profile_card_root),(crate::app::profilecard::ProfileCard)::core::convert::Into::into(my_profile_card_temp),(i32)::core::convert::Into::into(initial_index),(crate::app::profilecardcommentmenu::ProfileCardCommentMenu_DisposeEventHandler)::core::convert::Into::into(dispose_event_handler))
158        }
159    }
160}
161
162#[cfg(feature = "app-profilecardcommentmenu")]
163pub trait IProfileCardCommentMenuMethods: IProfileCardCommentMenu {
164    #[doc = "`.ctor(crate::app::procinst::ProcInst, crate::app::profilecardmessageselectmenucontent::ProfileCardMessageSelectMenuContent, crate::app::profilecardmessagelistmenucontent::ProfileCardMessageListMenuContent, crate::app::profilecardroot::ProfileCardRoot, crate::app::profilecard::ProfileCard, i32, crate::app::profilecardcommentmenu::ProfileCardCommentMenu_DisposeEventHandler)` overload"]
165    fn ctor(
166        self,
167        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
168        message_select_menu_content: impl ::core::convert::Into<crate::app::profilecardmessageselectmenucontent::ProfileCardMessageSelectMenuContent>,
169        message_list_menu_content: impl ::core::convert::Into<crate::app::profilecardmessagelistmenucontent::ProfileCardMessageListMenuContent>,
170        profile_card_root: impl ::core::convert::Into<crate::app::profilecardroot::ProfileCardRoot>,
171        profile_card: impl ::core::convert::Into<crate::app::profilecard::ProfileCard>,
172        initial_index: impl ::core::convert::Into<i32>,
173        dispose_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentmenu::ProfileCardCommentMenu_DisposeEventHandler>,
174    ) -> () {
175        unsafe {
176            let __receiver =
177                <ProfileCardCommentMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
178            ::unity::il2cpp_call!((::unity::module_base()+0x2311d80usize)as*mut u8,();
179(ProfileCardCommentMenu)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::profilecardmessageselectmenucontent::ProfileCardMessageSelectMenuContent)::core::convert::Into::into(message_select_menu_content),(crate::app::profilecardmessagelistmenucontent::ProfileCardMessageListMenuContent)::core::convert::Into::into(message_list_menu_content),(crate::app::profilecardroot::ProfileCardRoot)::core::convert::Into::into(profile_card_root),(crate::app::profilecard::ProfileCard)::core::convert::Into::into(profile_card),(i32)::core::convert::Into::into(initial_index),(crate::app::profilecardcommentmenu::ProfileCardCommentMenu_DisposeEventHandler)::core::convert::Into::into(dispose_event_handler))
180        }
181    }
182    #[doc = "`OnDisposeChildren()` overload"]
183    fn on_dispose_children(self) -> () {
184        unsafe {
185            let __receiver =
186                <ProfileCardCommentMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187            ::unity::il2cpp_call!((::unity::module_base()+0x23120b0usize)as*mut u8,();
188(ProfileCardCommentMenu)__receiver)
189        }
190    }
191}
192
193#[cfg(feature = "app-profilecardcommentmenu")]
194impl<__T: IProfileCardCommentMenu> IProfileCardCommentMenuMethods for __T {}
195
196#[cfg(feature = "app-profilecardcommentmenu")]
197impl ProfileCardCommentMenu {
198    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
199        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
200    }
201
202    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
203        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
204    }
205
206    pub fn on_dispose_children_method_info() -> &'static ::unity::il2cpp::MethodInfo {
207        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
208    }
209}
210
211#[cfg(feature = "app-profilecardcommentmenu")]
212impl ProfileCardCommentMenu {
213    #[doc = "`.ctor(crate::app::procinst::ProcInst, crate::app::profilecardmessageselectmenucontent::ProfileCardMessageSelectMenuContent, crate::app::profilecardmessagelistmenucontent::ProfileCardMessageListMenuContent, crate::app::profilecardroot::ProfileCardRoot, crate::app::profilecard::ProfileCard, i32, crate::app::profilecardcommentmenu::ProfileCardCommentMenu_DisposeEventHandler)` — overload selector"]
214    pub fn new(
215        super_: crate::app::procinst::ProcInst,
216        message_select_menu_content: crate::app::profilecardmessageselectmenucontent::ProfileCardMessageSelectMenuContent,
217        message_list_menu_content: crate::app::profilecardmessagelistmenucontent::ProfileCardMessageListMenuContent,
218        profile_card_root: crate::app::profilecardroot::ProfileCardRoot,
219        profile_card: crate::app::profilecard::ProfileCard,
220        initial_index: i32,
221        dispose_event_handler: crate::app::profilecardcommentmenu::ProfileCardCommentMenu_DisposeEventHandler,
222    ) -> Self {
223        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
224            panic!(
225                "{}
226::{}
227 failed to instantiate",
228                ::core::stringify!(ProfileCardCommentMenu),
229                ::core::stringify!(new),
230            )
231        });
232        <Self as IProfileCardCommentMenuMethods>::ctor(
233            this,
234            super_,
235            message_select_menu_content,
236            message_list_menu_content,
237            profile_card_root,
238            profile_card,
239            initial_index,
240            dispose_event_handler,
241        );
242        this
243    }
244}
245
246#[cfg(feature = "app-profilecardcommentmenu")]
247#[doc(hidden)]
248pub mod prelude {
249    pub use super::{
250        IProfileCardCommentMenu, IProfileCardCommentMenuMethods, IProfileCardCommentMenu_DisposeEventHandler,
251        IProfileCardCommentMenu_DisposeEventHandlerMethods, ProfileCardCommentMenu, ProfileCardCommentMenu_DisposeEventHandler,
252    };
253    #[cfg(feature = "app-procinst")]
254    pub use crate::app::procinst::IProcInstMethods;
255    #[cfg(feature = "system-delegate")]
256    pub use crate::system::delegate::IDelegateMethods;
257    #[cfg(feature = "system-multicastdelegate")]
258    pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
259    #[cfg(feature = "system-object")]
260    pub use crate::system::object::IObjectMethods;
261    pub use crate::{
262        app::procinst::IProcInst,
263        system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject},
264    };
265}