1#[cfg(feature = "tm_pro-tmp_fontasset-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::object::{IObject, Object},
10 tm_pro::tmp_asset::{ITMP_Asset, TMP_Asset},
11 unity_engine::{
12 object_2::{IObject_2, Object_2},
13 scriptableobject::{IScriptableObject, ScriptableObject},
14 },
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/tm_pro/tmp_fontasset/TMP_FontAsset.md"))]
18 #[::unity::class(namespace = "TMPro", name = "TMP_FontAsset")]
19 #[parent(crate::tm_pro::tmp_asset::TMP_Asset)]
20 pub struct TMP_FontAsset {
21 #[offset(48)]
22 #[rename(name = "m_Version")]
23 pub m_version: ::unity::Il2CppString,
24 #[offset(56)]
25 #[rename(name = "m_SourceFontFileGUID")]
26 pub m_source_font_file_guid: ::unity::Il2CppString,
27 #[offset(64)]
28 #[rename(name = "m_SourceFontFile")]
29 pub m_source_font_file: crate::unity_engine::font::Font,
30 #[offset(72)]
31 #[rename(name = "m_AtlasPopulationMode")]
32 pub m_atlas_population_mode: crate::tm_pro::atlaspopulationmode::AtlasPopulationMode,
33 #[offset(80)]
34 #[rename(name = "m_FaceInfo")]
35 pub m_face_info: crate::unity_engine::text_core::faceinfo::FaceInfo,
36 #[offset(176)]
37 #[rename(name = "m_GlyphTable")]
38 pub m_glyph_table: crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyph::Glyph>,
39 #[offset(184)]
40 #[rename(name = "m_GlyphLookupDictionary")]
41 pub m_glyph_lookup_dictionary:
42 crate::system::collections::generic::dictionary_2::Dictionary_2<u32, crate::unity_engine::text_core::glyph::Glyph>,
43 #[offset(192)]
44 #[rename(name = "m_CharacterTable")]
45 pub m_character_table: crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_character::TMP_Character>,
46 #[offset(200)]
47 #[rename(name = "m_CharacterLookupDictionary")]
48 pub m_character_lookup_dictionary:
49 crate::system::collections::generic::dictionary_2::Dictionary_2<u32, crate::tm_pro::tmp_character::TMP_Character>,
50 #[offset(208)]
51 #[rename(name = "m_AtlasTexture")]
52 pub m_atlas_texture: crate::unity_engine::texture2d::Texture2D,
53 #[offset(216)]
54 #[rename(name = "m_AtlasTextures")]
55 pub m_atlas_textures: ::unity::Array<crate::unity_engine::texture2d::Texture2D>,
56 #[offset(224)]
57 #[rename(name = "m_AtlasTextureIndex")]
58 pub m_atlas_texture_index: i32,
59 #[offset(228)]
60 #[rename(name = "m_IsMultiAtlasTexturesEnabled")]
61 pub m_is_multi_atlas_textures_enabled: bool,
62 #[offset(229)]
63 #[rename(name = "m_ClearDynamicDataOnBuild")]
64 pub m_clear_dynamic_data_on_build: bool,
65 #[offset(232)]
66 #[rename(name = "m_UsedGlyphRects")]
67 pub m_used_glyph_rects: crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect>,
68 #[offset(240)]
69 #[rename(name = "m_FreeGlyphRects")]
70 pub m_free_glyph_rects: crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect>,
71 #[offset(248)]
72 #[rename(name = "m_fontInfo")]
73 pub m_font_info: crate::tm_pro::faceinfo_legacy::FaceInfo_Legacy,
74 #[offset(256)]
75 #[rename(name = "atlas")]
76 pub atlas: crate::unity_engine::texture2d::Texture2D,
77 #[offset(264)]
78 #[rename(name = "m_AtlasWidth")]
79 pub m_atlas_width: i32,
80 #[offset(268)]
81 #[rename(name = "m_AtlasHeight")]
82 pub m_atlas_height: i32,
83 #[offset(272)]
84 #[rename(name = "m_AtlasPadding")]
85 pub m_atlas_padding: i32,
86 #[offset(276)]
87 #[rename(name = "m_AtlasRenderMode")]
88 pub m_atlas_render_mode: crate::unity_engine::text_core::low_level::glyphrendermode::GlyphRenderMode,
89 #[offset(280)]
90 #[rename(name = "m_glyphInfoList")]
91 pub m_glyph_info_list: crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_glyph::TMP_Glyph>,
92 #[offset(288)]
93 #[rename(name = "m_KerningTable")]
94 pub m_kerning_table: crate::tm_pro::kerningtable::KerningTable,
95 #[offset(296)]
96 #[rename(name = "m_FontFeatureTable")]
97 pub m_font_feature_table: crate::tm_pro::tmp_fontfeaturetable::TMP_FontFeatureTable,
98 #[offset(304)]
99 #[rename(name = "fallbackFontAssets")]
100 pub fallback_font_assets: crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>,
101 #[offset(312)]
102 #[rename(name = "m_FallbackFontAssetTable")]
103 pub m_fallback_font_asset_table: crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>,
104 #[offset(320)]
105 #[rename(name = "m_CreationSettings")]
106 pub m_creation_settings: crate::tm_pro::fontassetcreationsettings::FontAssetCreationSettings,
107 #[offset(408)]
108 #[rename(name = "m_FontWeightTable")]
109 pub m_font_weight_table: ::unity::Array<crate::tm_pro::tmp_fontweightpair::TMP_FontWeightPair>,
110 #[offset(416)]
111 #[rename(name = "fontWeights")]
112 pub font_weights: ::unity::Array<crate::tm_pro::tmp_fontweightpair::TMP_FontWeightPair>,
113 #[offset(424)]
114 #[rename(name = "normalStyle")]
115 pub normal_style: f32,
116 #[offset(428)]
117 #[rename(name = "normalSpacingOffset")]
118 pub normal_spacing_offset: f32,
119 #[offset(432)]
120 #[rename(name = "boldStyle")]
121 pub bold_style: f32,
122 #[offset(436)]
123 #[rename(name = "boldSpacing")]
124 pub bold_spacing: f32,
125 #[offset(440)]
126 #[rename(name = "italicStyle")]
127 pub italic_style: u8,
128 #[offset(441)]
129 #[rename(name = "tabSize")]
130 pub tab_size: u8,
131 #[offset(442)]
132 #[rename(name = "IsFontAssetLookupTablesDirty")]
133 pub is_font_asset_lookup_tables_dirty: bool,
134 #[static_field]
135 #[rename(name = "s_DefaultMaterialSuffix")]
136 pub s_default_material_suffix: ::unity::Il2CppString,
137 #[offset(448)]
138 #[rename(name = "FallbackSearchQueryLookup")]
139 pub fallback_search_query_lookup: crate::system::collections::generic::hashset_1::HashSet_1<i32>,
140 #[static_field]
141 #[rename(name = "k_SearchedFontAssetLookup")]
142 pub k_searched_font_asset_lookup: crate::system::collections::generic::hashset_1::HashSet_1<i32>,
143 #[static_field]
144 #[rename(name = "k_FontAssets_FontFeaturesUpdateQueue")]
145 pub k_font_assets_font_features_update_queue:
146 crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>,
147 #[static_field]
148 #[rename(name = "k_FontAssets_FontFeaturesUpdateQueueLookup")]
149 pub k_font_assets_font_features_update_queue_lookup: crate::system::collections::generic::hashset_1::HashSet_1<i32>,
150 #[static_field]
151 #[rename(name = "k_FontAssets_AtlasTexturesUpdateQueue")]
152 pub k_font_assets_atlas_textures_update_queue:
153 crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>,
154 #[static_field]
155 #[rename(name = "k_FontAssets_AtlasTexturesUpdateQueueLookup")]
156 pub k_font_assets_atlas_textures_update_queue_lookup: crate::system::collections::generic::hashset_1::HashSet_1<i32>,
157 #[offset(456)]
158 #[rename(name = "m_GlyphsToRender")]
159 pub m_glyphs_to_render: crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyph::Glyph>,
160 #[offset(464)]
161 #[rename(name = "m_GlyphsRendered")]
162 pub m_glyphs_rendered: crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyph::Glyph>,
163 #[offset(472)]
164 #[rename(name = "m_GlyphIndexList")]
165 pub m_glyph_index_list: crate::system::collections::generic::list_1::List_1<u32>,
166 #[offset(480)]
167 #[rename(name = "m_GlyphIndexListNewlyAdded")]
168 pub m_glyph_index_list_newly_added: crate::system::collections::generic::list_1::List_1<u32>,
169 #[offset(488)]
170 #[rename(name = "m_GlyphsToAdd")]
171 pub m_glyphs_to_add: crate::system::collections::generic::list_1::List_1<u32>,
172 #[offset(496)]
173 #[rename(name = "m_GlyphsToAddLookup")]
174 pub m_glyphs_to_add_lookup: crate::system::collections::generic::hashset_1::HashSet_1<u32>,
175 #[offset(504)]
176 #[rename(name = "m_CharactersToAdd")]
177 pub m_characters_to_add: crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_character::TMP_Character>,
178 #[offset(512)]
179 #[rename(name = "m_CharactersToAddLookup")]
180 pub m_characters_to_add_lookup: crate::system::collections::generic::hashset_1::HashSet_1<u32>,
181 #[offset(520)]
182 #[rename(name = "s_MissingCharacterList")]
183 pub s_missing_character_list: crate::system::collections::generic::list_1::List_1<u32>,
184 #[offset(528)]
185 #[rename(name = "m_MissingUnicodesFromFontFile")]
186 pub m_missing_unicodes_from_font_file: crate::system::collections::generic::hashset_1::HashSet_1<u32>,
187 #[static_field]
188 #[rename(name = "k_GlyphIndexArray")]
189 pub k_glyph_index_array: ::unity::Array<u32>,
190 }
191}
192
193#[cfg(feature = "tm_pro-tmp_fontasset-types")]
194pub use __types::*;
195
196#[cfg(feature = "tm_pro-tmp_fontasset")]
197impl TMP_FontAsset {
198 #[doc = "`CreateFontAsset(crate::unity_engine::font::Font)` overload"]
199 pub fn create_font_asset(font: impl ::core::convert::Into<crate::unity_engine::font::Font>) -> crate::tm_pro::tmp_fontasset::TMP_FontAsset {
200 unsafe {
201 ::unity::il2cpp_call!((::unity::module_base()+0x2d97410usize)as*mut u8,crate::tm_pro::tmp_fontasset::TMP_FontAsset;
202(crate::unity_engine::font::Font)::core::convert::Into::into(font))
203 }
204 }
205
206 #[doc = "`CreateFontAsset(crate::unity_engine::font::Font, i32, i32, crate::unity_engine::text_core::low_level::glyphrendermode::GlyphRenderMode, i32, i32, crate::tm_pro::atlaspopulationmode::AtlasPopulationMode, bool)` overload"]
207 pub fn create_font_asset_2(
208 font: impl ::core::convert::Into<crate::unity_engine::font::Font>,
209 sampling_point_size: impl ::core::convert::Into<i32>,
210 atlas_padding: impl ::core::convert::Into<i32>,
211 render_mode: impl ::core::convert::Into<crate::unity_engine::text_core::low_level::glyphrendermode::GlyphRenderMode>,
212 atlas_width: impl ::core::convert::Into<i32>,
213 atlas_height: impl ::core::convert::Into<i32>,
214 atlas_population_mode: impl ::core::convert::Into<crate::tm_pro::atlaspopulationmode::AtlasPopulationMode>,
215 enable_multi_atlas_support: impl ::core::convert::Into<bool>,
216 ) -> crate::tm_pro::tmp_fontasset::TMP_FontAsset {
217 unsafe {
218 ::unity::il2cpp_call!((::unity::module_base()+0x2d974a0usize)as*mut u8,crate::tm_pro::tmp_fontasset::TMP_FontAsset;
219(crate::unity_engine::font::Font)::core::convert::Into::into(font),(i32)::core::convert::Into::into(sampling_point_size),(i32)::core::convert::Into::into(atlas_padding),(crate::unity_engine::text_core::low_level::glyphrendermode::GlyphRenderMode)::core::convert::Into::into(render_mode),(i32)::core::convert::Into::into(atlas_width),(i32)::core::convert::Into::into(atlas_height),(crate::tm_pro::atlaspopulationmode::AtlasPopulationMode)::core::convert::Into::into(atlas_population_mode),(bool)::core::convert::Into::into(enable_multi_atlas_support))
220 }
221 }
222
223 #[doc = "`GetCharacters(crate::tm_pro::tmp_fontasset::TMP_FontAsset)` overload"]
224 pub fn get_characters(font_asset: impl ::core::convert::Into<crate::tm_pro::tmp_fontasset::TMP_FontAsset>) -> ::unity::Il2CppString {
225 unsafe {
226 ::unity::il2cpp_call!((::unity::module_base()+0x2d9b430usize)as*mut u8, ::unity::Il2CppString;
227(crate::tm_pro::tmp_fontasset::TMP_FontAsset)::core::convert::Into::into(font_asset))
228 }
229 }
230
231 #[doc = "`GetCharactersArray(crate::tm_pro::tmp_fontasset::TMP_FontAsset)` overload"]
232 pub fn get_characters_array(font_asset: impl ::core::convert::Into<crate::tm_pro::tmp_fontasset::TMP_FontAsset>) -> ::unity::Array<i32> {
233 unsafe {
234 ::unity::il2cpp_call!((::unity::module_base()+0x2d9b530usize)as*mut u8, ::unity::Array<i32> ;
235(crate::tm_pro::tmp_fontasset::TMP_FontAsset)::core::convert::Into::into(font_asset))
236 }
237 }
238
239 #[doc = "`RegisterFontAssetForFontFeatureUpdate(crate::tm_pro::tmp_fontasset::TMP_FontAsset)` overload"]
240 pub fn register_font_asset_for_font_feature_update(font_asset: impl ::core::convert::Into<crate::tm_pro::tmp_fontasset::TMP_FontAsset>) -> () {
241 unsafe {
242 ::unity::il2cpp_call!((::unity::module_base()+0x2d9b750usize)as*mut u8,();
243(crate::tm_pro::tmp_fontasset::TMP_FontAsset)::core::convert::Into::into(font_asset))
244 }
245 }
246
247 #[doc = "`UpdateFontFeaturesForFontAssetsInQueue()` overload"]
248 pub fn update_font_features_for_font_assets_in_queue() -> () {
249 unsafe {
250 ::unity::il2cpp_call!((::unity::module_base()+0x2d9b850usize)as*mut u8,();
251 )
252 }
253 }
254
255 #[doc = "`RegisterFontAssetForAtlasTextureUpdate(crate::tm_pro::tmp_fontasset::TMP_FontAsset)` overload"]
256 pub fn register_font_asset_for_atlas_texture_update(font_asset: impl ::core::convert::Into<crate::tm_pro::tmp_fontasset::TMP_FontAsset>) -> () {
257 unsafe {
258 ::unity::il2cpp_call!((::unity::module_base()+0x2d9bcd0usize)as*mut u8,();
259(crate::tm_pro::tmp_fontasset::TMP_FontAsset)::core::convert::Into::into(font_asset))
260 }
261 }
262
263 #[doc = "`UpdateAtlasTexturesForFontAssetsInQueue()` overload"]
264 pub fn update_atlas_textures_for_font_assets_in_queue() -> () {
265 unsafe {
266 ::unity::il2cpp_call!((::unity::module_base()+0x2d9bdd0usize)as*mut u8,();
267 )
268 }
269 }
270
271 #[doc = "`.cctor()` overload"]
272 pub fn cctor() -> () {
273 unsafe {
274 ::unity::il2cpp_call!((::unity::module_base()+0x2d9ed80usize)as*mut u8,();
275 )
276 }
277 }
278}
279
280#[cfg(feature = "tm_pro-tmp_fontasset")]
281pub trait ITMP_FontAssetMethods: ITMP_FontAsset {
282 #[doc = "`get_version()` overload"]
283 fn get_version(self) -> ::unity::Il2CppString {
284 unsafe {
285 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
286 ::unity::il2cpp_call!((::unity::module_base()+0x2d96d50usize)as*mut u8, ::unity::Il2CppString;
287(TMP_FontAsset)__receiver)
288 }
289 }
290 #[doc = "`set_version(::unity::Il2CppString)` overload"]
291 fn set_version(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
292 unsafe {
293 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
294 ::unity::il2cpp_call!((::unity::module_base()+0x2d96d60usize)as*mut u8,();
295(TMP_FontAsset)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
296 }
297 }
298 #[doc = "`get_sourceFontFile()` overload"]
299 fn get_source_font_file(self) -> crate::unity_engine::font::Font {
300 unsafe {
301 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
302 ::unity::il2cpp_call!((::unity::module_base()+0x2d96d70usize)as*mut u8,crate::unity_engine::font::Font;
303(TMP_FontAsset)__receiver)
304 }
305 }
306 #[doc = "`set_sourceFontFile(crate::unity_engine::font::Font)` overload"]
307 fn set_source_font_file(self, value: impl ::core::convert::Into<crate::unity_engine::font::Font>) -> () {
308 unsafe {
309 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
310 ::unity::il2cpp_call!((::unity::module_base()+0x2d96d80usize)as*mut u8,();
311(TMP_FontAsset)__receiver,(crate::unity_engine::font::Font)::core::convert::Into::into(value))
312 }
313 }
314 #[doc = "`get_atlasPopulationMode()` overload"]
315 fn get_atlas_population_mode(self) -> crate::tm_pro::atlaspopulationmode::AtlasPopulationMode {
316 unsafe {
317 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
318 ::unity::il2cpp_call!((::unity::module_base()+0x2d96d90usize)as*mut u8,crate::tm_pro::atlaspopulationmode::AtlasPopulationMode;
319(TMP_FontAsset)__receiver)
320 }
321 }
322 #[doc = "`set_atlasPopulationMode(crate::tm_pro::atlaspopulationmode::AtlasPopulationMode)` overload"]
323 fn set_atlas_population_mode(self, value: impl ::core::convert::Into<crate::tm_pro::atlaspopulationmode::AtlasPopulationMode>) -> () {
324 unsafe {
325 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
326 ::unity::il2cpp_call!((::unity::module_base()+0x2d96da0usize)as*mut u8,();
327(TMP_FontAsset)__receiver,(crate::tm_pro::atlaspopulationmode::AtlasPopulationMode)::core::convert::Into::into(value))
328 }
329 }
330 #[doc = "`get_faceInfo()` overload"]
331 fn get_face_info(self) -> crate::unity_engine::text_core::faceinfo::FaceInfo {
332 unsafe {
333 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
334 ::unity::il2cpp_call!((::unity::module_base()+0x2d96db0usize)as*mut u8,crate::unity_engine::text_core::faceinfo::FaceInfo;
335(TMP_FontAsset)__receiver)
336 }
337 }
338 #[doc = "`set_faceInfo(crate::unity_engine::text_core::faceinfo::FaceInfo)` overload"]
339 fn set_face_info(self, value: impl ::core::convert::Into<crate::unity_engine::text_core::faceinfo::FaceInfo>) -> () {
340 unsafe {
341 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
342 ::unity::il2cpp_call!((::unity::module_base()+0x2d96df0usize)as*mut u8,();
343(TMP_FontAsset)__receiver,(crate::unity_engine::text_core::faceinfo::FaceInfo)::core::convert::Into::into(value))
344 }
345 }
346 #[doc = "`get_glyphTable()` overload"]
347 fn get_glyph_table(self) -> crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyph::Glyph> {
348 unsafe {
349 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
350 ::unity::il2cpp_call!((::unity::module_base()+0x2d96e20usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyph::Glyph> ;
351(TMP_FontAsset)__receiver)
352 }
353 }
354 #[doc = "`set_glyphTable(crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyph::Glyph>)` overload"]
355 fn set_glyph_table(
356 self,
357 value: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyph::Glyph>>,
358 ) -> () {
359 unsafe {
360 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
361 ::unity::il2cpp_call!((::unity::module_base()+0x2d96e30usize)as*mut u8,();
362(TMP_FontAsset)__receiver,(crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyph::Glyph>)::core::convert::Into::into(value))
363 }
364 }
365 #[doc = "`get_glyphLookupTable()` overload"]
366 fn get_glyph_lookup_table(
367 self,
368 ) -> crate::system::collections::generic::dictionary_2::Dictionary_2<u32, crate::unity_engine::text_core::glyph::Glyph> {
369 unsafe {
370 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
371 ::unity::il2cpp_call!((::unity::module_base()+0x2d96e40usize)as*mut u8,crate::system::collections::generic::dictionary_2::Dictionary_2<u32,crate::unity_engine::text_core::glyph::Glyph> ;
372(TMP_FontAsset)__receiver)
373 }
374 }
375 #[doc = "`get_characterTable()` overload"]
376 fn get_character_table(self) -> crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_character::TMP_Character> {
377 unsafe {
378 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
379 ::unity::il2cpp_call!((::unity::module_base()+0x2d970f0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_character::TMP_Character> ;
380(TMP_FontAsset)__receiver)
381 }
382 }
383 #[doc = "`set_characterTable(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_character::TMP_Character>)` overload"]
384 fn set_character_table(
385 self,
386 value: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_character::TMP_Character>>,
387 ) -> () {
388 unsafe {
389 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
390 ::unity::il2cpp_call!((::unity::module_base()+0x2d97100usize)as*mut u8,();
391(TMP_FontAsset)__receiver,(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_character::TMP_Character>)::core::convert::Into::into(value))
392 }
393 }
394 #[doc = "`get_characterLookupTable()` overload"]
395 fn get_character_lookup_table(
396 self,
397 ) -> crate::system::collections::generic::dictionary_2::Dictionary_2<u32, crate::tm_pro::tmp_character::TMP_Character> {
398 unsafe {
399 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
400 ::unity::il2cpp_call!((::unity::module_base()+0x2d97110usize)as*mut u8,crate::system::collections::generic::dictionary_2::Dictionary_2<u32,crate::tm_pro::tmp_character::TMP_Character> ;
401(TMP_FontAsset)__receiver)
402 }
403 }
404 #[doc = "`get_atlasTexture()` overload"]
405 fn get_atlas_texture(self) -> crate::unity_engine::texture2d::Texture2D {
406 unsafe {
407 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
408 ::unity::il2cpp_call!((::unity::module_base()+0x2d97150usize)as*mut u8,crate::unity_engine::texture2d::Texture2D;
409(TMP_FontAsset)__receiver)
410 }
411 }
412 #[doc = "`get_atlasTextures()` overload"]
413 fn get_atlas_textures(self) -> ::unity::Array<crate::unity_engine::texture2d::Texture2D> {
414 unsafe {
415 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
416 ::unity::il2cpp_call!((::unity::module_base()+0x2d97200usize)as*mut u8, ::unity::Array<crate::unity_engine::texture2d::Texture2D> ;
417(TMP_FontAsset)__receiver)
418 }
419 }
420 #[doc = "`set_atlasTextures(::unity::Array<crate::unity_engine::texture2d::Texture2D>)` overload"]
421 fn set_atlas_textures(self, value: impl ::core::convert::Into<::unity::Array<crate::unity_engine::texture2d::Texture2D>>) -> () {
422 unsafe {
423 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
424 ::unity::il2cpp_call!((::unity::module_base()+0x2d97210usize)as*mut u8,();
425(TMP_FontAsset)__receiver,(::unity::Array<crate::unity_engine::texture2d::Texture2D>)::core::convert::Into::into(value))
426 }
427 }
428 #[doc = "`get_atlasTextureCount()` overload"]
429 fn get_atlas_texture_count(self) -> i32 {
430 unsafe {
431 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
432 ::unity::il2cpp_call!((::unity::module_base()+0x2d97220usize)as*mut u8,i32;
433(TMP_FontAsset)__receiver)
434 }
435 }
436 #[doc = "`get_isMultiAtlasTexturesEnabled()` overload"]
437 fn get_is_multi_atlas_textures_enabled(self) -> bool {
438 unsafe {
439 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
440 ::unity::il2cpp_call!((::unity::module_base()+0x2d97230usize)as*mut u8,bool;
441(TMP_FontAsset)__receiver)
442 }
443 }
444 #[doc = "`set_isMultiAtlasTexturesEnabled(bool)` overload"]
445 fn set_is_multi_atlas_textures_enabled(self, value: impl ::core::convert::Into<bool>) -> () {
446 unsafe {
447 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
448 ::unity::il2cpp_call!((::unity::module_base()+0x2d97240usize)as*mut u8,();
449(TMP_FontAsset)__receiver,(bool)::core::convert::Into::into(value))
450 }
451 }
452 #[doc = "`get_clearDynamicDataOnBuild()` overload"]
453 fn get_clear_dynamic_data_on_build(self) -> bool {
454 unsafe {
455 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
456 ::unity::il2cpp_call!((::unity::module_base()+0x2d97250usize)as*mut u8,bool;
457(TMP_FontAsset)__receiver)
458 }
459 }
460 #[doc = "`set_clearDynamicDataOnBuild(bool)` overload"]
461 fn set_clear_dynamic_data_on_build(self, value: impl ::core::convert::Into<bool>) -> () {
462 unsafe {
463 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
464 ::unity::il2cpp_call!((::unity::module_base()+0x2d97260usize)as*mut u8,();
465(TMP_FontAsset)__receiver,(bool)::core::convert::Into::into(value))
466 }
467 }
468 #[doc = "`get_usedGlyphRects()` overload"]
469 fn get_used_glyph_rects(self) -> crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect> {
470 unsafe {
471 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
472 ::unity::il2cpp_call!((::unity::module_base()+0x2d97270usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect> ;
473(TMP_FontAsset)__receiver)
474 }
475 }
476 #[doc = "`set_usedGlyphRects(crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect>)` overload"]
477 fn set_used_glyph_rects(
478 self,
479 value: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect>>,
480 ) -> () {
481 unsafe {
482 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
483 ::unity::il2cpp_call!((::unity::module_base()+0x2d97280usize)as*mut u8,();
484(TMP_FontAsset)__receiver,(crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect>)::core::convert::Into::into(value))
485 }
486 }
487 #[doc = "`get_freeGlyphRects()` overload"]
488 fn get_free_glyph_rects(self) -> crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect> {
489 unsafe {
490 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
491 ::unity::il2cpp_call!((::unity::module_base()+0x2d97290usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect> ;
492(TMP_FontAsset)__receiver)
493 }
494 }
495 #[doc = "`set_freeGlyphRects(crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect>)` overload"]
496 fn set_free_glyph_rects(
497 self,
498 value: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect>>,
499 ) -> () {
500 unsafe {
501 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
502 ::unity::il2cpp_call!((::unity::module_base()+0x2d972a0usize)as*mut u8,();
503(TMP_FontAsset)__receiver,(crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect>)::core::convert::Into::into(value))
504 }
505 }
506 #[doc = "`get_fontInfo()` overload"]
507 fn get_font_info(self) -> crate::tm_pro::faceinfo_legacy::FaceInfo_Legacy {
508 unsafe {
509 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
510 ::unity::il2cpp_call!((::unity::module_base()+0x2d972b0usize)as*mut u8,crate::tm_pro::faceinfo_legacy::FaceInfo_Legacy;
511(TMP_FontAsset)__receiver)
512 }
513 }
514 #[doc = "`get_atlasWidth()` overload"]
515 fn get_atlas_width(self) -> i32 {
516 unsafe {
517 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
518 ::unity::il2cpp_call!((::unity::module_base()+0x2d972c0usize)as*mut u8,i32;
519(TMP_FontAsset)__receiver)
520 }
521 }
522 #[doc = "`set_atlasWidth(i32)` overload"]
523 fn set_atlas_width(self, value: impl ::core::convert::Into<i32>) -> () {
524 unsafe {
525 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
526 ::unity::il2cpp_call!((::unity::module_base()+0x2d972d0usize)as*mut u8,();
527(TMP_FontAsset)__receiver,(i32)::core::convert::Into::into(value))
528 }
529 }
530 #[doc = "`get_atlasHeight()` overload"]
531 fn get_atlas_height(self) -> i32 {
532 unsafe {
533 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
534 ::unity::il2cpp_call!((::unity::module_base()+0x2d972e0usize)as*mut u8,i32;
535(TMP_FontAsset)__receiver)
536 }
537 }
538 #[doc = "`set_atlasHeight(i32)` overload"]
539 fn set_atlas_height(self, value: impl ::core::convert::Into<i32>) -> () {
540 unsafe {
541 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
542 ::unity::il2cpp_call!((::unity::module_base()+0x2d972f0usize)as*mut u8,();
543(TMP_FontAsset)__receiver,(i32)::core::convert::Into::into(value))
544 }
545 }
546 #[doc = "`get_atlasPadding()` overload"]
547 fn get_atlas_padding(self) -> i32 {
548 unsafe {
549 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
550 ::unity::il2cpp_call!((::unity::module_base()+0x2d97300usize)as*mut u8,i32;
551(TMP_FontAsset)__receiver)
552 }
553 }
554 #[doc = "`set_atlasPadding(i32)` overload"]
555 fn set_atlas_padding(self, value: impl ::core::convert::Into<i32>) -> () {
556 unsafe {
557 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
558 ::unity::il2cpp_call!((::unity::module_base()+0x2d97310usize)as*mut u8,();
559(TMP_FontAsset)__receiver,(i32)::core::convert::Into::into(value))
560 }
561 }
562 #[doc = "`get_atlasRenderMode()` overload"]
563 fn get_atlas_render_mode(self) -> crate::unity_engine::text_core::low_level::glyphrendermode::GlyphRenderMode {
564 unsafe {
565 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
566 ::unity::il2cpp_call!((::unity::module_base()+0x2d97320usize)as*mut u8,crate::unity_engine::text_core::low_level::glyphrendermode::GlyphRenderMode;
567(TMP_FontAsset)__receiver)
568 }
569 }
570 #[doc = "`set_atlasRenderMode(crate::unity_engine::text_core::low_level::glyphrendermode::GlyphRenderMode)` overload"]
571 fn set_atlas_render_mode(
572 self,
573 value: impl ::core::convert::Into<crate::unity_engine::text_core::low_level::glyphrendermode::GlyphRenderMode>,
574 ) -> () {
575 unsafe {
576 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
577 ::unity::il2cpp_call!((::unity::module_base()+0x2d97330usize)as*mut u8,();
578(TMP_FontAsset)__receiver,(crate::unity_engine::text_core::low_level::glyphrendermode::GlyphRenderMode)::core::convert::Into::into(value))
579 }
580 }
581 #[doc = "`get_fontFeatureTable()` overload"]
582 fn get_font_feature_table(self) -> crate::tm_pro::tmp_fontfeaturetable::TMP_FontFeatureTable {
583 unsafe {
584 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
585 ::unity::il2cpp_call!((::unity::module_base()+0x2d97340usize)as*mut u8,crate::tm_pro::tmp_fontfeaturetable::TMP_FontFeatureTable;
586(TMP_FontAsset)__receiver)
587 }
588 }
589 #[doc = "`set_fontFeatureTable(crate::tm_pro::tmp_fontfeaturetable::TMP_FontFeatureTable)` overload"]
590 fn set_font_feature_table(self, value: impl ::core::convert::Into<crate::tm_pro::tmp_fontfeaturetable::TMP_FontFeatureTable>) -> () {
591 unsafe {
592 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
593 ::unity::il2cpp_call!((::unity::module_base()+0x2d97350usize)as*mut u8,();
594(TMP_FontAsset)__receiver,(crate::tm_pro::tmp_fontfeaturetable::TMP_FontFeatureTable)::core::convert::Into::into(value))
595 }
596 }
597 #[doc = "`get_fallbackFontAssetTable()` overload"]
598 fn get_fallback_font_asset_table(self) -> crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset> {
599 unsafe {
600 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
601 ::unity::il2cpp_call!((::unity::module_base()+0x2d97360usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset> ;
602(TMP_FontAsset)__receiver)
603 }
604 }
605 #[doc = "`set_fallbackFontAssetTable(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>)` overload"]
606 fn set_fallback_font_asset_table(
607 self,
608 value: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>>,
609 ) -> () {
610 unsafe {
611 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
612 ::unity::il2cpp_call!((::unity::module_base()+0x2d97370usize)as*mut u8,();
613(TMP_FontAsset)__receiver,(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>)::core::convert::Into::into(value))
614 }
615 }
616 #[doc = "`get_creationSettings()` overload"]
617 fn get_creation_settings(self) -> crate::tm_pro::fontassetcreationsettings::FontAssetCreationSettings {
618 unsafe {
619 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
620 ::unity::il2cpp_call!((::unity::module_base()+0x2d97380usize)as*mut u8,crate::tm_pro::fontassetcreationsettings::FontAssetCreationSettings;
621(TMP_FontAsset)__receiver)
622 }
623 }
624 #[doc = "`set_creationSettings(crate::tm_pro::fontassetcreationsettings::FontAssetCreationSettings)` overload"]
625 fn set_creation_settings(self, value: impl ::core::convert::Into<crate::tm_pro::fontassetcreationsettings::FontAssetCreationSettings>) -> () {
626 unsafe {
627 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
628 ::unity::il2cpp_call!((::unity::module_base()+0x2d973c0usize)as*mut u8,();
629(TMP_FontAsset)__receiver,(crate::tm_pro::fontassetcreationsettings::FontAssetCreationSettings)::core::convert::Into::into(value))
630 }
631 }
632 #[doc = "`get_fontWeightTable()` overload"]
633 fn get_font_weight_table(self) -> ::unity::Array<crate::tm_pro::tmp_fontweightpair::TMP_FontWeightPair> {
634 unsafe {
635 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
636 ::unity::il2cpp_call!((::unity::module_base()+0x2d973f0usize)as*mut u8, ::unity::Array<crate::tm_pro::tmp_fontweightpair::TMP_FontWeightPair> ;
637(TMP_FontAsset)__receiver)
638 }
639 }
640 #[doc = "`set_fontWeightTable(::unity::Array<crate::tm_pro::tmp_fontweightpair::TMP_FontWeightPair>)` overload"]
641 fn set_font_weight_table(self, value: impl ::core::convert::Into<::unity::Array<crate::tm_pro::tmp_fontweightpair::TMP_FontWeightPair>>) -> () {
642 unsafe {
643 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
644 ::unity::il2cpp_call!((::unity::module_base()+0x2d97400usize)as*mut u8,();
645(TMP_FontAsset)__receiver,(::unity::Array<crate::tm_pro::tmp_fontweightpair::TMP_FontWeightPair>)::core::convert::Into::into(value))
646 }
647 }
648 #[doc = "`Awake()` overload"]
649 fn awake(self) -> () {
650 unsafe {
651 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
652 ::unity::il2cpp_call!((::unity::module_base()+0x2d97a40usize)as*mut u8,();
653(TMP_FontAsset)__receiver)
654 }
655 }
656 #[doc = "`ReadFontAssetDefinition()` overload"]
657 fn read_font_asset_definition(self) -> () {
658 unsafe {
659 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
660 ::unity::il2cpp_call!((::unity::module_base()+0x2d96e80usize)as*mut u8,();
661(TMP_FontAsset)__receiver)
662 }
663 }
664 #[doc = "`InitializeDictionaryLookupTables()` overload"]
665 fn initialize_dictionary_lookup_tables(self) -> () {
666 unsafe {
667 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
668 ::unity::il2cpp_call!((::unity::module_base()+0x2d986d0usize)as*mut u8,();
669(TMP_FontAsset)__receiver)
670 }
671 }
672 #[doc = "`InitializeGlyphLookupDictionary()` overload"]
673 fn initialize_glyph_lookup_dictionary(self) -> () {
674 unsafe {
675 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
676 ::unity::il2cpp_call!((::unity::module_base()+0x2d989f0usize)as*mut u8,();
677(TMP_FontAsset)__receiver)
678 }
679 }
680 #[doc = "`InitializeCharacterLookupDictionary()` overload"]
681 fn initialize_character_lookup_dictionary(self) -> () {
682 unsafe {
683 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
684 ::unity::il2cpp_call!((::unity::module_base()+0x2d98c80usize)as*mut u8,();
685(TMP_FontAsset)__receiver)
686 }
687 }
688 #[doc = "`InitializeGlyphPaidAdjustmentRecordsLookupDictionary()` overload"]
689 fn initialize_glyph_paid_adjustment_records_lookup_dictionary(self) -> () {
690 unsafe {
691 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
692 ::unity::il2cpp_call!((::unity::module_base()+0x2d98ee0usize)as*mut u8,();
693(TMP_FontAsset)__receiver)
694 }
695 }
696 #[doc = "`AddSynthesizedCharactersAndFaceMetrics()` overload"]
697 fn add_synthesized_characters_and_face_metrics(self) -> () {
698 unsafe {
699 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
700 ::unity::il2cpp_call!((::unity::module_base()+0x2d98700usize)as*mut u8,();
701(TMP_FontAsset)__receiver)
702 }
703 }
704 #[doc = "`AddSynthesizedCharacter(u32, bool, bool)` overload"]
705 fn add_synthesized_character(
706 self,
707 unicode: impl ::core::convert::Into<u32>,
708 is_font_face_loaded: impl ::core::convert::Into<bool>,
709 add_immediately: impl ::core::convert::Into<bool>,
710 ) -> () {
711 unsafe {
712 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
713 ::unity::il2cpp_call!((::unity::module_base()+0x2d99420usize)as*mut u8,();
714(TMP_FontAsset)__receiver,(u32)::core::convert::Into::into(unicode),(bool)::core::convert::Into::into(is_font_face_loaded),(bool)::core::convert::Into::into(add_immediately))
715 }
716 }
717 #[doc = "`AddCharacterToLookupCache(u32, crate::tm_pro::tmp_character::TMP_Character)` overload"]
718 fn add_character_to_lookup_cache(
719 self,
720 unicode: impl ::core::convert::Into<u32>,
721 character: impl ::core::convert::Into<crate::tm_pro::tmp_character::TMP_Character>,
722 ) -> () {
723 unsafe {
724 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
725 ::unity::il2cpp_call!((::unity::module_base()+0x2d99710usize)as*mut u8,();
726(TMP_FontAsset)__receiver,(u32)::core::convert::Into::into(unicode),(crate::tm_pro::tmp_character::TMP_Character)::core::convert::Into::into(character))
727 }
728 }
729 #[doc = "`SortCharacterTable()` overload"]
730 fn sort_character_table(self) -> () {
731 unsafe {
732 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
733 ::unity::il2cpp_call!((::unity::module_base()+0x2d997c0usize)as*mut u8,();
734(TMP_FontAsset)__receiver)
735 }
736 }
737 #[doc = "`SortGlyphTable()` overload"]
738 fn sort_glyph_table(self) -> () {
739 unsafe {
740 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
741 ::unity::il2cpp_call!((::unity::module_base()+0x2d99960usize)as*mut u8,();
742(TMP_FontAsset)__receiver)
743 }
744 }
745 #[doc = "`SortFontFeatureTable()` overload"]
746 fn sort_font_feature_table(self) -> () {
747 unsafe {
748 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
749 ::unity::il2cpp_call!((::unity::module_base()+0x2d99b00usize)as*mut u8,();
750(TMP_FontAsset)__receiver)
751 }
752 }
753 #[doc = "`SortAllTables()` overload"]
754 fn sort_all_tables(self) -> () {
755 unsafe {
756 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
757 ::unity::il2cpp_call!((::unity::module_base()+0x2d99b10usize)as*mut u8,();
758(TMP_FontAsset)__receiver)
759 }
760 }
761 #[doc = "`HasCharacter(i32)` overload"]
762 fn has_character(self, character: impl ::core::convert::Into<i32>) -> bool {
763 unsafe {
764 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
765 ::unity::il2cpp_call!((::unity::module_base()+0x2d99b40usize)as*mut u8,bool;
766(TMP_FontAsset)__receiver,(i32)::core::convert::Into::into(character))
767 }
768 }
769 #[doc = "`HasCharacter(u16, bool, bool)` overload"]
770 fn has_character_2(
771 self,
772 character: impl ::core::convert::Into<u16>,
773 search_fallbacks: impl ::core::convert::Into<bool>,
774 try_add_character: impl ::core::convert::Into<bool>,
775 ) -> bool {
776 unsafe {
777 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
778 ::unity::il2cpp_call!((::unity::module_base()+0x2d99bb0usize)as*mut u8,bool;
779(TMP_FontAsset)__receiver,(u16)::core::convert::Into::into(character),(bool)::core::convert::Into::into(search_fallbacks),(bool)::core::convert::Into::into(try_add_character))
780 }
781 }
782 #[doc = "`HasCharacter_Internal(u32, bool, bool)` overload"]
783 fn has_character_internal(
784 self,
785 character: impl ::core::convert::Into<u32>,
786 search_fallbacks: impl ::core::convert::Into<bool>,
787 try_add_character: impl ::core::convert::Into<bool>,
788 ) -> bool {
789 unsafe {
790 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
791 ::unity::il2cpp_call!((::unity::module_base()+0x2d9a970usize)as*mut u8,bool;
792(TMP_FontAsset)__receiver,(u32)::core::convert::Into::into(character),(bool)::core::convert::Into::into(search_fallbacks),(bool)::core::convert::Into::into(try_add_character))
793 }
794 }
795 #[doc = "`HasCharacters(::unity::Il2CppString, *mutcrate::system::collections::generic::list_1::List_1<u16>)` overload"]
796 fn has_characters(
797 self,
798 text: impl ::core::convert::Into<::unity::Il2CppString>,
799 ) -> (bool, crate::system::collections::generic::list_1::List_1<u16>) {
800 unsafe {
801 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
802 let mut __out_0 = ::core::mem::MaybeUninit::<crate::system::collections::generic::list_1::List_1<u16>>::uninit();
803 let __ret = {
804 ::unity::il2cpp_call!((::unity::module_base()+0x2d9abb0usize)as*mut u8,bool;
805(TMP_FontAsset)__receiver,(::unity::Il2CppString)::core::convert::Into::into(text),(*mut crate::system::collections::generic::list_1::List_1<u16>)__out_0.as_mut_ptr())
806 };
807 (__ret, __out_0.assume_init())
808 }
809 }
810 #[doc = "`HasCharacters(::unity::Il2CppString, *mut::unity::Array<u32>, bool, bool)` overload"]
811 fn has_characters_2(
812 self,
813 text: impl ::core::convert::Into<::unity::Il2CppString>,
814 search_fallbacks: impl ::core::convert::Into<bool>,
815 try_add_character: impl ::core::convert::Into<bool>,
816 ) -> (bool, ::unity::Array<u32>) {
817 unsafe {
818 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
819 let mut __out_0 = ::core::mem::MaybeUninit::<::unity::Array<u32>>::uninit();
820 let __ret = {
821 ::unity::il2cpp_call!((::unity::module_base()+0x2d9ad30usize)as*mut u8,bool;
822(TMP_FontAsset)__receiver,(::unity::Il2CppString)::core::convert::Into::into(text),(*mut::unity::Array<u32>)__out_0.as_mut_ptr(),(bool)::core::convert::Into::into(search_fallbacks),(bool)::core::convert::Into::into(try_add_character))
823 };
824 (__ret, __out_0.assume_init())
825 }
826 }
827 #[doc = "`HasCharacters(::unity::Il2CppString)` overload"]
828 fn has_characters_3(self, text: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
829 unsafe {
830 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
831 ::unity::il2cpp_call!((::unity::module_base()+0x2d9b350usize)as*mut u8,bool;
832(TMP_FontAsset)__receiver,(::unity::Il2CppString)::core::convert::Into::into(text))
833 }
834 }
835 #[doc = "`GetGlyphIndex(u32)` overload"]
836 fn get_glyph_index(self, unicode: impl ::core::convert::Into<u32>) -> u32 {
837 unsafe {
838 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
839 ::unity::il2cpp_call!((::unity::module_base()+0x2d9b620usize)as*mut u8,u32;
840(TMP_FontAsset)__receiver,(u32)::core::convert::Into::into(unicode))
841 }
842 }
843 #[doc = "`TryAddCharacters(::unity::Array<u32>, bool)` overload"]
844 fn try_add_characters(
845 self,
846 unicodes: impl ::core::convert::Into<::unity::Array<u32>>,
847 include_font_features: impl ::core::convert::Into<bool>,
848 ) -> bool {
849 unsafe {
850 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
851 ::unity::il2cpp_call!((::unity::module_base()+0x2d9bf40usize)as*mut u8,bool;
852(TMP_FontAsset)__receiver,(::unity::Array<u32>)::core::convert::Into::into(unicodes),(bool)::core::convert::Into::into(include_font_features))
853 }
854 }
855 #[doc = "`TryAddCharacters(::unity::Array<u32>, *mut::unity::Array<u32>, bool)` overload"]
856 fn try_add_characters_2(
857 self,
858 unicodes: impl ::core::convert::Into<::unity::Array<u32>>,
859 include_font_features: impl ::core::convert::Into<bool>,
860 ) -> (bool, ::unity::Array<u32>) {
861 unsafe {
862 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
863 let mut __out_0 = ::core::mem::MaybeUninit::<::unity::Array<u32>>::uninit();
864 let __ret = {
865 ::unity::il2cpp_call!((::unity::module_base()+0x2d9bf70usize)as*mut u8,bool;
866(TMP_FontAsset)__receiver,(::unity::Array<u32>)::core::convert::Into::into(unicodes),(*mut::unity::Array<u32>)__out_0.as_mut_ptr(),(bool)::core::convert::Into::into(include_font_features))
867 };
868 (__ret, __out_0.assume_init())
869 }
870 }
871 #[doc = "`TryAddCharacters(::unity::Il2CppString, bool)` overload"]
872 fn try_add_characters_3(
873 self,
874 characters: impl ::core::convert::Into<::unity::Il2CppString>,
875 include_font_features: impl ::core::convert::Into<bool>,
876 ) -> bool {
877 unsafe {
878 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
879 ::unity::il2cpp_call!((::unity::module_base()+0x2d9ccc0usize)as*mut u8,bool;
880(TMP_FontAsset)__receiver,(::unity::Il2CppString)::core::convert::Into::into(characters),(bool)::core::convert::Into::into(include_font_features))
881 }
882 }
883 #[doc = "`TryAddCharacters(::unity::Il2CppString, *mut::unity::Il2CppString, bool)` overload"]
884 fn try_add_characters_4(
885 self,
886 characters: impl ::core::convert::Into<::unity::Il2CppString>,
887 include_font_features: impl ::core::convert::Into<bool>,
888 ) -> (bool, ::unity::Il2CppString) {
889 unsafe {
890 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
891 let mut __out_0 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
892 let __ret = {
893 ::unity::il2cpp_call!((::unity::module_base()+0x2d9ccf0usize)as*mut u8,bool;
894(TMP_FontAsset)__receiver,(::unity::Il2CppString)::core::convert::Into::into(characters),(*mut::unity::Il2CppString)__out_0.as_mut_ptr(),(bool)::core::convert::Into::into(include_font_features))
895 };
896 (__ret, __out_0.assume_init())
897 }
898 }
899 #[doc = "`TryAddCharacterInternal(u32, *mutcrate::tm_pro::tmp_character::TMP_Character)` overload"]
900 fn try_add_character_internal(self, unicode: impl ::core::convert::Into<u32>) -> (bool, crate::tm_pro::tmp_character::TMP_Character) {
901 unsafe {
902 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
903 let mut __out_0 = ::core::mem::MaybeUninit::<crate::tm_pro::tmp_character::TMP_Character>::uninit();
904 let __ret = {
905 ::unity::il2cpp_call!((::unity::module_base()+0x2d9a0f0usize)as*mut u8,bool;
906(TMP_FontAsset)__receiver,(u32)::core::convert::Into::into(unicode),(*mut crate::tm_pro::tmp_character::TMP_Character)__out_0.as_mut_ptr())
907 };
908 (__ret, __out_0.assume_init())
909 }
910 }
911 #[doc = "`TryGetCharacter_and_QueueRenderToTexture(u32, *mutcrate::tm_pro::tmp_character::TMP_Character)` overload"]
912 fn try_get_character_and_queue_render_to_texture(
913 self,
914 unicode: impl ::core::convert::Into<u32>,
915 ) -> (bool, crate::tm_pro::tmp_character::TMP_Character) {
916 unsafe {
917 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
918 let mut __out_0 = ::core::mem::MaybeUninit::<crate::tm_pro::tmp_character::TMP_Character>::uninit();
919 let __ret = {
920 ::unity::il2cpp_call!((::unity::module_base()+0x2d9d8d0usize)as*mut u8,bool;
921(TMP_FontAsset)__receiver,(u32)::core::convert::Into::into(unicode),(*mut crate::tm_pro::tmp_character::TMP_Character)__out_0.as_mut_ptr())
922 };
923 (__ret, __out_0.assume_init())
924 }
925 }
926 #[doc = "`TryAddGlyphsToAtlasTextures()` overload"]
927 fn try_add_glyphs_to_atlas_textures(self) -> () {
928 unsafe {
929 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
930 ::unity::il2cpp_call!((::unity::module_base()+0x2d9bf30usize)as*mut u8,();
931(TMP_FontAsset)__receiver)
932 }
933 }
934 #[doc = "`TryAddGlyphsToNewAtlasTexture()` overload"]
935 fn try_add_glyphs_to_new_atlas_texture(self) -> bool {
936 unsafe {
937 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
938 ::unity::il2cpp_call!((::unity::module_base()+0x2d9c990usize)as*mut u8,bool;
939(TMP_FontAsset)__receiver)
940 }
941 }
942 #[doc = "`SetupNewAtlasTexture()` overload"]
943 fn setup_new_atlas_texture(self) -> () {
944 unsafe {
945 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
946 ::unity::il2cpp_call!((::unity::module_base()+0x2d9d6d0usize)as*mut u8,();
947(TMP_FontAsset)__receiver)
948 }
949 }
950 #[doc = "`UpdateAtlasTexture()` overload"]
951 fn update_atlas_texture(self) -> () {
952 unsafe {
953 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
954 ::unity::il2cpp_call!((::unity::module_base()+0x2d9dda0usize)as*mut u8,();
955(TMP_FontAsset)__receiver)
956 }
957 }
958 #[doc = "`UpdateGlyphAdjustmentRecords()` overload"]
959 fn update_glyph_adjustment_records(self) -> () {
960 unsafe {
961 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
962 ::unity::il2cpp_call!((::unity::module_base()+0x2d9b9d0usize)as*mut u8,();
963(TMP_FontAsset)__receiver)
964 }
965 }
966 #[doc = "`UpdateGlyphAdjustmentRecords(::unity::Array<u32>)` overload"]
967 fn update_glyph_adjustment_records_2(self, glyph_indexes: impl ::core::convert::Into<::unity::Array<u32>>) -> () {
968 unsafe {
969 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
970 ::unity::il2cpp_call!((::unity::module_base()+0x2d9df00usize)as*mut u8,();
971(TMP_FontAsset)__receiver,(::unity::Array<u32>)::core::convert::Into::into(glyph_indexes))
972 }
973 }
974 #[doc = "`UpdateGlyphAdjustmentRecords(crate::system::collections::generic::list_1::List_1<u32>)` overload"]
975 fn update_glyph_adjustment_records_3(
976 self,
977 glyph_indexes: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<u32>>,
978 ) -> () {
979 unsafe {
980 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
981 ::unity::il2cpp_call!((::unity::module_base()+0x2d9e1f0usize)as*mut u8,();
982(TMP_FontAsset)__receiver,(crate::system::collections::generic::list_1::List_1<u32>)::core::convert::Into::into(glyph_indexes))
983 }
984 }
985 #[doc = "`UpdateGlyphAdjustmentRecords(crate::system::collections::generic::list_1::List_1<u32>, crate::system::collections::generic::list_1::List_1<u32>)` overload"]
986 fn update_glyph_adjustment_records_4(
987 self,
988 new_glyph_indexes: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<u32>>,
989 all_glyph_indexes: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<u32>>,
990 ) -> () {
991 unsafe {
992 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
993 ::unity::il2cpp_call!((::unity::module_base()+0x2d9e200usize)as*mut u8,();
994(TMP_FontAsset)__receiver,(crate::system::collections::generic::list_1::List_1<u32>)::core::convert::Into::into(new_glyph_indexes),(crate::system::collections::generic::list_1::List_1<u32>)::core::convert::Into::into(all_glyph_indexes))
995 }
996 }
997 fn copy_list_data_to_array<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
998 self,
999 src_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<M0>>,
1000 dst_array: impl ::core::convert::Into<*mut ::unity::Array<M0>>,
1001 ) -> () {
1002 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
1003 ::unity::lookup::method_info_on_class(<TMP_FontAsset as ::unity::ClassIdentity>::class(), "CopyListDataToArray", 2)
1004 });
1005 #[allow(clippy::type_complexity)]
1006 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
1007 ::std::sync::OnceLock::new();
1008 let _ = false;
1009 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
1010 ::core::result::Result::Ok(mi) => *mi,
1011 ::core::result::Result::Err(e) => {
1012 panic!(
1013 "method lookup failed: {}
1014::{}
1015: {}
1016",
1017 <TMP_FontAsset as ::unity::ClassIdentity>::NAME,
1018 "CopyListDataToArray",
1019 e
1020 )
1021 },
1022 };
1023 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
1024 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
1025 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
1026 let mut __guard = __cache.lock().unwrap();
1027 *__guard
1028 .entry(__key)
1029 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
1030 };
1031 unsafe {
1032 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1033 let __f: extern "C" fn(
1034 TMP_FontAsset,
1035 crate::system::collections::generic::list_1::List_1<M0>,
1036 *mut ::unity::Array<M0>,
1037 ::unity::OptionalMethod,
1038 ) -> () = ::core::mem::transmute(__inflated.method_ptr);
1039 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
1040 __f(
1041 __receiver,
1042 ::core::convert::Into::into(src_list),
1043 ::core::convert::Into::into(dst_array),
1044 ::core::option::Option::Some(__mi_opaque),
1045 )
1046 }
1047 }
1048 #[doc = "`ClearFontAssetData(bool)` overload"]
1049 fn clear_font_asset_data(self, set_atlas_size_to_zero: impl ::core::convert::Into<bool>) -> () {
1050 unsafe {
1051 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1052 ::unity::il2cpp_call!((::unity::module_base()+0x2d9e210usize)as*mut u8,();
1053(TMP_FontAsset)__receiver,(bool)::core::convert::Into::into(set_atlas_size_to_zero))
1054 }
1055 }
1056 #[doc = "`ClearFontAssetDataInternal()` overload"]
1057 fn clear_font_asset_data_internal(self) -> () {
1058 unsafe {
1059 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1060 ::unity::il2cpp_call!((::unity::module_base()+0x2d9e800usize)as*mut u8,();
1061(TMP_FontAsset)__receiver)
1062 }
1063 }
1064 #[doc = "`UpdateFontAssetData()` overload"]
1065 fn update_font_asset_data(self) -> () {
1066 unsafe {
1067 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1068 ::unity::il2cpp_call!((::unity::module_base()+0x2d9e830usize)as*mut u8,();
1069(TMP_FontAsset)__receiver)
1070 }
1071 }
1072 #[doc = "`ClearFontAssetTables()` overload"]
1073 fn clear_font_asset_tables(self) -> () {
1074 unsafe {
1075 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1076 ::unity::il2cpp_call!((::unity::module_base()+0x2d9e250usize)as*mut u8,();
1077(TMP_FontAsset)__receiver)
1078 }
1079 }
1080 #[doc = "`ClearAtlasTextures(bool)` overload"]
1081 fn clear_atlas_textures(self, set_atlas_size_to_zero: impl ::core::convert::Into<bool>) -> () {
1082 unsafe {
1083 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1084 ::unity::il2cpp_call!((::unity::module_base()+0x2d9e3c0usize)as*mut u8,();
1085(TMP_FontAsset)__receiver,(bool)::core::convert::Into::into(set_atlas_size_to_zero))
1086 }
1087 }
1088 #[doc = "`UpgradeFontAsset()` overload"]
1089 fn upgrade_font_asset(self) -> () {
1090 unsafe {
1091 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1092 ::unity::il2cpp_call!((::unity::module_base()+0x2d97ae0usize)as*mut u8,();
1093(TMP_FontAsset)__receiver)
1094 }
1095 }
1096 #[doc = "`UpgradeGlyphAdjustmentTableToFontFeatureTable()` overload"]
1097 fn upgrade_glyph_adjustment_table_to_font_feature_table(self) -> () {
1098 unsafe {
1099 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1100 ::unity::il2cpp_call!((::unity::module_base()+0x2d990b0usize)as*mut u8,();
1101(TMP_FontAsset)__receiver)
1102 }
1103 }
1104 #[doc = "`.ctor()` overload"]
1105 fn ctor(self) -> () {
1106 unsafe {
1107 let __receiver = <TMP_FontAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1108 ::unity::il2cpp_call!((::unity::module_base()+0x2d9e960usize)as*mut u8,();
1109(TMP_FontAsset)__receiver)
1110 }
1111 }
1112}
1113
1114#[cfg(feature = "tm_pro-tmp_fontasset")]
1115impl<__T: ITMP_FontAsset> ITMP_FontAssetMethods for __T {}
1116
1117#[cfg(feature = "tm_pro-tmp_fontasset")]
1118impl TMP_FontAsset {
1119 pub fn get_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1120 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1121 }
1122
1123 pub fn set_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1124 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1125 }
1126
1127 pub fn get_source_font_file_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1128 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1129 }
1130
1131 pub fn set_source_font_file_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1132 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1133 }
1134
1135 pub fn get_atlas_population_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1136 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1137 }
1138
1139 pub fn set_atlas_population_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1140 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1141 }
1142
1143 pub fn get_face_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1144 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1145 }
1146
1147 pub fn set_face_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1148 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1149 }
1150
1151 pub fn get_glyph_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1152 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1153 }
1154
1155 pub fn set_glyph_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1156 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1157 }
1158
1159 pub fn get_glyph_lookup_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1160 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1161 }
1162
1163 pub fn get_character_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1164 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1165 }
1166
1167 pub fn set_character_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1168 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1169 }
1170
1171 pub fn get_character_lookup_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1172 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1173 }
1174
1175 pub fn get_atlas_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1176 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1177 }
1178
1179 pub fn get_atlas_textures_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1180 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1181 }
1182
1183 pub fn set_atlas_textures_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1184 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1185 }
1186
1187 pub fn get_atlas_texture_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1188 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1189 }
1190
1191 pub fn get_is_multi_atlas_textures_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1192 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1193 }
1194
1195 pub fn set_is_multi_atlas_textures_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1196 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1197 }
1198
1199 pub fn get_clear_dynamic_data_on_build_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1200 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1201 }
1202
1203 pub fn set_clear_dynamic_data_on_build_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1204 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1205 }
1206
1207 pub fn get_used_glyph_rects_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1208 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1209 }
1210
1211 pub fn set_used_glyph_rects_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1212 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1213 }
1214
1215 pub fn get_free_glyph_rects_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1216 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1217 }
1218
1219 pub fn set_free_glyph_rects_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1220 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1221 }
1222
1223 pub fn get_font_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1224 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1225 }
1226
1227 pub fn get_atlas_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1228 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1229 }
1230
1231 pub fn set_atlas_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1232 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1233 }
1234
1235 pub fn get_atlas_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1236 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1237 }
1238
1239 pub fn set_atlas_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1240 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1241 }
1242
1243 pub fn get_atlas_padding_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1244 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1245 }
1246
1247 pub fn set_atlas_padding_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1248 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1249 }
1250
1251 pub fn get_atlas_render_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1252 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1253 }
1254
1255 pub fn set_atlas_render_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1256 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1257 }
1258
1259 pub fn get_font_feature_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1260 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1261 }
1262
1263 pub fn set_font_feature_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1264 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1265 }
1266
1267 pub fn get_fallback_font_asset_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1268 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1269 }
1270
1271 pub fn set_fallback_font_asset_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1272 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1273 }
1274
1275 pub fn get_creation_settings_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1276 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1277 }
1278
1279 pub fn set_creation_settings_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1280 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1281 }
1282
1283 pub fn get_font_weight_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1284 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1285 }
1286
1287 pub fn set_font_weight_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1288 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1289 }
1290
1291 pub fn create_font_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1292 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1293 }
1294
1295 pub fn create_font_asset_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1296 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1297 }
1298
1299 pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1300 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1301 }
1302
1303 pub fn read_font_asset_definition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1304 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1305 }
1306
1307 pub fn initialize_dictionary_lookup_tables_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1308 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1309 }
1310
1311 pub fn initialize_glyph_lookup_dictionary_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1312 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1313 }
1314
1315 pub fn initialize_character_lookup_dictionary_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1316 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1317 }
1318
1319 pub fn initialize_glyph_paid_adjustment_records_lookup_dictionary_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1320 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1321 }
1322
1323 pub fn add_synthesized_characters_and_face_metrics_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1324 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1325 }
1326
1327 pub fn add_synthesized_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1328 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1329 }
1330
1331 pub fn add_character_to_lookup_cache_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1332 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1333 }
1334
1335 pub fn sort_character_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1336 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1337 }
1338
1339 pub fn sort_glyph_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1340 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1341 }
1342
1343 pub fn sort_font_feature_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1344 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1345 }
1346
1347 pub fn sort_all_tables_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1348 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1349 }
1350
1351 pub fn has_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1352 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1353 }
1354
1355 pub fn has_character_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1356 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1357 }
1358
1359 pub fn has_character_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1360 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1361 }
1362
1363 pub fn has_characters_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1364 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1365 }
1366
1367 pub fn has_characters_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1368 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1369 }
1370
1371 pub fn has_characters_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1372 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1373 }
1374
1375 pub fn get_characters_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1376 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1377 }
1378
1379 pub fn get_characters_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1380 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1381 }
1382
1383 pub fn get_glyph_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1384 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1385 }
1386
1387 pub fn register_font_asset_for_font_feature_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1388 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1389 }
1390
1391 pub fn update_font_features_for_font_assets_in_queue_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1392 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1393 }
1394
1395 pub fn register_font_asset_for_atlas_texture_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1396 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1397 }
1398
1399 pub fn update_atlas_textures_for_font_assets_in_queue_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1400 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1401 }
1402
1403 pub fn try_add_characters_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1404 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1405 }
1406
1407 pub fn try_add_characters_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1408 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1409 }
1410
1411 pub fn try_add_characters_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1412 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
1413 }
1414
1415 pub fn try_add_characters_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1416 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
1417 }
1418
1419 pub fn try_add_character_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1420 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
1421 }
1422
1423 pub fn try_get_character_and_queue_render_to_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1424 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
1425 }
1426
1427 pub fn try_add_glyphs_to_atlas_textures_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1428 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
1429 }
1430
1431 pub fn try_add_glyphs_to_new_atlas_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1432 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
1433 }
1434
1435 pub fn setup_new_atlas_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1436 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
1437 }
1438
1439 pub fn update_atlas_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1440 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
1441 }
1442
1443 pub fn update_glyph_adjustment_records_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1444 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
1445 }
1446
1447 pub fn update_glyph_adjustment_records_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1448 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
1449 }
1450
1451 pub fn update_glyph_adjustment_records_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1452 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
1453 }
1454
1455 pub fn update_glyph_adjustment_records_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1456 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
1457 }
1458
1459 pub fn clear_font_asset_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1460 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
1461 }
1462
1463 pub fn clear_font_asset_data_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1464 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
1465 }
1466
1467 pub fn update_font_asset_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1468 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
1469 }
1470
1471 pub fn clear_font_asset_tables_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1472 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
1473 }
1474
1475 pub fn clear_atlas_textures_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1476 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
1477 }
1478
1479 pub fn upgrade_font_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1480 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[91]
1481 }
1482
1483 pub fn upgrade_glyph_adjustment_table_to_font_feature_table_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1484 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[92]
1485 }
1486
1487 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1488 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[93]
1489 }
1490
1491 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1492 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[94]
1493 }
1494}
1495
1496#[cfg(feature = "tm_pro-tmp_fontasset")]
1497impl TMP_FontAsset {
1498 #[doc = "`.ctor()` — no args"]
1499 pub fn new() -> Self {
1500 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1501 panic!(
1502 "{}
1503::{}
1504 failed to instantiate",
1505 ::core::stringify!(TMP_FontAsset),
1506 ::core::stringify!(new),
1507 )
1508 });
1509 <Self as ITMP_FontAssetMethods>::ctor(this);
1510 this
1511 }
1512}
1513
1514#[cfg(feature = "tm_pro-tmp_fontasset")]
1515#[doc(hidden)]
1516pub mod prelude {
1517 pub use super::{ITMP_FontAsset, ITMP_FontAssetMethods, TMP_FontAsset};
1518 #[cfg(feature = "system-object")]
1519 pub use crate::system::object::IObjectMethods;
1520 #[cfg(feature = "tm_pro-tmp_asset")]
1521 pub use crate::tm_pro::tmp_asset::ITMP_AssetMethods;
1522 #[cfg(feature = "unity_engine-object_2")]
1523 pub use crate::unity_engine::object_2::IObject_2Methods;
1524 #[cfg(feature = "unity_engine-scriptableobject")]
1525 pub use crate::unity_engine::scriptableobject::IScriptableObjectMethods;
1526 pub use crate::{
1527 system::object::IObject,
1528 tm_pro::tmp_asset::ITMP_Asset,
1529 unity_engine::{object_2::IObject_2, scriptableobject::IScriptableObject},
1530 };
1531}