engage/generated/tm_pro/
tmp_fontutilities.rs1#[cfg(feature = "tm_pro-tmp_fontutilities-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/tm_pro/tmp_fontutilities/TMP_FontUtilities.md"))]
11 #[::unity::class(namespace = "TMPro", name = "TMP_FontUtilities")]
12 #[parent(crate::system::object::Object)]
13 pub struct TMP_FontUtilities {
14 #[static_field]
15 #[rename(name = "k_searchedFontAssets")]
16 pub k_searched_font_assets: crate::system::collections::generic::list_1::List_1<i32>,
17 }
18}
19
20#[cfg(feature = "tm_pro-tmp_fontutilities-types")]
21pub use __types::*;
22
23#[cfg(feature = "tm_pro-tmp_fontutilities")]
24impl TMP_FontUtilities {
25 #[doc = "`SearchForCharacter(crate::tm_pro::tmp_fontasset::TMP_FontAsset, u32, *mutcrate::tm_pro::tmp_character::TMP_Character)` overload"]
26 pub fn search_for_character(
27 font: impl ::core::convert::Into<crate::tm_pro::tmp_fontasset::TMP_FontAsset>,
28 unicode: impl ::core::convert::Into<u32>,
29 ) -> (crate::tm_pro::tmp_fontasset::TMP_FontAsset, crate::tm_pro::tmp_character::TMP_Character) {
30 unsafe {
31 let mut __out_0 = ::core::mem::MaybeUninit::<crate::tm_pro::tmp_character::TMP_Character>::uninit();
32 let __ret = {
33 ::unity::il2cpp_call!((::unity::module_base()+0x33a26c0usize)as*mut u8,crate::tm_pro::tmp_fontasset::TMP_FontAsset;
34(crate::tm_pro::tmp_fontasset::TMP_FontAsset)::core::convert::Into::into(font),(u32)::core::convert::Into::into(unicode),(*mut crate::tm_pro::tmp_character::TMP_Character)__out_0.as_mut_ptr())
35 };
36 (__ret, __out_0.assume_init())
37 }
38 }
39
40 #[doc = "`SearchForCharacter(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>, u32, *mutcrate::tm_pro::tmp_character::TMP_Character)` overload"]
41 pub fn search_for_character_2(
42 fonts: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>>,
43 unicode: impl ::core::convert::Into<u32>,
44 ) -> (crate::tm_pro::tmp_fontasset::TMP_FontAsset, crate::tm_pro::tmp_character::TMP_Character) {
45 unsafe {
46 let mut __out_0 = ::core::mem::MaybeUninit::<crate::tm_pro::tmp_character::TMP_Character>::uninit();
47 let __ret = {
48 ::unity::il2cpp_call!((::unity::module_base()+0x33a2a00usize)as*mut u8,crate::tm_pro::tmp_fontasset::TMP_FontAsset;
49(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>)::core::convert::Into::into(fonts),(u32)::core::convert::Into::into(unicode),(*mut crate::tm_pro::tmp_character::TMP_Character)__out_0.as_mut_ptr())
50 };
51 (__ret, __out_0.assume_init())
52 }
53 }
54
55 #[doc = "`SearchForCharacterInternal(crate::tm_pro::tmp_fontasset::TMP_FontAsset, u32, *mutcrate::tm_pro::tmp_character::TMP_Character)` overload"]
56 pub fn search_for_character_internal(
57 font: impl ::core::convert::Into<crate::tm_pro::tmp_fontasset::TMP_FontAsset>,
58 unicode: impl ::core::convert::Into<u32>,
59 ) -> (crate::tm_pro::tmp_fontasset::TMP_FontAsset, crate::tm_pro::tmp_character::TMP_Character) {
60 unsafe {
61 let mut __out_0 = ::core::mem::MaybeUninit::<crate::tm_pro::tmp_character::TMP_Character>::uninit();
62 let __ret = {
63 ::unity::il2cpp_call!((::unity::module_base()+0x33a27b0usize)as*mut u8,crate::tm_pro::tmp_fontasset::TMP_FontAsset;
64(crate::tm_pro::tmp_fontasset::TMP_FontAsset)::core::convert::Into::into(font),(u32)::core::convert::Into::into(unicode),(*mut crate::tm_pro::tmp_character::TMP_Character)__out_0.as_mut_ptr())
65 };
66 (__ret, __out_0.assume_init())
67 }
68 }
69
70 #[doc = "`SearchForCharacterInternal(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>, u32, *mutcrate::tm_pro::tmp_character::TMP_Character)` overload"]
71 pub fn search_for_character_internal_2(
72 fonts: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>>,
73 unicode: impl ::core::convert::Into<u32>,
74 ) -> (crate::tm_pro::tmp_fontasset::TMP_FontAsset, crate::tm_pro::tmp_character::TMP_Character) {
75 unsafe {
76 let mut __out_0 = ::core::mem::MaybeUninit::<crate::tm_pro::tmp_character::TMP_Character>::uninit();
77 let __ret = {
78 ::unity::il2cpp_call!((::unity::module_base()+0x33a2a10usize)as*mut u8,crate::tm_pro::tmp_fontasset::TMP_FontAsset;
79(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>)::core::convert::Into::into(fonts),(u32)::core::convert::Into::into(unicode),(*mut crate::tm_pro::tmp_character::TMP_Character)__out_0.as_mut_ptr())
80 };
81 (__ret, __out_0.assume_init())
82 }
83 }
84}
85
86#[cfg(feature = "tm_pro-tmp_fontutilities")]
87impl TMP_FontUtilities {
88 pub fn search_for_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
89 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
90 }
91
92 pub fn search_for_character_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
93 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
94 }
95
96 pub fn search_for_character_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
97 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
98 }
99
100 pub fn search_for_character_internal_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
101 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
102 }
103}
104
105#[cfg(feature = "tm_pro-tmp_fontutilities")]
106#[doc(hidden)]
107pub mod prelude {
108 pub use super::{ITMP_FontUtilities, TMP_FontUtilities};
109 pub use crate::system::object::IObject;
110 #[cfg(feature = "system-object")]
111 pub use crate::system::object::IObjectMethods;
112}