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
PingMapLayer.cs
Go to the documentation of this file.
1using System;
4
5namespace Terraria.Map
6{
7 // Token: 0x020006BD RID: 1725
8 public class PingMapLayer : IMapLayer
9 {
10 // Token: 0x06003922 RID: 14626 RVA: 0x0022C838 File Offset: 0x0022AA38
11 public void Draw(MapOverlayDrawContext context, string text)
12 {
14 }
15
16 // Token: 0x06003923 RID: 14627 RVA: 0x0022C88C File Offset: 0x0022AA8C
17 public void Add(Vector2 position)
18 {
19 int <Count>k__BackingField = this._pings.<Count>k__BackingField;
21 }
22
23 // Token: 0x06003924 RID: 14628 RVA: 0x0022C8AC File Offset: 0x0022AAAC
24 public PingMapLayer()
25 {
26 }
27
28 // Token: 0x040079B2 RID: 31154
29 private const double PING_DURATION_IN_SECONDS = 15.0;
30
31 // Token: 0x040079B3 RID: 31155
32 private const double PING_FRAME_RATE = 10.0;
33
34 // Token: 0x040079B4 RID: 31156
36
37 // Token: 0x020006BE RID: 1726
38 private struct Ping
39 {
40 // Token: 0x06003925 RID: 14629 RVA: 0x0022C8C0 File Offset: 0x0022AAC0
41 public Ping(Vector2 position)
42 {
43 if (!true)
44 {
45 }
47 this.Time = now;
48 }
49
50 // Token: 0x040079B5 RID: 31157
52
53 // Token: 0x040079B6 RID: 31158
55 }
56 }
57}
class f__AnonymousType0<< Count > j__TPar
readonly SlotVector< PingMapLayer.Ping > _pings
void Draw(MapOverlayDrawContext context, string text)
const double PING_DURATION_IN_SECONDS
void Add(Vector2 position)
static DateTime Now
Definition DateTime.cs:530