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
MessageBuffer.cs
Go to the documentation of this file.
1using System;
2using System.IO;
5
6namespace Terraria
7{
8 // Token: 0x020003FF RID: 1023
9 public class MessageBuffer
10 {
11 // Token: 0x14000029 RID: 41
12 // (add) Token: 0x060020C1 RID: 8385 RVA: 0x000CD498 File Offset: 0x000CB698
13 // (remove) Token: 0x060020C2 RID: 8386 RVA: 0x000CD4B4 File Offset: 0x000CB6B4
15 {
17 add
18 {
19 if (!true)
20 {
21 }
23 if (@delegate != null)
24 {
25 }
26 }
28 remove
29 {
30 if (!true)
31 {
32 }
34 if (@delegate != null)
35 {
36 }
37 }
38 }
39
40 // Token: 0x060020C3 RID: 8387 RVA: 0x000CD4D0 File Offset: 0x000CB6D0
41 public void Reset(bool setupActive = false)
42 {
43 }
44
45 // Token: 0x060020C4 RID: 8388 RVA: 0x000CD4E0 File Offset: 0x000CB6E0
47 {
48 return this._temporaryProjectileAI;
49 }
50
51 // Token: 0x060020C5 RID: 8389 RVA: 0x000CD4F8 File Offset: 0x000CB6F8
52 private float[] ReUseTemporaryNPCAI()
53 {
54 return this._temporaryNPCAI;
55 }
56
57 // Token: 0x060020C6 RID: 8390 RVA: 0x000CD510 File Offset: 0x000CB710
58 public void ProcessData(byte[] messageData, int length, [Out] int messageType)
59 {
60 int num = 1;
61 int num2 = this.whoAmI;
62 if (num == 0)
63 {
64 }
65 }
66
67 // Token: 0x060020C7 RID: 8391 RVA: 0x000CFF5C File Offset: 0x000CE15C
68 private static void ReadAccessoryVisibility(BinaryReader reader, bool[] hideVisibleAccessory)
69 {
70 }
71
72 // Token: 0x060020C8 RID: 8392 RVA: 0x000CFF6C File Offset: 0x000CE16C
73 private static void TrySendingItemArray(int plr, Item[] array, int slotStartIndex)
74 {
75 long entityId = array.entityId;
76 }
77
78 // Token: 0x060020C9 RID: 8393 RVA: 0x000CFF84 File Offset: 0x000CE184
80 {
81 if (!true)
82 {
83 }
84 if (!true)
85 {
86 }
87 base..ctor();
88 }
89
90 // Token: 0x060020CA RID: 8394 RVA: 0x000CFFA0 File Offset: 0x000CE1A0
91 // Note: this type is marked as 'beforefieldinit'.
93 {
94 }
95
96 // Token: 0x04002CE7 RID: 11495
97 private static byte[] processData;
98
99 // Token: 0x04002CE8 RID: 11496
101
102 // Token: 0x04002CE9 RID: 11497
103 private static BinaryReader reader;
104
105 // Token: 0x04002CEA RID: 11498
106 public bool broadcast;
107
108 // Token: 0x04002CEB RID: 11499
109 public int whoAmI;
110
111 // Token: 0x04002CEC RID: 11500
112 public int spamCount;
113
114 // Token: 0x04002CED RID: 11501
115 public int maxSpam;
116
117 // Token: 0x04002CEE RID: 11502
120
121 // Token: 0x04002CEF RID: 11503
122 private float[] _temporaryProjectileAI;
123
124 // Token: 0x04002CF0 RID: 11504
125 private float[] _temporaryNPCAI;
126 }
127}
class f__AnonymousType0<< Count > j__TPar
static TileChangeReceivedEvent OnTileChangeReceived
void ProcessData(byte[] messageData, int length, [Out] int messageType)
void Reset(bool setupActive=false)
static byte[] processData
static BinaryReader reader
static MemoryStream readerStream
static void TrySendingItemArray(int plr, Item[] array, int slotStartIndex)
static void ReadAccessoryVisibility(BinaryReader reader, bool[] hideVisibleAccessory)
float[] ReUseTemporaryProjectileAI()