engage/generated/app/
commonrewarddialog.rs1#[cfg(feature = "app-commonrewarddialog-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/app/commonrewarddialog/CommonRewardDialog.md"))]
11 #[::unity::class(namespace = "App", name = "CommonRewardDialog")]
12 #[parent(crate::system::object::Object)]
13 pub struct CommonRewardDialog {}
14}
15
16#[cfg(feature = "app-commonrewarddialog-types")]
17pub use __types::*;
18
19#[cfg(feature = "app-commonrewarddialog")]
20impl CommonRewardDialog {
21 #[doc = "`CreateBind(crate::app::procinst::ProcInst, ::unity::Il2CppString, crate::system::collections::generic::dictionary_2::Dictionary_2<crate::app::itemdata::ItemData,i32>, i32)` overload"]
22 pub fn create_bind(
23 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
24 title_text: impl ::core::convert::Into<::unity::Il2CppString>,
25 item_param_list: impl ::core::convert::Into<crate::system::collections::generic::dictionary_2::Dictionary_2<crate::app::itemdata::ItemData, i32>>,
26 money: impl ::core::convert::Into<i32>,
27 ) -> () {
28 unsafe {
29 ::unity::il2cpp_call!((::unity::module_base()+0x252ff50usize)as*mut u8,();
30(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(::unity::Il2CppString)::core::convert::Into::into(title_text),(crate::system::collections::generic::dictionary_2::Dictionary_2<crate::app::itemdata::ItemData,i32>)::core::convert::Into::into(item_param_list),(i32)::core::convert::Into::into(money))
31 }
32 }
33}
34
35#[cfg(feature = "app-commonrewarddialog")]
36pub trait ICommonRewardDialogMethods: ICommonRewardDialog {
37 #[doc = "`.ctor()` overload"]
38 fn ctor(self) -> () {
39 unsafe {
40 let __receiver = <CommonRewardDialog as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
41 ::unity::il2cpp_call!((::unity::module_base()+0x25305d0usize)as*mut u8,();
42(CommonRewardDialog)__receiver)
43 }
44 }
45}
46
47#[cfg(feature = "app-commonrewarddialog")]
48impl<__T: ICommonRewardDialog> ICommonRewardDialogMethods for __T {}
49
50#[cfg(feature = "app-commonrewarddialog")]
51impl CommonRewardDialog {
52 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
53 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
54 }
55
56 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
57 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
58 }
59}
60
61#[cfg(feature = "app-commonrewarddialog")]
62impl CommonRewardDialog {
63 #[doc = "`.ctor()` — no args"]
64 pub fn new() -> Self {
65 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
66 panic!(
67 "{}
68::{}
69 failed to instantiate",
70 ::core::stringify!(CommonRewardDialog),
71 ::core::stringify!(new),
72 )
73 });
74 <Self as ICommonRewardDialogMethods>::ctor(this);
75 this
76 }
77}
78
79#[cfg(feature = "app-commonrewarddialog")]
80#[doc(hidden)]
81pub mod prelude {
82 pub use super::{CommonRewardDialog, ICommonRewardDialog, ICommonRewardDialogMethods};
83 pub use crate::system::object::IObject;
84 #[cfg(feature = "system-object")]
85 pub use crate::system::object::IObjectMethods;
86}