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
NetPingModule.cs
Go to the documentation of this file.
1using System;
2using System.IO;
6using Terraria.Map;
7using Terraria.Net;
8
10{
11 [global::Cpp2ILInjected.Token(Token = "0x20009FB")]
12 public class NetPingModule : NetModule
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x6004B83")]
15 [global::Cpp2ILInjected.Address(RVA = "0x8A9314", Offset = "0x8A9314", Length = "0xB4")]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "TriggerPing", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetPingModule), Member = "Deserialize", MemberParameters = new object[]
18 {
20 typeof(int)
21 }, ReturnType = typeof(bool))]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetModule), Member = "CreatePacket", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(NetPacket))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetPacket), Member = "get_Writer", ReturnType = typeof(BinaryWriter))]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "WriteVector2", MemberParameters = new object[]
26 {
29 }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
31 public static NetPacket Serialize(Vector2 position)
32 {
33 throw null;
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x6004B84")]
37 [global::Cpp2ILInjected.Address(RVA = "0x8A93C8", Offset = "0x8A93C8", Length = "0x138")]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ReadVector2", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(Vector2))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetPingModule), Member = "Serialize", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(NetPacket))]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetManager), Member = "Broadcast", MemberParameters = new object[]
42 {
44 typeof(int)
45 }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PingMapLayer), Member = "Add", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
48 public override bool Deserialize(BinaryReader reader, int userId)
49 {
50 throw null;
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x6004B85")]
54 [global::Cpp2ILInjected.Address(RVA = "0x8A9500", Offset = "0x8A9500", Length = "0x8")]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetModule), Member = ".ctor", ReturnType = typeof(void))]
58 {
59 throw null;
60 }
61 }
62}
class f__AnonymousType0<< Count > j__TPar
static NetPacket Serialize(Vector2 position)
override bool Deserialize(BinaryReader reader, int userId)