Ejemplo n.º 1
0
 public new void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     NbWaves      = reader.ReadByte();
     Alternatives = new GroupMonsterStaticInformations[reader.ReadShort()];
     for (var i = 0; i < Alternatives.Length; i++)
     {
         (Alternatives[i] = new GroupMonsterStaticInformations()).Deserialize(reader);
     }
 }
Ejemplo n.º 2
0
        public new void Deserialize(IDataReader reader)
        {
            base.Deserialize(reader);
            UInt32 wrappedBoolean = 0;

            StaticInfos = new GroupMonsterStaticInformations();
            StaticInfos.Deserialize(reader);
            CreationTime      = reader.ReadDouble();
            AgeBonusRate      = (UInt32)reader.ReadInt();
            LootShare         = (SByte)reader.ReadByte();
            AlignmentSide     = (SByte)reader.ReadByte();
            wrappedBoolean    = (UInt32)reader.ReadByte();
            KeyRingBonus      = BooleanByteWrapper.GetFlag(wrappedBoolean, 0);
            HasHardcoreDrop   = BooleanByteWrapper.GetFlag(wrappedBoolean, 1);
            HasAVARewardToken = BooleanByteWrapper.GetFlag(wrappedBoolean, 2);
        }