Ejemplo n.º 1
0
        public IPacketWithSize ReadPacket(IProtocolDataReader reader)
        {
            ExtName = reader.ReadString();
            Version = reader.ReadInt();

            return(this);
        }
Ejemplo n.º 2
0
        public IPacketWithSize ReadPacket(IProtocolDataReader reader)
        {
            Label   = reader.ReadString();
            Action  = reader.ReadString();
            KeyCode = reader.ReadInt();
            KeyMods = (KeyMods)reader.ReadByte();

            return(this);
        }
        public IPacket ReadPacket(IProtocolDataReader reader)
        {
            EntityID = reader.ReadInt();
            reader.ReadString(); // Unused
            Seed      = reader.ReadLong();
            Dimension = (Dimension)reader.ReadSByte();

            return(this);
        }
        public IPacket ReadPacket(IProtocolDataReader reader)
        {
            ProtocolVersion = reader.ReadInt();
            Username        = reader.ReadString();
            reader.ReadLong(); // Unused
            reader.ReadByte(); // Unused

            return(this);
        }