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
NetTextModule.cs
Go to the documentation of this file.
1using System;
2using System.IO;
6using Terraria.Chat;
8using Terraria.Net;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x20009FE")]
13 public class NetTextModule : NetModule
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6004B8A")]
16 [global::Cpp2ILInjected.Address(RVA = "0x8A9968", Offset = "0x8A9968", Length = "0x80")]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatHelper), Member = "SendChatMessageFromClient", MemberParameters = new object[] { typeof(ChatMessage) }, ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatMessage), Member = "GetMaxSerializedSize", ReturnType = typeof(int))]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetModule), Member = "CreatePacket", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(NetPacket))]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetPacket), Member = "get_Writer", ReturnType = typeof(BinaryWriter))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatMessage), Member = "Serialize", MemberParameters = new object[] { typeof(BinaryWriter) }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
25 {
26 throw null;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x6004B8B")]
30 [global::Cpp2ILInjected.Address(RVA = "0x8A99E8", Offset = "0x8A99E8", Length = "0xC")]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
33 {
34 throw null;
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x6004B8C")]
38 [global::Cpp2ILInjected.Address(RVA = "0x8A99F4", Offset = "0x8A99F4", Length = "0x100")]
39 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatHelper), Member = "DisplayMessageOnClient", MemberParameters = new object[]
41 {
44 typeof(int)
45 }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatHelper), Member = "SendChatMessageToClientAs", MemberParameters = new object[]
47 {
48 typeof(byte),
51 typeof(int)
52 }, ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatHelper), Member = "BroadcastChatMessageAs", MemberParameters = new object[]
54 {
55 typeof(byte),
58 typeof(int)
59 }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetworkText), Member = "GetMaxSerializedSize", ReturnType = typeof(int))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetModule), Member = "CreatePacket", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(NetPacket))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetPacket), Member = "get_Writer", ReturnType = typeof(BinaryWriter))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetworkText), Member = "Serialize", MemberParameters = new object[] { typeof(BinaryWriter) }, ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "WriteRGB", MemberParameters = new object[]
66 {
69 }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
72 {
73 throw null;
74 }
75
76 [global::Cpp2ILInjected.Token(Token = "0x6004B8D")]
77 [global::Cpp2ILInjected.Address(RVA = "0x8A9AF4", Offset = "0x8A9AF4", Length = "0xF8")]
78 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetTextModule), Member = "Deserialize", MemberParameters = new object[]
80 {
82 typeof(int)
83 }, ReturnType = typeof(bool))]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetworkText), Member = "Deserialize", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(NetworkText))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ReadRGB", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(Color))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatHelper), Member = "DisplayMessage", MemberParameters = new object[]
88 {
91 typeof(byte)
92 }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
95 {
96 throw null;
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x6004B8E")]
100 [global::Cpp2ILInjected.Address(RVA = "0x8A9BEC", Offset = "0x8A9BEC", Length = "0x90")]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetTextModule), Member = "Deserialize", MemberParameters = new object[]
102 {
104 typeof(int)
105 }, ReturnType = typeof(bool))]
106 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatMessage), Member = "Deserialize", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(ChatMessage))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatCommandProcessor), Member = "ProcessIncomingMessage", MemberParameters = new object[]
109 {
111 typeof(int)
112 }, ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
115 {
116 throw null;
117 }
118
119 [global::Cpp2ILInjected.Token(Token = "0x6004B8F")]
120 [global::Cpp2ILInjected.Address(RVA = "0x8A9C7C", Offset = "0x8A9C7C", Length = "0x80")]
121 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetHost", ReturnType = typeof(bool))]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetTextModule), Member = "DeserializeAsServer", MemberParameters = new object[]
124 {
126 typeof(int)
127 }, ReturnType = typeof(bool))]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetTextModule), Member = "DeserializeAsClient", MemberParameters = new object[]
129 {
131 typeof(int)
132 }, ReturnType = typeof(bool))]
133 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
134 public override bool Deserialize(BinaryReader reader, int senderPlayerId)
135 {
136 throw null;
137 }
138
139 [global::Cpp2ILInjected.Token(Token = "0x6004B90")]
140 [global::Cpp2ILInjected.Address(RVA = "0x8A9CFC", Offset = "0x8A9CFC", Length = "0x8")]
141 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetModule), Member = ".ctor", ReturnType = typeof(void))]
144 {
145 throw null;
146 }
147 }
148}
class f__AnonymousType0<< Count > j__TPar
static NetPacket SerializeClientMessage(ChatMessage message)
static NetPacket SerializeServerMessage(NetworkText text, Color color, byte authorId)
override bool Deserialize(BinaryReader reader, int senderPlayerId)
bool DeserializeAsClient(BinaryReader reader, int senderPlayerId)
static NetPacket SerializeServerMessage(NetworkText text, Color color)
bool DeserializeAsServer(BinaryReader reader, int senderPlayerId)