/// <exception cref="System.IO.IOException"/>
 public override void ReadPacketData(java.io.DataInputStream datainputstream)
 {
     xPosition       = datainputstream.ReadInt();
     zPosition       = datainputstream.ReadInt();
     size            = datainputstream.ReadShort();
     coordinateArray = new short[size];
     typeArray       = new byte[size];
     metadataArray   = new byte[size];
     for (int i = 0; i < size; i++)
     {
         coordinateArray[i] = datainputstream.ReadShort();
     }
     datainputstream.ReadFully(typeArray);
     datainputstream.ReadFully(metadataArray);
 }
Beispiel #2
0
 /// <exception cref="System.IO.IOException"/>
 public override void ReadPacketData(java.io.DataInputStream datainputstream)
 {
     field_28052_a = datainputstream.ReadShort();
     field_28051_b = datainputstream.ReadShort();
     field_28053_c = new byte[datainputstream.ReadByte()];
     datainputstream.ReadFully(field_28053_c);
 }