Exemple #1
0
        public IPacketWithSize ReadPacket(IMinecraftDataReader reader)
        {
            BlockType      = reader.ReadByte();
            AllowPlacement = (AllowPlacement)reader.ReadByte();
            AllowDeletion  = (AllowDeletion)reader.ReadByte();;

            return(this);
        }
        public IPacketWithSize ReadPacket(IMinecraftDataReader reader)
        {
            BlockType = reader.ReadByte();
            AllowPlacement = (AllowPlacement) reader.ReadByte();
            AllowDeletion = (AllowDeletion) reader.ReadByte();;

            return this;
        }