Skip to main content

engage/generated/tm_pro/
tmp_settings.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "tm_pro-tmp_settings-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::{
11            object_2::{IObject_2, Object_2},
12            scriptableobject::{IScriptableObject, ScriptableObject},
13        },
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/tm_pro/tmp_settings/TMP_Settings_LineBreakingTable.md"))]
17    #[::unity::class(namespace = "TMPro", name = "TMP_Settings.LineBreakingTable")]
18    #[parent(crate::system::object::Object)]
19    pub struct TMP_Settings_LineBreakingTable {
20        #[offset(16)]
21        #[rename(name = "leadingCharacters")]
22        pub leading_characters: crate::system::collections::generic::dictionary_2::Dictionary_2<i32, u16>,
23        #[offset(24)]
24        #[rename(name = "followingCharacters")]
25        pub following_characters: crate::system::collections::generic::dictionary_2::Dictionary_2<i32, u16>,
26    }
27
28    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/tm_pro/tmp_settings/TMP_Settings.md"))]
29    #[::unity::class(namespace = "TMPro", name = "TMP_Settings")]
30    #[parent(crate::unity_engine::scriptableobject::ScriptableObject)]
31    pub struct TMP_Settings {
32        #[static_field]
33        #[rename(name = "s_Instance")]
34        pub s_instance: crate::tm_pro::tmp_settings::TMP_Settings,
35        #[offset(24)]
36        #[rename(name = "m_enableWordWrapping")]
37        pub m_enable_word_wrapping: bool,
38        #[offset(25)]
39        #[rename(name = "m_enableKerning")]
40        pub m_enable_kerning: bool,
41        #[offset(26)]
42        #[rename(name = "m_enableExtraPadding")]
43        pub m_enable_extra_padding: bool,
44        #[offset(27)]
45        #[rename(name = "m_enableTintAllSprites")]
46        pub m_enable_tint_all_sprites: bool,
47        #[offset(28)]
48        #[rename(name = "m_enableParseEscapeCharacters")]
49        pub m_enable_parse_escape_characters: bool,
50        #[offset(29)]
51        #[rename(name = "m_EnableRaycastTarget")]
52        pub m_enable_raycast_target: bool,
53        #[offset(30)]
54        #[rename(name = "m_GetFontFeaturesAtRuntime")]
55        pub m_get_font_features_at_runtime: bool,
56        #[offset(32)]
57        #[rename(name = "m_missingGlyphCharacter")]
58        pub m_missing_glyph_character: i32,
59        #[offset(36)]
60        #[rename(name = "m_warningsDisabled")]
61        pub m_warnings_disabled: bool,
62        #[offset(40)]
63        #[rename(name = "m_defaultFontAsset")]
64        pub m_default_font_asset: crate::tm_pro::tmp_fontasset::TMP_FontAsset,
65        #[offset(48)]
66        #[rename(name = "m_defaultFontAssetPath")]
67        pub m_default_font_asset_path: ::unity::Il2CppString,
68        #[offset(56)]
69        #[rename(name = "m_defaultFontSize")]
70        pub m_default_font_size: f32,
71        #[offset(60)]
72        #[rename(name = "m_defaultAutoSizeMinRatio")]
73        pub m_default_auto_size_min_ratio: f32,
74        #[offset(64)]
75        #[rename(name = "m_defaultAutoSizeMaxRatio")]
76        pub m_default_auto_size_max_ratio: f32,
77        #[offset(68)]
78        #[rename(name = "m_defaultTextMeshProTextContainerSize")]
79        pub m_default_text_mesh_pro_text_container_size: crate::unity_engine::vector2::Vector2,
80        #[offset(76)]
81        #[rename(name = "m_defaultTextMeshProUITextContainerSize")]
82        pub m_default_text_mesh_pro_ui_text_container_size: crate::unity_engine::vector2::Vector2,
83        #[offset(84)]
84        #[rename(name = "m_autoSizeTextContainer")]
85        pub m_auto_size_text_container: bool,
86        #[offset(85)]
87        #[rename(name = "m_IsTextObjectScaleStatic")]
88        pub m_is_text_object_scale_static: bool,
89        #[offset(88)]
90        #[rename(name = "m_fallbackFontAssets")]
91        pub m_fallback_font_assets: crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>,
92        #[offset(96)]
93        #[rename(name = "m_matchMaterialPreset")]
94        pub m_match_material_preset: bool,
95        #[offset(104)]
96        #[rename(name = "m_defaultSpriteAsset")]
97        pub m_default_sprite_asset: crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset,
98        #[offset(112)]
99        #[rename(name = "m_defaultSpriteAssetPath")]
100        pub m_default_sprite_asset_path: ::unity::Il2CppString,
101        #[offset(120)]
102        #[rename(name = "m_enableEmojiSupport")]
103        pub m_enable_emoji_support: bool,
104        #[offset(124)]
105        #[rename(name = "m_MissingCharacterSpriteUnicode")]
106        pub m_missing_character_sprite_unicode: u32,
107        #[offset(128)]
108        #[rename(name = "m_defaultColorGradientPresetsPath")]
109        pub m_default_color_gradient_presets_path: ::unity::Il2CppString,
110        #[offset(136)]
111        #[rename(name = "m_defaultStyleSheet")]
112        pub m_default_style_sheet: crate::tm_pro::tmp_stylesheet::TMP_StyleSheet,
113        #[offset(144)]
114        #[rename(name = "m_StyleSheetsResourcePath")]
115        pub m_style_sheets_resource_path: ::unity::Il2CppString,
116        #[offset(152)]
117        #[rename(name = "m_leadingCharacters")]
118        pub m_leading_characters: crate::unity_engine::textasset::TextAsset,
119        #[offset(160)]
120        #[rename(name = "m_followingCharacters")]
121        pub m_following_characters: crate::unity_engine::textasset::TextAsset,
122        #[offset(168)]
123        #[rename(name = "m_linebreakingRules")]
124        pub m_linebreaking_rules: crate::tm_pro::tmp_settings::TMP_Settings_LineBreakingTable,
125        #[offset(176)]
126        #[rename(name = "m_UseModernHangulLineBreakingRules")]
127        pub m_use_modern_hangul_line_breaking_rules: bool,
128    }
129}
130
131#[cfg(feature = "tm_pro-tmp_settings-types")]
132pub use __types::*;
133
134#[cfg(feature = "tm_pro-tmp_settings")]
135pub trait ITMP_Settings_LineBreakingTableMethods: ITMP_Settings_LineBreakingTable {
136    #[doc = "`.ctor()` overload"]
137    fn ctor(self) -> () {
138        unsafe {
139            let __receiver =
140                <TMP_Settings_LineBreakingTable as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
141            ::unity::il2cpp_call!((::unity::module_base()+0x3ea98c0usize)as*mut u8,();
142(TMP_Settings_LineBreakingTable)__receiver)
143        }
144    }
145}
146
147#[cfg(feature = "tm_pro-tmp_settings")]
148impl<__T: ITMP_Settings_LineBreakingTable> ITMP_Settings_LineBreakingTableMethods for __T {}
149
150#[cfg(feature = "tm_pro-tmp_settings")]
151impl TMP_Settings_LineBreakingTable {
152    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
153        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
154    }
155}
156
157#[cfg(feature = "tm_pro-tmp_settings")]
158impl TMP_Settings_LineBreakingTable {
159    #[doc = "`.ctor()` — no args"]
160    pub fn new() -> Self {
161        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
162            panic!(
163                "{}
164::{}
165 failed to instantiate",
166                ::core::stringify!(TMP_Settings_LineBreakingTable),
167                ::core::stringify!(new),
168            )
169        });
170        <Self as ITMP_Settings_LineBreakingTableMethods>::ctor(this);
171        this
172    }
173}
174
175#[cfg(feature = "tm_pro-tmp_settings")]
176impl TMP_Settings {
177    #[doc = "`get_version()` overload"]
178    pub fn get_version() -> ::unity::Il2CppString {
179        unsafe {
180            ::unity::il2cpp_call!((::unity::module_base()+0x282a8f0usize)as*mut u8, ::unity::Il2CppString;
181            )
182        }
183    }
184
185    #[doc = "`get_enableWordWrapping()` overload"]
186    pub fn get_enable_word_wrapping() -> bool {
187        unsafe {
188            ::unity::il2cpp_call!((::unity::module_base()+0x282a940usize)as*mut u8,bool;
189            )
190        }
191    }
192
193    #[doc = "`get_enableKerning()` overload"]
194    pub fn get_enable_kerning() -> bool {
195        unsafe {
196            ::unity::il2cpp_call!((::unity::module_base()+0x282aa50usize)as*mut u8,bool;
197            )
198        }
199    }
200
201    #[doc = "`get_enableExtraPadding()` overload"]
202    pub fn get_enable_extra_padding() -> bool {
203        unsafe {
204            ::unity::il2cpp_call!((::unity::module_base()+0x282aa70usize)as*mut u8,bool;
205            )
206        }
207    }
208
209    #[doc = "`get_enableTintAllSprites()` overload"]
210    pub fn get_enable_tint_all_sprites() -> bool {
211        unsafe {
212            ::unity::il2cpp_call!((::unity::module_base()+0x282aa90usize)as*mut u8,bool;
213            )
214        }
215    }
216
217    #[doc = "`get_enableParseEscapeCharacters()` overload"]
218    pub fn get_enable_parse_escape_characters() -> bool {
219        unsafe {
220            ::unity::il2cpp_call!((::unity::module_base()+0x282aab0usize)as*mut u8,bool;
221            )
222        }
223    }
224
225    #[doc = "`get_enableRaycastTarget()` overload"]
226    pub fn get_enable_raycast_target() -> bool {
227        unsafe {
228            ::unity::il2cpp_call!((::unity::module_base()+0x282aad0usize)as*mut u8,bool;
229            )
230        }
231    }
232
233    #[doc = "`get_getFontFeaturesAtRuntime()` overload"]
234    pub fn get_get_font_features_at_runtime() -> bool {
235        unsafe {
236            ::unity::il2cpp_call!((::unity::module_base()+0x282aaf0usize)as*mut u8,bool;
237            )
238        }
239    }
240
241    #[doc = "`get_missingGlyphCharacter()` overload"]
242    pub fn get_missing_glyph_character() -> i32 {
243        unsafe {
244            ::unity::il2cpp_call!((::unity::module_base()+0x282ab10usize)as*mut u8,i32;
245            )
246        }
247    }
248
249    #[doc = "`set_missingGlyphCharacter(i32)` overload"]
250    pub fn set_missing_glyph_character(value: impl ::core::convert::Into<i32>) -> () {
251        unsafe {
252            ::unity::il2cpp_call!((::unity::module_base()+0x282ab30usize)as*mut u8,();
253(i32)::core::convert::Into::into(value))
254        }
255    }
256
257    #[doc = "`get_warningsDisabled()` overload"]
258    pub fn get_warnings_disabled() -> bool {
259        unsafe {
260            ::unity::il2cpp_call!((::unity::module_base()+0x282ab60usize)as*mut u8,bool;
261            )
262        }
263    }
264
265    #[doc = "`get_defaultFontAsset()` overload"]
266    pub fn get_default_font_asset() -> crate::tm_pro::tmp_fontasset::TMP_FontAsset {
267        unsafe {
268            ::unity::il2cpp_call!((::unity::module_base()+0x282ab80usize)as*mut u8,crate::tm_pro::tmp_fontasset::TMP_FontAsset;
269            )
270        }
271    }
272
273    #[doc = "`get_defaultFontAssetPath()` overload"]
274    pub fn get_default_font_asset_path() -> ::unity::Il2CppString {
275        unsafe {
276            ::unity::il2cpp_call!((::unity::module_base()+0x282aba0usize)as*mut u8, ::unity::Il2CppString;
277            )
278        }
279    }
280
281    #[doc = "`get_defaultFontSize()` overload"]
282    pub fn get_default_font_size() -> f32 {
283        unsafe {
284            ::unity::il2cpp_call!((::unity::module_base()+0x282abc0usize)as*mut u8,f32;
285            )
286        }
287    }
288
289    #[doc = "`get_defaultTextAutoSizingMinRatio()` overload"]
290    pub fn get_default_text_auto_sizing_min_ratio() -> f32 {
291        unsafe {
292            ::unity::il2cpp_call!((::unity::module_base()+0x282abe0usize)as*mut u8,f32;
293            )
294        }
295    }
296
297    #[doc = "`get_defaultTextAutoSizingMaxRatio()` overload"]
298    pub fn get_default_text_auto_sizing_max_ratio() -> f32 {
299        unsafe {
300            ::unity::il2cpp_call!((::unity::module_base()+0x282ac00usize)as*mut u8,f32;
301            )
302        }
303    }
304
305    #[doc = "`get_defaultTextMeshProTextContainerSize()` overload"]
306    pub fn get_default_text_mesh_pro_text_container_size() -> crate::unity_engine::vector2::Vector2 {
307        unsafe {
308            ::unity::il2cpp_call!((::unity::module_base()+0x282ac20usize)as*mut u8,crate::unity_engine::vector2::Vector2;
309            )
310        }
311    }
312
313    #[doc = "`get_defaultTextMeshProUITextContainerSize()` overload"]
314    pub fn get_default_text_mesh_pro_ui_text_container_size() -> crate::unity_engine::vector2::Vector2 {
315        unsafe {
316            ::unity::il2cpp_call!((::unity::module_base()+0x282ac40usize)as*mut u8,crate::unity_engine::vector2::Vector2;
317            )
318        }
319    }
320
321    #[doc = "`get_autoSizeTextContainer()` overload"]
322    pub fn get_auto_size_text_container() -> bool {
323        unsafe {
324            ::unity::il2cpp_call!((::unity::module_base()+0x282ac60usize)as*mut u8,bool;
325            )
326        }
327    }
328
329    #[doc = "`get_isTextObjectScaleStatic()` overload"]
330    pub fn get_is_text_object_scale_static() -> bool {
331        unsafe {
332            ::unity::il2cpp_call!((::unity::module_base()+0x282ac80usize)as*mut u8,bool;
333            )
334        }
335    }
336
337    #[doc = "`set_isTextObjectScaleStatic(bool)` overload"]
338    pub fn set_is_text_object_scale_static(value: impl ::core::convert::Into<bool>) -> () {
339        unsafe {
340            ::unity::il2cpp_call!((::unity::module_base()+0x282aca0usize)as*mut u8,();
341(bool)::core::convert::Into::into(value))
342        }
343    }
344
345    #[doc = "`get_fallbackFontAssets()` overload"]
346    pub fn get_fallback_font_assets() -> crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset> {
347        unsafe {
348            ::unity::il2cpp_call!((::unity::module_base()+0x282acd0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset> ;
349            )
350        }
351    }
352
353    #[doc = "`get_matchMaterialPreset()` overload"]
354    pub fn get_match_material_preset() -> bool {
355        unsafe {
356            ::unity::il2cpp_call!((::unity::module_base()+0x282acf0usize)as*mut u8,bool;
357            )
358        }
359    }
360
361    #[doc = "`get_defaultSpriteAsset()` overload"]
362    pub fn get_default_sprite_asset() -> crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset {
363        unsafe {
364            ::unity::il2cpp_call!((::unity::module_base()+0x282ad10usize)as*mut u8,crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset;
365            )
366        }
367    }
368
369    #[doc = "`get_defaultSpriteAssetPath()` overload"]
370    pub fn get_default_sprite_asset_path() -> ::unity::Il2CppString {
371        unsafe {
372            ::unity::il2cpp_call!((::unity::module_base()+0x282ad30usize)as*mut u8, ::unity::Il2CppString;
373            )
374        }
375    }
376
377    #[doc = "`get_enableEmojiSupport()` overload"]
378    pub fn get_enable_emoji_support() -> bool {
379        unsafe {
380            ::unity::il2cpp_call!((::unity::module_base()+0x282ad50usize)as*mut u8,bool;
381            )
382        }
383    }
384
385    #[doc = "`set_enableEmojiSupport(bool)` overload"]
386    pub fn set_enable_emoji_support(value: impl ::core::convert::Into<bool>) -> () {
387        unsafe {
388            ::unity::il2cpp_call!((::unity::module_base()+0x282ad70usize)as*mut u8,();
389(bool)::core::convert::Into::into(value))
390        }
391    }
392
393    #[doc = "`get_missingCharacterSpriteUnicode()` overload"]
394    pub fn get_missing_character_sprite_unicode() -> u32 {
395        unsafe {
396            ::unity::il2cpp_call!((::unity::module_base()+0x282ada0usize)as*mut u8,u32;
397            )
398        }
399    }
400
401    #[doc = "`set_missingCharacterSpriteUnicode(u32)` overload"]
402    pub fn set_missing_character_sprite_unicode(value: impl ::core::convert::Into<u32>) -> () {
403        unsafe {
404            ::unity::il2cpp_call!((::unity::module_base()+0x282adc0usize)as*mut u8,();
405(u32)::core::convert::Into::into(value))
406        }
407    }
408
409    #[doc = "`get_defaultColorGradientPresetsPath()` overload"]
410    pub fn get_default_color_gradient_presets_path() -> ::unity::Il2CppString {
411        unsafe {
412            ::unity::il2cpp_call!((::unity::module_base()+0x282adf0usize)as*mut u8, ::unity::Il2CppString;
413            )
414        }
415    }
416
417    #[doc = "`get_defaultStyleSheet()` overload"]
418    pub fn get_default_style_sheet() -> crate::tm_pro::tmp_stylesheet::TMP_StyleSheet {
419        unsafe {
420            ::unity::il2cpp_call!((::unity::module_base()+0x282ae10usize)as*mut u8,crate::tm_pro::tmp_stylesheet::TMP_StyleSheet;
421            )
422        }
423    }
424
425    #[doc = "`get_styleSheetsResourcePath()` overload"]
426    pub fn get_style_sheets_resource_path() -> ::unity::Il2CppString {
427        unsafe {
428            ::unity::il2cpp_call!((::unity::module_base()+0x282ae30usize)as*mut u8, ::unity::Il2CppString;
429            )
430        }
431    }
432
433    #[doc = "`get_leadingCharacters()` overload"]
434    pub fn get_leading_characters() -> crate::unity_engine::textasset::TextAsset {
435        unsafe {
436            ::unity::il2cpp_call!((::unity::module_base()+0x282ae50usize)as*mut u8,crate::unity_engine::textasset::TextAsset;
437            )
438        }
439    }
440
441    #[doc = "`get_followingCharacters()` overload"]
442    pub fn get_following_characters() -> crate::unity_engine::textasset::TextAsset {
443        unsafe {
444            ::unity::il2cpp_call!((::unity::module_base()+0x282ae70usize)as*mut u8,crate::unity_engine::textasset::TextAsset;
445            )
446        }
447    }
448
449    #[doc = "`get_linebreakingRules()` overload"]
450    pub fn get_linebreaking_rules() -> crate::tm_pro::tmp_settings::TMP_Settings_LineBreakingTable {
451        unsafe {
452            ::unity::il2cpp_call!((::unity::module_base()+0x282ae90usize)as*mut u8,crate::tm_pro::tmp_settings::TMP_Settings_LineBreakingTable;
453            )
454        }
455    }
456
457    #[doc = "`get_useModernHangulLineBreakingRules()` overload"]
458    pub fn get_use_modern_hangul_line_breaking_rules() -> bool {
459        unsafe {
460            ::unity::il2cpp_call!((::unity::module_base()+0x282b010usize)as*mut u8,bool;
461            )
462        }
463    }
464
465    #[doc = "`set_useModernHangulLineBreakingRules(bool)` overload"]
466    pub fn set_use_modern_hangul_line_breaking_rules(value: impl ::core::convert::Into<bool>) -> () {
467        unsafe {
468            ::unity::il2cpp_call!((::unity::module_base()+0x282b030usize)as*mut u8,();
469(bool)::core::convert::Into::into(value))
470        }
471    }
472
473    #[doc = "`get_instance()` overload"]
474    pub fn get_instance() -> crate::tm_pro::tmp_settings::TMP_Settings {
475        unsafe {
476            ::unity::il2cpp_call!((::unity::module_base()+0x282a960usize)as*mut u8,crate::tm_pro::tmp_settings::TMP_Settings;
477            )
478        }
479    }
480
481    #[doc = "`LoadDefaultSettings()` overload"]
482    pub fn load_default_settings() -> crate::tm_pro::tmp_settings::TMP_Settings {
483        unsafe {
484            ::unity::il2cpp_call!((::unity::module_base()+0x282b060usize)as*mut u8,crate::tm_pro::tmp_settings::TMP_Settings;
485            )
486        }
487    }
488
489    #[doc = "`GetSettings()` overload"]
490    pub fn get_settings() -> crate::tm_pro::tmp_settings::TMP_Settings {
491        unsafe {
492            ::unity::il2cpp_call!((::unity::module_base()+0x282b180usize)as*mut u8,crate::tm_pro::tmp_settings::TMP_Settings;
493            )
494        }
495    }
496
497    #[doc = "`GetFontAsset()` overload"]
498    pub fn get_font_asset() -> crate::tm_pro::tmp_fontasset::TMP_FontAsset {
499        unsafe {
500            ::unity::il2cpp_call!((::unity::module_base()+0x282b210usize)as*mut u8,crate::tm_pro::tmp_fontasset::TMP_FontAsset;
501            )
502        }
503    }
504
505    #[doc = "`GetSpriteAsset()` overload"]
506    pub fn get_sprite_asset() -> crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset {
507        unsafe {
508            ::unity::il2cpp_call!((::unity::module_base()+0x282b2a0usize)as*mut u8,crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset;
509            )
510        }
511    }
512
513    #[doc = "`GetStyleSheet()` overload"]
514    pub fn get_style_sheet() -> crate::tm_pro::tmp_stylesheet::TMP_StyleSheet {
515        unsafe {
516            ::unity::il2cpp_call!((::unity::module_base()+0x282b330usize)as*mut u8,crate::tm_pro::tmp_stylesheet::TMP_StyleSheet;
517            )
518        }
519    }
520
521    #[doc = "`LoadLinebreakingRules()` overload"]
522    pub fn load_linebreaking_rules() -> () {
523        unsafe {
524            ::unity::il2cpp_call!((::unity::module_base()+0x282aed0usize)as*mut u8,();
525            )
526        }
527    }
528
529    #[doc = "`GetCharacters(crate::unity_engine::textasset::TextAsset)` overload"]
530    pub fn get_characters(
531        file: impl ::core::convert::Into<crate::unity_engine::textasset::TextAsset>,
532    ) -> crate::system::collections::generic::dictionary_2::Dictionary_2<i32, u16> {
533        unsafe {
534            ::unity::il2cpp_call!((::unity::module_base()+0x282b3c0usize)as*mut u8,crate::system::collections::generic::dictionary_2::Dictionary_2<i32,u16> ;
535(crate::unity_engine::textasset::TextAsset)::core::convert::Into::into(file))
536        }
537    }
538}
539
540#[cfg(feature = "tm_pro-tmp_settings")]
541pub trait ITMP_SettingsMethods: ITMP_Settings {
542    #[doc = "`.ctor()` overload"]
543    fn ctor(self) -> () {
544        unsafe {
545            let __receiver = <TMP_Settings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
546            ::unity::il2cpp_call!((::unity::module_base()+0x282b4e0usize)as*mut u8,();
547(TMP_Settings)__receiver)
548        }
549    }
550}
551
552#[cfg(feature = "tm_pro-tmp_settings")]
553impl<__T: ITMP_Settings> ITMP_SettingsMethods for __T {}
554
555#[cfg(feature = "tm_pro-tmp_settings")]
556impl TMP_Settings {
557    pub fn get_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
558        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
559    }
560
561    pub fn get_enable_word_wrapping_method_info() -> &'static ::unity::il2cpp::MethodInfo {
562        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
563    }
564
565    pub fn get_enable_kerning_method_info() -> &'static ::unity::il2cpp::MethodInfo {
566        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
567    }
568
569    pub fn get_enable_extra_padding_method_info() -> &'static ::unity::il2cpp::MethodInfo {
570        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
571    }
572
573    pub fn get_enable_tint_all_sprites_method_info() -> &'static ::unity::il2cpp::MethodInfo {
574        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
575    }
576
577    pub fn get_enable_parse_escape_characters_method_info() -> &'static ::unity::il2cpp::MethodInfo {
578        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
579    }
580
581    pub fn get_enable_raycast_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
582        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
583    }
584
585    pub fn get_get_font_features_at_runtime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
586        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
587    }
588
589    pub fn get_missing_glyph_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
590        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
591    }
592
593    pub fn set_missing_glyph_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
594        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
595    }
596
597    pub fn get_warnings_disabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
598        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
599    }
600
601    pub fn get_default_font_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
602        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
603    }
604
605    pub fn get_default_font_asset_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
606        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
607    }
608
609    pub fn get_default_font_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
610        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
611    }
612
613    pub fn get_default_text_auto_sizing_min_ratio_method_info() -> &'static ::unity::il2cpp::MethodInfo {
614        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
615    }
616
617    pub fn get_default_text_auto_sizing_max_ratio_method_info() -> &'static ::unity::il2cpp::MethodInfo {
618        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
619    }
620
621    pub fn get_default_text_mesh_pro_text_container_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
622        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
623    }
624
625    pub fn get_default_text_mesh_pro_ui_text_container_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
626        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
627    }
628
629    pub fn get_auto_size_text_container_method_info() -> &'static ::unity::il2cpp::MethodInfo {
630        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
631    }
632
633    pub fn get_is_text_object_scale_static_method_info() -> &'static ::unity::il2cpp::MethodInfo {
634        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
635    }
636
637    pub fn set_is_text_object_scale_static_method_info() -> &'static ::unity::il2cpp::MethodInfo {
638        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
639    }
640
641    pub fn get_fallback_font_assets_method_info() -> &'static ::unity::il2cpp::MethodInfo {
642        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
643    }
644
645    pub fn get_match_material_preset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
646        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
647    }
648
649    pub fn get_default_sprite_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
650        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
651    }
652
653    pub fn get_default_sprite_asset_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
654        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
655    }
656
657    pub fn get_enable_emoji_support_method_info() -> &'static ::unity::il2cpp::MethodInfo {
658        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
659    }
660
661    pub fn set_enable_emoji_support_method_info() -> &'static ::unity::il2cpp::MethodInfo {
662        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
663    }
664
665    pub fn get_missing_character_sprite_unicode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
666        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
667    }
668
669    pub fn set_missing_character_sprite_unicode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
670        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
671    }
672
673    pub fn get_default_color_gradient_presets_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
674        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
675    }
676
677    pub fn get_default_style_sheet_method_info() -> &'static ::unity::il2cpp::MethodInfo {
678        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
679    }
680
681    pub fn get_style_sheets_resource_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
682        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
683    }
684
685    pub fn get_leading_characters_method_info() -> &'static ::unity::il2cpp::MethodInfo {
686        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
687    }
688
689    pub fn get_following_characters_method_info() -> &'static ::unity::il2cpp::MethodInfo {
690        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
691    }
692
693    pub fn get_linebreaking_rules_method_info() -> &'static ::unity::il2cpp::MethodInfo {
694        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
695    }
696
697    pub fn get_use_modern_hangul_line_breaking_rules_method_info() -> &'static ::unity::il2cpp::MethodInfo {
698        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
699    }
700
701    pub fn set_use_modern_hangul_line_breaking_rules_method_info() -> &'static ::unity::il2cpp::MethodInfo {
702        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
703    }
704
705    pub fn get_instance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
706        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
707    }
708
709    pub fn load_default_settings_method_info() -> &'static ::unity::il2cpp::MethodInfo {
710        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
711    }
712
713    pub fn get_settings_method_info() -> &'static ::unity::il2cpp::MethodInfo {
714        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
715    }
716
717    pub fn get_font_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
718        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
719    }
720
721    pub fn get_sprite_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
722        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
723    }
724
725    pub fn get_style_sheet_method_info() -> &'static ::unity::il2cpp::MethodInfo {
726        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
727    }
728
729    pub fn load_linebreaking_rules_method_info() -> &'static ::unity::il2cpp::MethodInfo {
730        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
731    }
732
733    pub fn get_characters_method_info() -> &'static ::unity::il2cpp::MethodInfo {
734        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
735    }
736
737    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
738        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
739    }
740}
741
742#[cfg(feature = "tm_pro-tmp_settings")]
743impl TMP_Settings {
744    #[doc = "`.ctor()` — no args"]
745    pub fn new() -> Self {
746        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
747            panic!(
748                "{}
749::{}
750 failed to instantiate",
751                ::core::stringify!(TMP_Settings),
752                ::core::stringify!(new),
753            )
754        });
755        <Self as ITMP_SettingsMethods>::ctor(this);
756        this
757    }
758}
759
760#[cfg(feature = "tm_pro-tmp_settings")]
761#[doc(hidden)]
762pub mod prelude {
763    pub use super::{
764        ITMP_Settings, ITMP_SettingsMethods, ITMP_Settings_LineBreakingTable, ITMP_Settings_LineBreakingTableMethods, TMP_Settings,
765        TMP_Settings_LineBreakingTable,
766    };
767    #[cfg(feature = "system-object")]
768    pub use crate::system::object::IObjectMethods;
769    #[cfg(feature = "unity_engine-object_2")]
770    pub use crate::unity_engine::object_2::IObject_2Methods;
771    #[cfg(feature = "unity_engine-scriptableobject")]
772    pub use crate::unity_engine::scriptableobject::IScriptableObjectMethods;
773    pub use crate::{
774        system::object::IObject,
775        unity_engine::{object_2::IObject_2, scriptableobject::IScriptableObject},
776    };
777}