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
PingMapLayer.cs
Go to the documentation of this file.
1using System;
2using System.IO;
10using Terraria.UI;
11
12namespace Terraria.Map
13{
14 [global::Cpp2ILInjected.Token(Token = "0x20006BD")]
15 public class PingMapLayer : IMapLayer
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x6003922")]
18 [global::Cpp2ILInjected.Address(RVA = "0x1448418", Offset = "0x1448418", Length = "0x4B4")]
19 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFrame), Member = ".ctor", MemberParameters = new object[]
22 {
23 typeof(byte),
24 typeof(byte)
25 }, ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "op_Subtraction", MemberParameters = new object[]
28 {
31 }, ReturnType = typeof(TimeSpan))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "get_TotalSeconds", ReturnType = typeof(double))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MapOverlayDrawContext), Member = "Draw", MemberParameters = new object[]
34 {
39 }, ReturnType = typeof(MapOverlayDrawContext.DrawResult))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SlotVector<PingMapLayer.Ping>), Member = "Remove", MemberParameters = new object[] { typeof(SlotId) }, ReturnType = typeof(bool))]
41 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
42 public void Draw(ref MapOverlayDrawContext context, ref string text)
43 {
44 throw null;
45 }
46
47 [global::Cpp2ILInjected.Token(Token = "0x6003923")]
48 [global::Cpp2ILInjected.Address(RVA = "0x14488CC", Offset = "0x14488CC", Length = "0xB8")]
49 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "TriggerPing", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetPingModule), Member = "Deserialize", MemberParameters = new object[]
52 {
54 typeof(int)
55 }, ReturnType = typeof(bool))]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SlotVector<PingMapLayer.Ping>), Member = "get_Capacity", ReturnType = typeof(int))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PingMapLayer.Ping), Member = ".ctor", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SlotVector<PingMapLayer.Ping>), Member = "Add", MemberParameters = new object[] { typeof(PingMapLayer.Ping) }, ReturnType = typeof(SlotId))]
60 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
61 public void Add(Vector2 position)
62 {
63 throw null;
64 }
65
66 [global::Cpp2ILInjected.Token(Token = "0x6003924")]
67 [global::Cpp2ILInjected.Address(RVA = "0x14489F4", Offset = "0x14489F4", Length = "0x80")]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = ".cctor", ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SlotVector<PingMapLayer.Ping>), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
73 public PingMapLayer()
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x40079B2")]
79 private const double PING_DURATION_IN_SECONDS = 15.0;
80
81 [global::Cpp2ILInjected.Token(Token = "0x40079B3")]
82 private const double PING_FRAME_RATE = 10.0;
83
84 [global::Cpp2ILInjected.Token(Token = "0x40079B4")]
85 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
87
88 [global::Cpp2ILInjected.Token(Token = "0x20006BE")]
89 private struct Ping
90 {
91 [global::Cpp2ILInjected.Token(Token = "0x6003925")]
92 [global::Cpp2ILInjected.Address(RVA = "0x1448984", Offset = "0x1448984", Length = "0x70")]
93 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PingMapLayer), Member = "Add", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
96 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
97 public Ping(Vector2 position)
98 {
99 throw null;
100 }
101
102 [global::Cpp2ILInjected.Token(Token = "0x40079B5")]
103 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
105
106 [global::Cpp2ILInjected.Token(Token = "0x40079B6")]
107 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
109 }
110 }
111}
class f__AnonymousType0<< Count > j__TPar
void Draw(ref MapOverlayDrawContext context, ref string text)
readonly SlotVector< PingMapLayer.Ping > _pings
const double PING_DURATION_IN_SECONDS
void Add(Vector2 position)