engage/generated/app/
godweaponrefinelevels.rs1#[cfg(feature = "app-godweaponrefinelevels-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/godweaponrefinelevels/GodWeaponRefineLevels.md"))]
11 #[::unity::class(namespace = "App", name = "GodWeaponRefineLevels")]
12 #[parent(crate::system::object::Object)]
13 pub struct GodWeaponRefineLevels {
14 #[offset(16)]
15 #[rename(name = "m_Capacity")]
16 pub m_capacity: u8,
17 #[offset(17)]
18 #[rename(name = "m_Power")]
19 pub m_power: u8,
20 #[offset(18)]
21 #[rename(name = "m_Hit")]
22 pub m_hit: u8,
23 #[offset(19)]
24 #[rename(name = "m_Critical")]
25 pub m_critical: u8,
26 #[offset(20)]
27 #[rename(name = "m_Avoid")]
28 pub m_avoid: u8,
29 #[offset(21)]
30 #[rename(name = "m_Secure")]
31 pub m_secure: u8,
32 #[offset(22)]
33 #[rename(name = "m_Tech")]
34 pub m_tech: u8,
35 #[offset(23)]
36 #[rename(name = "m_Quick")]
37 pub m_quick: u8,
38 #[offset(24)]
39 #[rename(name = "m_Def")]
40 pub m_def: u8,
41 #[offset(25)]
42 #[rename(name = "m_Mdef")]
43 pub m_mdef: u8,
44 #[offset(32)]
45 #[rename(name = "m_Sid")]
46 pub m_sid: ::unity::Il2CppString,
47 }
48}
49
50#[cfg(feature = "app-godweaponrefinelevels-types")]
51pub use __types::*;
52
53#[cfg(feature = "app-godweaponrefinelevels")]
54pub trait IGodWeaponRefineLevelsMethods: IGodWeaponRefineLevels {
55 #[doc = "`.ctor()` overload"]
56 fn ctor(self) -> () {
57 unsafe {
58 let __receiver = <GodWeaponRefineLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59 ::unity::il2cpp_call!((::unity::module_base()+0x2343a70usize)as*mut u8,();
60(GodWeaponRefineLevels)__receiver)
61 }
62 }
63 #[doc = "`Clear()` overload"]
64 fn clear(self) -> () {
65 unsafe {
66 let __receiver = <GodWeaponRefineLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67 ::unity::il2cpp_call!((::unity::module_base()+0x2344980usize)as*mut u8,();
68(GodWeaponRefineLevels)__receiver)
69 }
70 }
71 #[doc = "`CopyFrom(crate::app::godweaponrefinelevels::GodWeaponRefineLevels)` overload"]
72 fn copy_from(self, from: impl ::core::convert::Into<crate::app::godweaponrefinelevels::GodWeaponRefineLevels>) -> () {
73 unsafe {
74 let __receiver = <GodWeaponRefineLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 ::unity::il2cpp_call!((::unity::module_base()+0x2344d50usize)as*mut u8,();
76(GodWeaponRefineLevels)__receiver,(crate::app::godweaponrefinelevels::GodWeaponRefineLevels)::core::convert::Into::into(from))
77 }
78 }
79}
80
81#[cfg(feature = "app-godweaponrefinelevels")]
82impl<__T: IGodWeaponRefineLevels> IGodWeaponRefineLevelsMethods for __T {}
83
84#[cfg(feature = "app-godweaponrefinelevels")]
85impl GodWeaponRefineLevels {
86 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
87 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
88 }
89
90 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
91 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
92 }
93
94 pub fn copy_from_method_info() -> &'static ::unity::il2cpp::MethodInfo {
95 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
96 }
97}
98
99#[cfg(feature = "app-godweaponrefinelevels")]
100impl GodWeaponRefineLevels {
101 #[doc = "`.ctor()` — no args"]
102 pub fn new() -> Self {
103 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
104 panic!(
105 "{}
106::{}
107 failed to instantiate",
108 ::core::stringify!(GodWeaponRefineLevels),
109 ::core::stringify!(new),
110 )
111 });
112 <Self as IGodWeaponRefineLevelsMethods>::ctor(this);
113 this
114 }
115}
116
117#[cfg(feature = "app-godweaponrefinelevels")]
118#[doc(hidden)]
119pub mod prelude {
120 pub use super::{GodWeaponRefineLevels, IGodWeaponRefineLevels, IGodWeaponRefineLevelsMethods};
121 pub use crate::system::object::IObject;
122 #[cfg(feature = "system-object")]
123 pub use crate::system::object::IObjectMethods;
124}