public override void Deserialize(IUnmanagedMemoryReader reader)
 {
     base.Deserialize(reader);
     Amount = reader.ReadByte();
     Items  = new PurchaseItem[Amount];
     for (int i = 0; i < Amount; i++)
     {
         var item = Items[i] = new PurchaseItem();
         item.Index  = reader.ReadInt32();
         item.Option = reader.ReadByte();
     }
 }
 public override void Deserialize(IUnmanagedMemoryReader reader)
 {
     base.Deserialize(reader);
     Username = reader.ReadString(Encoding.Unicode);
     Password = reader.ReadString(Encoding.ASCII);
     if (reader.Length >= 5)
     {
         ClientLongVersion = reader.ReadInt32();
     }
     if (reader.Length >= 1)
     {
         AuthenticationStage = reader.ReadByte();
     }
 }
Exemple #3
0
        public override void Deserialize(IUnmanagedMemoryReader reader)
        {
            var data = Data;

            base.Deserialize(reader);
            Username            = reader.ReadString(Encoding.Unicode);
            data.AccountId      = reader.ReadInt32();
            data.Unknown2       = reader.ReadInt32();
            data.Unknown3       = reader.ReadInt32();
            data.Unknown4       = reader.ReadInt32();
            data.Key1           = reader.ReadInt32();
            data.Key2           = reader.ReadInt32();
            Data                = data;
            AuthenticationStage = reader.ReadByte();
        }
Exemple #4
0
 public override void Deserialize(IUnmanagedMemoryReader reader)
 {
     base.Deserialize(reader);
     CharacterId  = reader.ReadInt32();
     Name         = reader.ReadString(Encoding.Unicode);
     Strength     = reader.ReadByte();
     Stamina      = reader.ReadByte();
     Dexterity    = reader.ReadByte();
     Willpower    = reader.ReadByte();
     StatusPoints = reader.ReadByte();
     Level        = reader.ReadByte();
 }
 public override void Deserialize(IUnmanagedMemoryReader reader)
 {
     base.Deserialize(reader);
     Type    = (MessengerType)reader.ReadByte();
     Unknown = reader.ReadInt32();
 }
Exemple #6
0
 public override void Deserialize(IUnmanagedMemoryReader reader)
 {
     base.Deserialize(reader);
     Type = (SynchronizationType)reader.ReadByte();
 }
Exemple #7
0
 public override void Deserialize(IUnmanagedMemoryReader reader)
 {
     base.Deserialize(reader);
     Type = reader.ReadByte();
 }