engage/generated/tm_pro/
markuptag.rs1#[cfg(feature = "tm_pro-markuptag-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 object::{IObject, Object},
10 r#enum::{Enum, IEnum},
11 valuetype::{IValueType, ValueType},
12 };
13
14 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/tm_pro/markuptag/MarkupTag.md"))]
15 #[repr(C)]
16 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17 pub struct MarkupTag {
18 pub value: i32,
19 }
20 impl ::unity::ClassIdentity for MarkupTag {
21 const NAME: &'static str = "MarkupTag";
22 const NAMESPACE: &'static str = "TMPro";
23
24 fn class() -> ::unity::Class {
25 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
26 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
27 }
28 }
29 impl ::unity::IlType for MarkupTag {
30 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32 }
33 }
34 impl MarkupTag {
35 pub fn bold() -> Self {
36 Self { value: 66 }
37 }
38
39 pub fn slash_bold() -> Self {
40 Self { value: 1613 }
41 }
42
43 pub fn italic() -> Self {
44 Self { value: 73 }
45 }
46
47 pub fn slash_italic() -> Self {
48 Self { value: 1606 }
49 }
50
51 pub fn underline() -> Self {
52 Self { value: 85 }
53 }
54
55 pub fn slash_underline() -> Self {
56 Self { value: 1626 }
57 }
58
59 pub fn strikethrough() -> Self {
60 Self { value: 83 }
61 }
62
63 pub fn slash_strikethrough() -> Self {
64 Self { value: 1628 }
65 }
66
67 pub fn mark() -> Self {
68 Self { value: 2699125 }
69 }
70
71 pub fn slash_mark() -> Self {
72 Self { value: 57644506 }
73 }
74
75 pub fn subscript() -> Self {
76 Self { value: 92132 }
77 }
78
79 pub fn slash_subscript() -> Self {
80 Self { value: 1770219 }
81 }
82
83 pub fn superscript() -> Self {
84 Self { value: 92150 }
85 }
86
87 pub fn slash_superscript() -> Self {
88 Self { value: 1770233 }
89 }
90
91 pub fn color() -> Self {
92 Self { value: 81999901 }
93 }
94
95 pub fn slash_color() -> Self {
96 Self { value: 1909026194 }
97 }
98
99 pub fn alpha() -> Self {
100 Self { value: 75165780 }
101 }
102
103 pub fn a() -> Self {
104 Self { value: 65 }
105 }
106
107 pub fn slash_a() -> Self {
108 Self { value: 1614 }
109 }
110
111 pub fn size() -> Self {
112 Self { value: 3061285 }
113 }
114
115 pub fn slash_size() -> Self {
116 Self { value: 58429962 }
117 }
118
119 pub fn sprite() -> Self {
120 Self { value: -991527447 }
121 }
122
123 pub fn no_break() -> Self {
124 Self { value: 2856657 }
125 }
126
127 pub fn slash_no_break() -> Self {
128 Self { value: 57477502 }
129 }
130
131 pub fn style() -> Self {
132 Self { value: 100252951 }
133 }
134
135 pub fn slash_style() -> Self {
136 Self { value: 1927738392 }
137 }
138
139 pub fn font() -> Self {
140 Self { value: 2586451 }
141 }
142
143 pub fn slash_font() -> Self {
144 Self { value: 57747708 }
145 }
146
147 pub fn slash_material() -> Self {
148 Self { value: -1100708252 }
149 }
150
151 pub fn link() -> Self {
152 Self { value: 2656128 }
153 }
154
155 pub fn slash_link() -> Self {
156 Self { value: 57686191 }
157 }
158
159 pub fn font_weight() -> Self {
160 Self { value: -1889896162 }
161 }
162
163 pub fn slash_font_weight() -> Self {
164 Self { value: -757976431 }
165 }
166
167 pub fn no_parse() -> Self {
168 Self { value: -408011596 }
169 }
170
171 pub fn slash_no_parse() -> Self {
172 Self { value: -294095813 }
173 }
174
175 pub fn position() -> Self {
176 Self { value: 85420 }
177 }
178
179 pub fn slash_position() -> Self {
180 Self { value: 1777699 }
181 }
182
183 pub fn vertical_offset() -> Self {
184 Self { value: 1952379995 }
185 }
186
187 pub fn slash_vertical_offset() -> Self {
188 Self { value: -11107948 }
189 }
190
191 pub fn space() -> Self {
192 Self { value: 100083556 }
193 }
194
195 pub fn slash_space() -> Self {
196 Self { value: 1927873067 }
197 }
198
199 pub fn page() -> Self {
200 Self { value: 2808691 }
201 }
202
203 pub fn slash_page() -> Self {
204 Self { value: 58683868 }
205 }
206
207 pub fn align() -> Self {
208 Self { value: 75138797 }
209 }
210
211 pub fn slash_align() -> Self {
212 Self { value: 1916026786 }
213 }
214
215 pub fn width() -> Self {
216 Self { value: 105793766 }
217 }
218
219 pub fn slash_width() -> Self {
220 Self { value: 1923459625 }
221 }
222
223 pub fn gradient() -> Self {
224 Self { value: -1999759898 }
225 }
226
227 pub fn slash_gradient() -> Self {
228 Self { value: -1854491959 }
229 }
230
231 pub fn character_space() -> Self {
232 Self { value: -1584382009 }
233 }
234
235 pub fn slash_character_space() -> Self {
236 Self { value: -1394426712 }
237 }
238
239 pub fn monospace() -> Self {
240 Self { value: -1340221943 }
241 }
242
243 pub fn slash_monospace() -> Self {
244 Self { value: -1638865562 }
245 }
246
247 pub fn class() -> Self {
248 Self { value: 82115566 }
249 }
250
251 pub fn indent() -> Self {
252 Self { value: -1514123076 }
253 }
254
255 pub fn slash_indent() -> Self {
256 Self { value: -1496889389 }
257 }
258
259 pub fn line_indent() -> Self {
260 Self { value: -844305121 }
261 }
262
263 pub fn slash_line_indent() -> Self {
264 Self { value: 93886352 }
265 }
266
267 pub fn margin() -> Self {
268 Self { value: -1355614050 }
269 }
270
271 pub fn slash_margin() -> Self {
272 Self { value: -1649644303 }
273 }
274
275 pub fn margin_left() -> Self {
276 Self { value: -272933656 }
277 }
278
279 pub fn margin_right() -> Self {
280 Self { value: -447416589 }
281 }
282
283 pub fn line_height() -> Self {
284 Self { value: -799081892 }
285 }
286
287 pub fn slash_line_height() -> Self {
288 Self { value: 200452819 }
289 }
290
291 pub fn action() -> Self {
292 Self { value: -1827519330 }
293 }
294
295 pub fn slash_action() -> Self {
296 Self { value: -1187217679 }
297 }
298
299 pub fn scale() -> Self {
300 Self { value: 100553336 }
301 }
302
303 pub fn slash_scale() -> Self {
304 Self { value: 1928413879 }
305 }
306
307 pub fn rotate() -> Self {
308 Self { value: -1000007783 }
309 }
310
311 pub fn slash_rotate() -> Self {
312 Self { value: -764695562 }
313 }
314
315 pub fn lowercase() -> Self {
316 Self { value: -1506899689 }
317 }
318
319 pub fn slash_lowercase() -> Self {
320 Self { value: -1451284584 }
321 }
322
323 pub fn allcaps() -> Self {
324 Self { value: 218273952 }
325 }
326
327 pub fn slash_allcaps() -> Self {
328 Self { value: -797437649 }
329 }
330
331 pub fn uppercase() -> Self {
332 Self { value: -305409418 }
333 }
334
335 pub fn slash_uppercase() -> Self {
336 Self { value: -582368199 }
337 }
338
339 pub fn smallcaps() -> Self {
340 Self { value: -766062114 }
341 }
342
343 pub fn slash_smallcaps() -> Self {
344 Self { value: 199921873 }
345 }
346
347 pub fn liga() -> Self {
348 Self { value: 2655971 }
349 }
350
351 pub fn slash_liga() -> Self {
352 Self { value: 57686604 }
353 }
354
355 pub fn frac() -> Self {
356 Self { value: 2598518 }
357 }
358
359 pub fn slash_frac() -> Self {
360 Self { value: 57774681 }
361 }
362
363 pub fn name() -> Self {
364 Self { value: 2875623 }
365 }
366
367 pub fn index() -> Self {
368 Self { value: 84268030 }
369 }
370
371 pub fn tint() -> Self {
372 Self { value: 2960519 }
373 }
374
375 pub fn anim() -> Self {
376 Self { value: 2283339 }
377 }
378
379 pub fn material() -> Self {
380 Self { value: 825491659 }
381 }
382
383 pub fn href() -> Self {
384 Self { value: 2535353 }
385 }
386
387 pub fn angle() -> Self {
388 Self { value: 75347905 }
389 }
390
391 pub fn red() -> Self {
392 Self { value: 91635 }
393 }
394
395 pub fn green() -> Self {
396 Self { value: 87065851 }
397 }
398
399 pub fn blue() -> Self {
400 Self { value: 2457214 }
401 }
402
403 pub fn yellow() -> Self {
404 Self { value: -882444668 }
405 }
406
407 pub fn orange() -> Self {
408 Self { value: -1108587920 }
409 }
410
411 pub fn black() -> Self {
412 Self { value: 81074727 }
413 }
414
415 pub fn white() -> Self {
416 Self { value: 105680263 }
417 }
418
419 pub fn purple() -> Self {
420 Self { value: -1250222130 }
421 }
422
423 pub fn br() -> Self {
424 Self { value: 2256 }
425 }
426
427 pub fn zwsp() -> Self {
428 Self { value: 3288238 }
429 }
430
431 pub fn nbsp() -> Self {
432 Self { value: 2869039 }
433 }
434
435 pub fn shy() -> Self {
436 Self { value: 92674 }
437 }
438
439 pub fn left() -> Self {
440 Self { value: 2660507 }
441 }
442
443 pub fn right() -> Self {
444 Self { value: 99937376 }
445 }
446
447 pub fn center() -> Self {
448 Self { value: -1591113269 }
449 }
450
451 pub fn justified() -> Self {
452 Self { value: 817091359 }
453 }
454
455 pub fn flush() -> Self {
456 Self { value: 85552164 }
457 }
458
459 pub fn none() -> Self {
460 Self { value: 2857034 }
461 }
462
463 pub fn plus() -> Self {
464 Self { value: 43 }
465 }
466
467 pub fn minus() -> Self {
468 Self { value: 45 }
469 }
470
471 pub fn px() -> Self {
472 Self { value: 2568 }
473 }
474
475 pub fn plus_px() -> Self {
476 Self { value: 49507 }
477 }
478
479 pub fn minus_px() -> Self {
480 Self { value: 47461 }
481 }
482
483 pub fn em() -> Self {
484 Self { value: 2216 }
485 }
486
487 pub fn plus_em() -> Self {
488 Self { value: 49091 }
489 }
490
491 pub fn minus_em() -> Self {
492 Self { value: 46789 }
493 }
494
495 pub fn pct() -> Self {
496 Self { value: 85031 }
497 }
498
499 pub fn plus_pct() -> Self {
500 Self { value: 1634348 }
501 }
502
503 pub fn minus_pct() -> Self {
504 Self { value: 1567082 }
505 }
506
507 pub fn percentage() -> Self {
508 Self { value: 37 }
509 }
510
511 pub fn plus_percentage() -> Self {
512 Self { value: 1454 }
513 }
514
515 pub fn minus_percentage() -> Self {
516 Self { value: 1512 }
517 }
518
519 pub fn r#true() -> Self {
520 Self { value: 2932022 }
521 }
522
523 pub fn r#false() -> Self {
524 Self { value: 85422813 }
525 }
526
527 pub fn invalid() -> Self {
528 Self { value: 1585415185 }
529 }
530
531 pub fn normal() -> Self {
532 Self { value: -1183493901 }
533 }
534
535 pub fn default() -> Self {
536 Self { value: -620974005 }
537 }
538 }
539}
540
541#[cfg(feature = "tm_pro-markuptag-types")]
542pub use __types::*;
543
544#[cfg(feature = "tm_pro-markuptag")]
545#[doc(hidden)]
546pub mod prelude {
547 pub use super::MarkupTag;
548 #[cfg(feature = "system-object")]
549 pub use crate::system::object::IObjectMethods;
550 #[cfg(feature = "system-enum")]
551 pub use crate::system::r#enum::IEnumMethods;
552 #[cfg(feature = "system-valuetype")]
553 pub use crate::system::valuetype::IValueTypeMethods;
554 pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
555}