TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ DecompressTileBlock()

static void Terraria.NetMessage.DecompressTileBlock ( Stream stream)
inlinestatic

Definition at line 2394 of file NetMessage.cs.

2395 {
2396 //IL_0003: Unknown result type (might be due to invalid IL or missing references)
2397 //IL_0009: Expected O, but got Unknown
2398 DeflateStream input = new DeflateStream(stream, (CompressionMode)1, true);
2399 try
2400 {
2401 BinaryReader binaryReader = new BinaryReader((Stream)(object)input);
2402 DecompressTileBlock_Inner(binaryReader, binaryReader.ReadInt32(), binaryReader.ReadInt32(), binaryReader.ReadInt16(), binaryReader.ReadInt16());
2403 }
2404 finally
2405 {
2406 ((IDisposable)input)?.Dispose();
2407 }
2408 }
static void DecompressTileBlock_Inner(BinaryReader reader, int xStart, int yStart, int width, int height)

References Terraria.NetMessage.DecompressTileBlock_Inner().

Referenced by Terraria.MessageBuffer.GetData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: