コード例 #1
0
        public IPacketWithSize ReadPacket(IMinecraftDataReader reader)
        {
            BlockType      = reader.ReadByte();
            AllowPlacement = (AllowPlacement)reader.ReadByte();
            AllowDeletion  = (AllowDeletion)reader.ReadByte();;

            return(this);
        }
コード例 #2
0
        public IPacketWithSize ReadPacket(IMinecraftDataReader reader)
        {
            BlockType = reader.ReadByte();
            AllowPlacement = (AllowPlacement) reader.ReadByte();
            AllowDeletion = (AllowDeletion) reader.ReadByte();;

            return this;
        }