engage/generated/app/
godweaponrefineresult.rs1#[cfg(feature = "app-godweaponrefineresult-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/godweaponrefineresult/GodWeaponRefineResult.md"))]
11 #[::unity::class(namespace = "App", name = "GodWeaponRefineResult")]
12 #[parent(crate::system::object::Object)]
13 pub struct GodWeaponRefineResult {
14 #[offset(16)]
15 #[rename(name = "m_Enhance")]
16 pub m_enhance: crate::app::capabilitysbyte::CapabilitySbyte,
17 #[offset(24)]
18 #[rename(name = "m_EquipSkills")]
19 pub m_equip_skills: crate::app::skillarray::SkillArray,
20 #[offset(32)]
21 #[rename(name = "m_EnchantSkills")]
22 pub m_enchant_skills: crate::app::skillarray::SkillArray,
23 }
24}
25
26#[cfg(feature = "app-godweaponrefineresult-types")]
27pub use __types::*;
28
29#[cfg(feature = "app-godweaponrefineresult")]
30pub trait IGodWeaponRefineResultMethods: IGodWeaponRefineResult {
31 #[doc = "`.ctor()` overload"]
32 fn ctor(self) -> () {
33 unsafe {
34 let __receiver = <GodWeaponRefineResult as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
35 ::unity::il2cpp_call!((::unity::module_base()+0x2343ab0usize)as*mut u8,();
36(GodWeaponRefineResult)__receiver)
37 }
38 }
39 #[doc = "`Clear()` overload"]
40 fn clear(self) -> () {
41 unsafe {
42 let __receiver = <GodWeaponRefineResult as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43 ::unity::il2cpp_call!((::unity::module_base()+0x23490b0usize)as*mut u8,();
44(GodWeaponRefineResult)__receiver)
45 }
46 }
47 #[doc = "`CopyFrom(crate::app::godweaponrefineresult::GodWeaponRefineResult)` overload"]
48 fn copy_from(self, from: impl ::core::convert::Into<crate::app::godweaponrefineresult::GodWeaponRefineResult>) -> () {
49 unsafe {
50 let __receiver = <GodWeaponRefineResult as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51 ::unity::il2cpp_call!((::unity::module_base()+0x2344db0usize)as*mut u8,();
52(GodWeaponRefineResult)__receiver,(crate::app::godweaponrefineresult::GodWeaponRefineResult)::core::convert::Into::into(from))
53 }
54 }
55}
56
57#[cfg(feature = "app-godweaponrefineresult")]
58impl<__T: IGodWeaponRefineResult> IGodWeaponRefineResultMethods for __T {}
59
60#[cfg(feature = "app-godweaponrefineresult")]
61impl GodWeaponRefineResult {
62 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
63 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
64 }
65
66 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
67 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
68 }
69
70 pub fn copy_from_method_info() -> &'static ::unity::il2cpp::MethodInfo {
71 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
72 }
73}
74
75#[cfg(feature = "app-godweaponrefineresult")]
76impl GodWeaponRefineResult {
77 #[doc = "`.ctor()` — no args"]
78 pub fn new() -> Self {
79 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
80 panic!(
81 "{}
82::{}
83 failed to instantiate",
84 ::core::stringify!(GodWeaponRefineResult),
85 ::core::stringify!(new),
86 )
87 });
88 <Self as IGodWeaponRefineResultMethods>::ctor(this);
89 this
90 }
91}
92
93#[cfg(feature = "app-godweaponrefineresult")]
94#[doc(hidden)]
95pub mod prelude {
96 pub use super::{GodWeaponRefineResult, IGodWeaponRefineResult, IGodWeaponRefineResultMethods};
97 pub use crate::system::object::IObject;
98 #[cfg(feature = "system-object")]
99 pub use crate::system::object::IObjectMethods;
100}