예제 #1
0
        public void ReadPacket(MinecraftStream stream)
        {
            var length = stream.ReadInt16();
            var data   = stream.ReadArray();

            Data = new byte[length];
            Array.Copy(data, Data, length);
            Complete = stream.ReadUInt8() / 100.0;
        }