public override void Deserialize(BinaryReader reader)
 {
     PlayerIndex = reader.ReadInt16();
     ScertId     = reader.ReadInt16();
     UNK_04      = reader.ReadInt16();
     IP          = reader.Read <IPAddress>();
     Key         = reader.Read <RSA_KEY>();
 }
Пример #2
0
 public void Deserialize(BinaryReader reader)
 {
     Type        = reader.Read <NetConnectionType>();
     AddressList = reader.Read <NetAddressList>();
     WorldID     = reader.ReadInt32();
     ServerKey   = reader.Read <RSA_KEY>();
     SessionKey  = reader.ReadString(Constants.NET_SESSION_KEY_LEN);
     AccessKey   = reader.ReadString(Constants.NET_ACCESS_KEY_LEN);
     reader.ReadBytes(2);
 }
Пример #3
0
        public override void Deserialize(BinaryReader reader)
        {
            //
            base.Deserialize(reader);

            //
            UNK_00      = reader.ReadByte();
            PlayerIndex = reader.ReadByte();
            PlayerIp    = new IPAddress(reader.ReadBytes(4));
            UNK_06      = reader.ReadUInt16();
            Key         = reader.Read <RSA_KEY>();
        }
        public override void Deserialize(BinaryReader reader)
        {
            //
            base.Deserialize(reader);

            //
            MessageID    = reader.Read <MessageId>();
            Confirmation = reader.Read <MGCL_ERROR_CODE>();
            AccessKey    = reader.ReadString(Constants.MGCL_ACCESSKEY_MAXLEN);
            reader.ReadBytes(1);
            pubKey         = reader.Read <RSA_KEY>();
            DmeClientIndex = reader.ReadInt32();
        }
Пример #5
0
        public override void Deserialize(BinaryReader reader)
        {
            SessionKey  = null;
            AccessToken = null;

            ARG1  = reader.ReadUInt32();
            AppId = reader.ReadInt32();
            Key   = reader.Read <RSA_KEY>();

            if (reader.BaseStream.Position < reader.BaseStream.Length)
            {
                SessionKey  = reader.ReadString(Constants.SESSIONKEY_MAXLEN);
                AccessToken = reader.ReadString(Constants.NET_ACCESS_KEY_LEN);
            }
        }
Пример #6
0
        public override void Deserialize(BinaryReader reader)
        {
            //
            base.Deserialize(reader);

            //
            MessageID = reader.Read <MessageId>();

            //
            SessionKey = reader.ReadString(Constants.SESSIONKEY_MAXLEN);
            reader.ReadBytes(2);
            MediusWorldID = reader.ReadInt32();
            JoinType      = reader.Read <MediusJoinType>();
            GamePassword  = reader.ReadString(Constants.GAMEPASSWORD_MAXLEN);
            GameHostType  = reader.Read <MediusGameHostType>();
            pubKey        = reader.Read <RSA_KEY>();
            AddressList   = reader.Read <NetAddressList>();
        }