Skip to main content

engage/generated/app/
godinheritedskills.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-godinheritedskills-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/godinheritedskills/GodInheritedSkills.md"))]
11    #[::unity::class(namespace = "App", name = "GodInheritedSkills")]
12    #[parent(crate::system::object::Object)]
13    pub struct GodInheritedSkills {
14        #[static_field]
15        #[rename(name = "Version")]
16        pub version: i32,
17        #[offset(16)]
18        #[rename(name = "m_Sids")]
19        pub m_sids: crate::system::collections::generic::hashset_1::HashSet_1<i32>,
20    }
21}
22
23#[cfg(feature = "app-godinheritedskills-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-godinheritedskills")]
27pub trait IGodInheritedSkillsMethods: IGodInheritedSkills {
28    #[doc = "`Add(crate::app::skilldata::SkillData)` overload"]
29    fn add(self, skill: impl ::core::convert::Into<crate::app::skilldata::SkillData>) -> () {
30        unsafe {
31            let __receiver = <GodInheritedSkills as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
32            ::unity::il2cpp_call!((::unity::module_base()+0x23333d0usize)as*mut u8,();
33(GodInheritedSkills)__receiver,(crate::app::skilldata::SkillData)::core::convert::Into::into(skill))
34        }
35    }
36    #[doc = "`Remove(crate::app::skilldata::SkillData)` overload"]
37    fn remove(self, skill: impl ::core::convert::Into<crate::app::skilldata::SkillData>) -> () {
38        unsafe {
39            let __receiver = <GodInheritedSkills as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
40            ::unity::il2cpp_call!((::unity::module_base()+0x2333430usize)as*mut u8,();
41(GodInheritedSkills)__receiver,(crate::app::skilldata::SkillData)::core::convert::Into::into(skill))
42        }
43    }
44    #[doc = "`Clear()` overload"]
45    fn clear(self) -> () {
46        unsafe {
47            let __receiver = <GodInheritedSkills as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
48            ::unity::il2cpp_call!((::unity::module_base()+0x2333490usize)as*mut u8,();
49(GodInheritedSkills)__receiver)
50        }
51    }
52    #[doc = "`Has(crate::app::skilldata::SkillData)` overload"]
53    fn has(self, skill: impl ::core::convert::Into<crate::app::skilldata::SkillData>) -> bool {
54        unsafe {
55            let __receiver = <GodInheritedSkills as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
56            ::unity::il2cpp_call!((::unity::module_base()+0x23334f0usize)as*mut u8,bool;
57(GodInheritedSkills)__receiver,(crate::app::skilldata::SkillData)::core::convert::Into::into(skill))
58        }
59    }
60    #[doc = "`get_Count()` overload"]
61    fn get_count(self) -> i32 {
62        unsafe {
63            let __receiver = <GodInheritedSkills as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
64            ::unity::il2cpp_call!((::unity::module_base()+0x2333550usize)as*mut u8,i32;
65(GodInheritedSkills)__receiver)
66        }
67    }
68    #[doc = "`Serialize(crate::app::stream_2::Stream_2)` overload"]
69    fn serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
70        unsafe {
71            let __receiver = <GodInheritedSkills as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
72            ::unity::il2cpp_call!((::unity::module_base()+0x23335a0usize)as*mut u8,();
73(GodInheritedSkills)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
74        }
75    }
76    #[doc = "`Deserialize(crate::app::stream_2::Stream_2)` overload"]
77    fn deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
78        unsafe {
79            let __receiver = <GodInheritedSkills as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80            ::unity::il2cpp_call!((::unity::module_base()+0x2333700usize)as*mut u8,();
81(GodInheritedSkills)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
82        }
83    }
84    #[doc = "`.ctor()` overload"]
85    fn ctor(self) -> () {
86        unsafe {
87            let __receiver = <GodInheritedSkills as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
88            ::unity::il2cpp_call!((::unity::module_base()+0x2333be0usize)as*mut u8,();
89(GodInheritedSkills)__receiver)
90        }
91    }
92}
93
94#[cfg(feature = "app-godinheritedskills")]
95impl<__T: IGodInheritedSkills> IGodInheritedSkillsMethods for __T {}
96
97#[cfg(feature = "app-godinheritedskills")]
98impl GodInheritedSkills {
99    pub fn add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
100        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
101    }
102
103    pub fn remove_method_info() -> &'static ::unity::il2cpp::MethodInfo {
104        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
105    }
106
107    pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
108        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
109    }
110
111    pub fn has_method_info() -> &'static ::unity::il2cpp::MethodInfo {
112        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
113    }
114
115    pub fn get_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
116        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
117    }
118
119    pub fn serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
120        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
121    }
122
123    pub fn deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
124        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
125    }
126
127    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
128        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
129    }
130}
131
132#[cfg(feature = "app-godinheritedskills")]
133impl GodInheritedSkills {
134    #[doc = "`.ctor()` — no args"]
135    pub fn new() -> Self {
136        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
137            panic!(
138                "{}
139::{}
140 failed to instantiate",
141                ::core::stringify!(GodInheritedSkills),
142                ::core::stringify!(new),
143            )
144        });
145        <Self as IGodInheritedSkillsMethods>::ctor(this);
146        this
147    }
148}
149
150#[cfg(feature = "app-godinheritedskills")]
151#[doc(hidden)]
152pub mod prelude {
153    pub use super::{GodInheritedSkills, IGodInheritedSkills, IGodInheritedSkillsMethods};
154    pub use crate::system::object::IObject;
155    #[cfg(feature = "system-object")]
156    pub use crate::system::object::IObjectMethods;
157}