コード例 #1
0
        public IPacketWithSize ReadPacket(IMinecraftDataReader reader)
        {
            BlockToHold = reader.ReadByte();
            PreventChange = (PreventChange) reader.ReadByte();

            return this;
        }
コード例 #2
0
        public IPacketWithSize ReadPacket(IProtocolDataReader reader)
        {
            BlockToHold   = reader.ReadByte();
            PreventChange = (PreventChange)reader.ReadByte();

            return(this);
        }