terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
TextGenerationSettings.cs
Go to the documentation of this file.
1using System;
2
3namespace UnityEngine
4{
5 // Token: 0x02000004 RID: 4
7 {
8 // Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
9 private bool CompareColors(Color left, Color right)
10 {
11 }
12
13 // Token: 0x06000002 RID: 2 RVA: 0x00002060 File Offset: 0x00000260
14 private bool CompareVector2(Vector2 left, Vector2 right)
15 {
16 }
17
18 // Token: 0x06000003 RID: 3 RVA: 0x00002070 File Offset: 0x00000270
20 {
21 float r = this.color.r;
22 float g = this.color.g;
23 float b = this.color.b;
24 float a = this.color.a;
25 float r2 = other.color.r;
26 float g2 = other.color.g;
27 float b2 = other.color.b;
28 float a2 = other.color.a;
29 int num = this.fontSize;
30 int num2 = other.fontSize;
31 float num3 = this.scaleFactor;
32 float num4 = other.scaleFactor;
33 int num5 = this.resizeTextMinSize;
34 int num6 = other.resizeTextMinSize;
35 int num7 = this.resizeTextMaxSize;
36 int num8 = other.resizeTextMaxSize;
37 float num9 = this.lineSpacing;
38 float num10 = other.lineSpacing;
40 FontStyle fontStyle2 = other.fontStyle;
41 bool flag = other.richText;
42 bool flag2 = this.richText;
44 TextAnchor textAnchor2 = other.textAnchor;
45 bool flag3 = other.alignByGeometry;
46 bool flag4 = this.alignByGeometry;
47 bool flag5 = other.resizeTextForBestFit;
48 bool flag6 = this.resizeTextForBestFit;
49 bool flag7 = other.updateBounds;
50 bool flag8 = this.updateBounds;
52 HorizontalWrapMode horizontalWrapMode2 = other.horizontalOverflow;
54 VerticalWrapMode verticalWrapMode2 = other.verticalOverflow;
55 float x = this.generationExtents.x;
56 float y = this.generationExtents.y;
57 float x2 = other.generationExtents.x;
58 float y2 = other.generationExtents.y;
59 float x3 = this.pivot.x;
60 float y3 = this.pivot.y;
61 float x4 = other.pivot.x;
62 float y4 = other.pivot.y;
63 bool flag9;
64 return flag9;
65 }
66
67 // Token: 0x0400000B RID: 11
68 public Font font;
69
70 // Token: 0x0400000C RID: 12
71 public Color color;
72
73 // Token: 0x0400000D RID: 13
74 public int fontSize;
75
76 // Token: 0x0400000E RID: 14
77 public float lineSpacing;
78
79 // Token: 0x0400000F RID: 15
80 public bool richText;
81
82 // Token: 0x04000010 RID: 16
83 public float scaleFactor;
84
85 // Token: 0x04000011 RID: 17
87
88 // Token: 0x04000012 RID: 18
90
91 // Token: 0x04000013 RID: 19
92 public bool alignByGeometry;
93
94 // Token: 0x04000014 RID: 20
96
97 // Token: 0x04000015 RID: 21
99
100 // Token: 0x04000016 RID: 22
102
103 // Token: 0x04000017 RID: 23
104 public bool updateBounds;
105
106 // Token: 0x04000018 RID: 24
108
109 // Token: 0x04000019 RID: 25
111
112 // Token: 0x0400001A RID: 26
114
115 // Token: 0x0400001B RID: 27
117
118 // Token: 0x0400001C RID: 28
120 }
121}
class f__AnonymousType0<< Count > j__TPar
bool CompareVector2(Vector2 left, Vector2 right)
bool Equals(TextGenerationSettings other)
bool CompareColors(Color left, Color right)