public void ReadPacket(IMcStream stream) { ItemId = stream.ReadInt16(); Metadata = stream.ReadInt16(); var length = stream.ReadUInt8(); Data = stream.ReadUInt8Array(length); }
public void ReadPacket(IMcStream stream) { ItemId = stream.ReadInt16(); Metadata = stream.ReadInt16(); var length = stream.ReadUInt8(); Data = stream.ReadUInt8Array(length); }