Esempio n. 1
0
        public override byte[] GetBytes()
        {
            Octet octet = new Octet();

            octet.Marshal(_packetId);
            octet.Marshal(_packetLength);
            octet.Marshal(_keyLength);
            octet.Marshal(_key);
            octet.Marshal(_unknown);
            return(octet.GetBytes());
        }
Esempio n. 2
0
        public override byte[] GetBytes()
        {
            Octet data = new Octet();

            data.Marshal(_packetId);
            data.Marshal(_packetLength);
            data.Marshal(_userId);
            data.Marshal(0);
            data.Marshal(0);
            data.Marshal((byte)0x03);
            data.Marshal(0);
            data.Marshal(-1);
            data.Marshal(new byte[8]);
            return(data.GetBytes());
        }
Esempio n. 3
0
        public override byte[] GetBytes()
        {
            Octet data = new Octet();

            data.Marshal(_packetId);
            data.Marshal(_packetLength);
            data.Marshal(_userId);
            data.Marshal(_unknown);
            data.Marshal(_lastLoginTimestamp);
            data.Marshal(_lastLoginIPAddr);
            data.Marshal(_currentIPAddr);
            return(data.GetBytes());
        }
Esempio n. 4
0
        public override byte[] GetBytes()
        {
            Octet octet = new Octet();

            octet.Marshal(_packetId);
            octet.Marshal(_packetLength);
            octet.Marshal(_errorCode);
            octet.Marshal(_msgLength);
            octet.Marshal(_msg);
            octet.Marshal(_unknown2);
            return(octet.GetBytes());
        }
Esempio n. 5
0
        public override byte[] GetBytes()
        {
            Octet data = new Octet();

            data.Marshal(_packetId);
            data.MarshalCuint(_packetLength);
            data.Marshal(_unknown1);
            data.Marshal(_slot);
            data.Marshal(_userId);
            data.Marshal(_unknown2);
            data.Marshal(_charData);
            return(data.GetBytes());
        }
Esempio n. 6
0
        public override byte[] GetBytes()
        {
            Octet octet = new Octet();

            octet.Marshal(_packetId);
            octet.Marshal(_packetLength);
            octet.Marshal(_keyLength);
            octet.Marshal(_serverLoad);
            octet.Marshal(_unknown1);
            octet.Marshal(_serverFlags);
            octet.Marshal(_unknown2);
            octet.Marshal(_key);
            octet.Marshal(_gameVersion);
            octet.Marshal(_authMethod);
            octet.Marshal(_clientSignatureLength);
            octet.Marshal(_clientSignature);
            octet.Marshal(_expMultiplier);
            return(octet.GetBytes());
        }