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
ChatMessage.cs
Go to the documentation of this file.
1using System;
2using System.IO;
4using System.Text;
9using Terraria.Net;
10
11namespace Terraria.Chat
12{
13 [global::Cpp2ILInjected.Token(Token = "0x200079A")]
14 public sealed class ChatMessage
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x170007B6")]
18 {
20 [global::Cpp2ILInjected.Token(Token = "0x6003FA3")]
21 [global::Cpp2ILInjected.Address(RVA = "0x74952C", Offset = "0x74952C", Length = "0x8")]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
23 get
24 {
25 throw null;
26 }
28 [global::Cpp2ILInjected.Token(Token = "0x6003FA4")]
29 [global::Cpp2ILInjected.Address(RVA = "0x749534", Offset = "0x749534", Length = "0x8")]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
31 private set
32 {
33 throw null;
34 }
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x170007B7")]
38 public string Text
39 {
41 [global::Cpp2ILInjected.Token(Token = "0x6003FA5")]
42 [global::Cpp2ILInjected.Address(RVA = "0x74953C", Offset = "0x74953C", Length = "0x8")]
43 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
44 get
45 {
46 throw null;
47 }
49 [global::Cpp2ILInjected.Token(Token = "0x6003FA6")]
50 [global::Cpp2ILInjected.Address(RVA = "0x749544", Offset = "0x749544", Length = "0x8")]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
52 set
53 {
54 throw null;
55 }
56 }
57
58 [global::Cpp2ILInjected.Token(Token = "0x170007B8")]
59 public bool IsConsumed
60 {
62 [global::Cpp2ILInjected.Token(Token = "0x6003FA7")]
63 [global::Cpp2ILInjected.Address(RVA = "0x74954C", Offset = "0x74954C", Length = "0x8")]
64 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
65 get
66 {
67 throw null;
68 }
70 [global::Cpp2ILInjected.Token(Token = "0x6003FA8")]
71 [global::Cpp2ILInjected.Address(RVA = "0x749554", Offset = "0x749554", Length = "0xC")]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
73 private set
74 {
75 throw null;
76 }
77 }
78
79 [global::Cpp2ILInjected.Token(Token = "0x6003FA9")]
80 [global::Cpp2ILInjected.Address(RVA = "0x749148", Offset = "0x749148", Length = "0x68")]
81 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatCommandProcessor), Member = "CreateOutgoingMessage", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ChatMessage))]
82 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatCommandId), Member = "FromType", MemberTypeParameters = new object[] { "T" }, ReturnType = typeof(ChatCommandId))]
85 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
86 public ChatMessage(string message)
87 {
88 throw null;
89 }
90
91 [global::Cpp2ILInjected.Token(Token = "0x6003FAA")]
92 [global::Cpp2ILInjected.Address(RVA = "0x749560", Offset = "0x749560", Length = "0x2C")]
93 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
95 private ChatMessage(string message, ChatCommandId commandId)
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x6003FAB")]
101 [global::Cpp2ILInjected.Address(RVA = "0x74958C", Offset = "0x74958C", Length = "0x94")]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetTextModule), Member = "SerializeClientMessage", MemberParameters = new object[] { typeof(ChatMessage) }, ReturnType = typeof(NetPacket))]
103 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatCommandId), Member = "Serialize", MemberParameters = new object[] { typeof(BinaryWriter) }, ReturnType = typeof(void))]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
107 public void Serialize(BinaryWriter writer)
108 {
109 throw null;
110 }
111
112 [global::Cpp2ILInjected.Token(Token = "0x6003FAC")]
113 [global::Cpp2ILInjected.Address(RVA = "0x749620", Offset = "0x749620", Length = "0xA0")]
114 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
115 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetTextModule), Member = "SerializeClientMessage", MemberParameters = new object[] { typeof(ChatMessage) }, ReturnType = typeof(NetPacket))]
116 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatCommandId), Member = "GetMaxSerializedSize", ReturnType = typeof(int))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "get_UTF8", ReturnType = typeof(Encoding))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
122 {
123 throw null;
124 }
125
126 [global::Cpp2ILInjected.Token(Token = "0x6003FAD")]
127 [global::Cpp2ILInjected.Address(RVA = "0x7496C0", Offset = "0x7496C0", Length = "0x90")]
128 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetTextModule), Member = "DeserializeAsServer", MemberParameters = new object[]
130 {
132 typeof(int)
133 }, ReturnType = typeof(bool))]
134 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
138 {
139 throw null;
140 }
141
142 [global::Cpp2ILInjected.Token(Token = "0x6003FAE")]
143 [global::Cpp2ILInjected.Address(RVA = "0x7491B0", Offset = "0x7491B0", Length = "0x60")]
144 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatCommandProcessor), Member = "CreateOutgoingMessage", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ChatMessage))]
145 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
149 {
150 throw null;
151 }
152
153 [global::Cpp2ILInjected.Token(Token = "0x6003FAF")]
154 [global::Cpp2ILInjected.Address(RVA = "0x1576BCC", Offset = "0x1576BCC", Length = "0x74")]
155 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
156 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
157 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
161 {
162 throw null;
163 }
164
165 [global::Cpp2ILInjected.Token(Token = "0x6003FB0")]
166 [global::Cpp2ILInjected.Address(RVA = "0x749348", Offset = "0x749348", Length = "0xC")]
167 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
168 public void Consume()
169 {
170 throw null;
171 }
172
174 [global::Cpp2ILInjected.Token(Token = "0x4007DC8")]
175 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
176 private ChatCommandId <CommandId>k__BackingField;
177
179 [global::Cpp2ILInjected.Token(Token = "0x4007DC9")]
180 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
181 private string <Text>k__BackingField;
182
184 [global::Cpp2ILInjected.Token(Token = "0x4007DCA")]
185 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
186 private bool <IsConsumed>k__BackingField;
187 }
188}
class f__AnonymousType0<< Count > j__TPar
ChatMessage(string message, ChatCommandId commandId)
static ChatMessage Deserialize(BinaryReader reader)
void Serialize(BinaryWriter writer)
void SetCommand(ChatCommandId commandId)
ChatCommandId< CommandId > k__BackingField
string< Text > k__BackingField
bool< IsConsumed > k__BackingField
ChatMessage(string message)