terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Font.cs
Go to the documentation of this file.
1using System;
8
9namespace UnityEngine
10{
11 [NativeHeader("Modules/TextRendering/Public/FontImpl.h")]
12 [NativeHeader("Modules/TextRendering/Public/Font.h")]
13 [StaticAccessor("TextRenderingPrivate", StaticAccessorType.DoubleColon)]
14 [NativeClass("TextRendering::Font")]
15 [global::Cpp2ILInjected.Token(Token = "0x200000C")]
16 public sealed class Font : Object
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x14000001")]
19 public static event Action<Font> textureRebuilt
20 {
22 [global::Cpp2ILInjected.Token(Token = "0x6000024")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1FA5AA8", Offset = "0x1FA5AA8", Length = "0xCC")]
24 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
25 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.FontUpdateTracker", Member = "TrackText", MemberParameters = new object[] { "UnityEngine.UI.Text" }, ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Delegate), Member = "Combine", MemberParameters = new object[]
28 {
31 }, ReturnType = typeof(Delegate))]
32 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
33 add
34 {
35 throw null;
36 }
38 [global::Cpp2ILInjected.Token(Token = "0x6000025")]
39 [global::Cpp2ILInjected.Address(RVA = "0x1FA5B74", Offset = "0x1FA5B74", Length = "0xCC")]
40 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.FontUpdateTracker", Member = "UntrackText", MemberParameters = new object[] { "UnityEngine.UI.Text" }, ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Delegate), Member = "Remove", MemberParameters = new object[]
44 {
47 }, ReturnType = typeof(Delegate))]
48 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
49 remove
50 {
51 throw null;
52 }
53 }
54
55 [global::Cpp2ILInjected.Token(Token = "0x17000008")]
56 public extern Material material
57 {
58 [global::Cpp2ILInjected.Token(Token = "0x6000026")]
59 [global::Cpp2ILInjected.Address(RVA = "0x1FA5C40", Offset = "0x1FA5C40", Length = "0x3C")]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "get_mainTexture", ReturnType = typeof(Texture))]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
62 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
63 [MethodImpl(4096)]
64 get;
65 }
66
67 [global::Cpp2ILInjected.Token(Token = "0x17000009")]
68 public extern bool dynamic
69 {
70 [global::Cpp2ILInjected.Token(Token = "0x6000027")]
71 [global::Cpp2ILInjected.Address(RVA = "0x1FA4CEC", Offset = "0x1FA4CEC", Length = "0x3C")]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "get_pixelsPerUnit", ReturnType = typeof(float))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "GetGenerationSettings", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(TextGenerationSettings))]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
75 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
76 [MethodImpl(4096)]
77 get;
78 }
79
80 [global::Cpp2ILInjected.Token(Token = "0x1700000A")]
81 public extern int fontSize
82 {
83 [global::Cpp2ILInjected.Token(Token = "0x6000028")]
84 [global::Cpp2ILInjected.Address(RVA = "0x1FA5C7C", Offset = "0x1FA5C7C", Length = "0x3C")]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "get_pixelsPerUnit", ReturnType = typeof(float))]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
87 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
88 [MethodImpl(4096)]
89 get;
90 }
91
93 [global::Cpp2ILInjected.Token(Token = "0x6000029")]
94 [global::Cpp2ILInjected.Address(RVA = "0x1FA5CB8", Offset = "0x1FA5CB8", Length = "0x84")]
95 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
96 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
97 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
98 internal static void InvokeTextureRebuilt_Internal(Font font)
99 {
100 throw null;
101 }
102
103 [global::Cpp2ILInjected.Token(Token = "0x600002A")]
104 [global::Cpp2ILInjected.Address(RVA = "0x1FA5D3C", Offset = "0x1FA5D3C", Length = "0x44")]
105 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "IsValidChar", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
106 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
107 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
108 public bool HasCharacter(char c)
109 {
110 throw null;
111 }
112
113 [global::Cpp2ILInjected.Token(Token = "0x600002B")]
114 [global::Cpp2ILInjected.Address(RVA = "0x1FA5D80", Offset = "0x1FA5D80", Length = "0x44")]
115 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
116 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
117 [MethodImpl(4096)]
118 private extern bool HasCharacter(int c);
119
122 [global::Cpp2ILInjected.Token(Token = "0x4000049")]
123 private static Action<Font> textureRebuilt;
124
127 [global::Cpp2ILInjected.Token(Token = "0x400004A")]
128 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
130
131 [global::Cpp2ILInjected.Token(Token = "0x200000D")]
133 }
134}
class f__AnonymousType0<< Count > j__TPar
static Action< Font > textureRebuilt
Definition Font.cs:20
Font.FontTextureRebuildCallback m_FontTextureRebuildCallback
Definition Font.cs:129
bool dynamic
Definition Font.cs:69
bool HasCharacter(char c)
Definition Font.cs:108
static void InvokeTextureRebuilt_Internal(Font font)
Definition Font.cs:98
delegate void FontTextureRebuildCallback()
Material material
Definition Font.cs:57
bool HasCharacter(int c)