engage/generated/app/
playreportmanager.rs1#[cfg(feature = "app-playreportmanager-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/playreportmanager/PlayReportManager.md"))]
11 #[::unity::class(namespace = "App", name = "PlayReportManager")]
12 #[parent(crate::system::object::Object)]
13 pub struct PlayReportManager {
14 #[static_field]
15 #[rename(name = "s_ReportCommon")]
16 pub s_report_common: crate::app::playreportcommon::PlayReportCommon,
17 #[static_field]
18 #[rename(name = "s_ReportID")]
19 pub s_report_id: u64,
20 #[static_field]
21 #[rename(name = "s_ReportValue")]
22 pub s_report_value: u64,
23 }
24}
25
26#[cfg(feature = "app-playreportmanager-types")]
27pub use __types::*;
28
29#[cfg(feature = "app-playreportmanager")]
30impl PlayReportManager {
31 #[doc = "`Initialize()` overload"]
32 pub fn initialize() -> () {
33 unsafe {
34 ::unity::il2cpp_call!((::unity::module_base()+0x2813b00usize)as*mut u8,();
35 )
36 }
37 }
38
39 #[doc = "`ReportChapterClear()` overload"]
40 pub fn report_chapter_clear() -> () {
41 unsafe {
42 ::unity::il2cpp_call!((::unity::module_base()+0x2813d00usize)as*mut u8,();
43 )
44 }
45 }
46
47 #[doc = "`ReportSortie()` overload"]
48 pub fn report_sortie() -> () {
49 unsafe {
50 ::unity::il2cpp_call!((::unity::module_base()+0x2813f30usize)as*mut u8,();
51 )
52 }
53 }
54
55 #[doc = "`RequestImmediateTransmission()` overload"]
56 pub fn request_immediate_transmission() -> () {
57 unsafe {
58 ::unity::il2cpp_call!((::unity::module_base()+0x2813fe0usize)as*mut u8,();
59 )
60 }
61 }
62
63 #[doc = "`GetReportID()` overload"]
64 pub fn get_report_id() -> u64 {
65 unsafe {
66 ::unity::il2cpp_call!((::unity::module_base()+0x2814030usize)as*mut u8,u64;
67 )
68 }
69 }
70
71 #[doc = "`UpdateReportID()` overload"]
72 pub fn update_report_id() -> () {
73 unsafe {
74 ::unity::il2cpp_call!((::unity::module_base()+0x2813db0usize)as*mut u8,();
75 )
76 }
77 }
78
79 #[doc = "`.cctor()` overload"]
80 pub fn cctor() -> () {
81 unsafe {
82 ::unity::il2cpp_call!((::unity::module_base()+0x28140b0usize)as*mut u8,();
83 )
84 }
85 }
86}
87
88#[cfg(feature = "app-playreportmanager")]
89pub trait IPlayReportManagerMethods: IPlayReportManager {
90 #[doc = "`.ctor()` overload"]
91 fn ctor(self) -> () {
92 unsafe {
93 let __receiver = <PlayReportManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
94 ::unity::il2cpp_call!((::unity::module_base()+0x28140a0usize)as*mut u8,();
95(PlayReportManager)__receiver)
96 }
97 }
98}
99
100#[cfg(feature = "app-playreportmanager")]
101impl<__T: IPlayReportManager> IPlayReportManagerMethods for __T {}
102
103#[cfg(feature = "app-playreportmanager")]
104impl PlayReportManager {
105 pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
106 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
107 }
108
109 pub fn report_chapter_clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
110 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
111 }
112
113 pub fn report_sortie_method_info() -> &'static ::unity::il2cpp::MethodInfo {
114 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
115 }
116
117 pub fn request_immediate_transmission_method_info() -> &'static ::unity::il2cpp::MethodInfo {
118 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
119 }
120
121 pub fn get_report_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
122 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
123 }
124
125 pub fn update_report_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
126 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
127 }
128
129 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
130 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
131 }
132
133 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
134 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
135 }
136}
137
138#[cfg(feature = "app-playreportmanager")]
139impl PlayReportManager {
140 #[doc = "`.ctor()` — no args"]
141 pub fn new() -> Self {
142 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
143 panic!(
144 "{}
145::{}
146 failed to instantiate",
147 ::core::stringify!(PlayReportManager),
148 ::core::stringify!(new),
149 )
150 });
151 <Self as IPlayReportManagerMethods>::ctor(this);
152 this
153 }
154}
155
156#[cfg(feature = "app-playreportmanager")]
157#[doc(hidden)]
158pub mod prelude {
159 pub use super::{IPlayReportManager, IPlayReportManagerMethods, PlayReportManager};
160 pub use crate::system::object::IObject;
161 #[cfg(feature = "system-object")]
162 pub use crate::system::object::IObjectMethods;
163}