engage/generated/app/
typename.rs1#[cfg(feature = "app-typename-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/typename/TypeName.md"))]
11 #[::unity::class(namespace = "App", name = "TypeName")]
12 #[parent(crate::system::object::Object)]
13 pub struct TypeName {}
14}
15
16#[cfg(feature = "app-typename-types")]
17pub use __types::*;
18
19#[cfg(feature = "app-typename")]
20impl TypeName {
21 #[doc = "`get_GameMode()` overload"]
22 pub fn get_game_mode() -> ::unity::Il2CppString {
23 unsafe {
24 ::unity::il2cpp_call!((::unity::module_base()+0x1a03060usize)as*mut u8, ::unity::Il2CppString;
25 )
26 }
27 }
28
29 #[doc = "`get_Difficulty()` overload"]
30 pub fn get_difficulty() -> ::unity::Il2CppString {
31 unsafe {
32 ::unity::il2cpp_call!((::unity::module_base()+0x1a03150usize)as*mut u8, ::unity::Il2CppString;
33 )
34 }
35 }
36
37 #[doc = "`get_GrowMode()` overload"]
38 pub fn get_grow_mode() -> ::unity::Il2CppString {
39 unsafe {
40 ::unity::il2cpp_call!((::unity::module_base()+0x1a03240usize)as*mut u8, ::unity::Il2CppString;
41 )
42 }
43 }
44
45 #[doc = "`get_Gender()` overload"]
46 pub fn get_gender() -> ::unity::Il2CppString {
47 unsafe {
48 ::unity::il2cpp_call!((::unity::module_base()+0x1a03330usize)as*mut u8, ::unity::Il2CppString;
49 )
50 }
51 }
52}
53
54#[cfg(feature = "app-typename")]
55impl TypeName {
56 pub fn get_game_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
57 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
58 }
59
60 pub fn get_difficulty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
61 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
62 }
63
64 pub fn get_grow_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
65 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
66 }
67
68 pub fn get_gender_method_info() -> &'static ::unity::il2cpp::MethodInfo {
69 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
70 }
71}
72
73#[cfg(feature = "app-typename")]
74#[doc(hidden)]
75pub mod prelude {
76 pub use super::{ITypeName, TypeName};
77 pub use crate::system::object::IObject;
78 #[cfg(feature = "system-object")]
79 pub use crate::system::object::IObjectMethods;
80}