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
TextAsset.cs
Go to the documentation of this file.
1using System;
3using System.Text;
5
6namespace UnityEngine
7{
8 // Token: 0x020000A8 RID: 168
9 [NativeHeader("Runtime/Scripting/TextAsset.h")]
10 public class TextAsset : Object
11 {
12 // Token: 0x170000AE RID: 174
13 // (get) Token: 0x0600030B RID: 779 RVA: 0x0000666C File Offset: 0x0000486C
14 public byte[] bytes
15 {
16 get
17 {
18 throw new MissingMethodException();
19 }
20 }
21
22 // Token: 0x170000AF RID: 175
23 // (get) Token: 0x0600030C RID: 780 RVA: 0x00006680 File Offset: 0x00004880
24 public string text
25 {
26 get
27 {
28 throw new MissingMethodException();
29 }
30 }
31
32 // Token: 0x0600030D RID: 781 RVA: 0x00006694 File Offset: 0x00004894
33 public override string ToString()
34 {
35 return this.text;
36 }
37
38 // Token: 0x0600030E RID: 782 RVA: 0x000066A8 File Offset: 0x000048A8
39 internal static string DecodeString(byte[] bytes)
40 {
41 if (!true)
42 {
43 }
44 if (!false)
45 {
46 return;
47 }
48 }
49
50 // Token: 0x020000A9 RID: 169
51 private static class EncodingUtility
52 {
53 // Token: 0x0600030F RID: 783 RVA: 0x000066C0 File Offset: 0x000048C0
55 {
57 }
58
59 // Token: 0x04000366 RID: 870
61
62 // Token: 0x04000367 RID: 871
64 }
65 }
66}
class f__AnonymousType0<< Count > j__TPar
static Encoding UTF8
Definition Encoding.cs:828
static readonly KeyValuePair< byte[], Encoding >[] encodingLookup
Definition TextAsset.cs:60
static readonly Encoding targetEncoding
Definition TextAsset.cs:63
static string DecodeString(byte[] bytes)
Definition TextAsset.cs:39
override string ToString()
Definition TextAsset.cs:33