Пример #1
0
 public void Write(BinaryWriter writer, bool writePacketID = true)
 {
     if (writePacketID)
     {
         writer.Write(packetID);
     }
     item.Write(writer);
     writer.Write(chunkX);
     writer.Write(chunkY);
     writer.Write(index);
     writer.Write(unknown);
     writer.Write(type);
     writer.Write(new byte[3]);
 }
Пример #2
0
 public void Write(BinaryWriter writer)
 {
     writer.Write(guid);
     item.Write(writer);
 }