Esempio n. 1
0
 public UnknownC2(BinaryReader reader, DecoderStore store)
 {
     Source = reader.ReadUInt32();
     Unit   = reader.ReadUInt32();
     Card   = reader.ReadUInt16();
     CardX  = reader.ReadUInt16();
 }
Esempio n. 2
0
 public UnknownBb(BinaryReader reader, DecoderStore store)
 {
     Source   = reader.ReadUInt32();
     Unknown  = reader.ReadBytes(17);
     X        = reader.ReadSingle();
     Y        = reader.ReadSingle();
     Unknown2 = reader.ReadBytes(2);
 }
Esempio n. 3
0
 public BuildWall(BinaryReader reader, DecoderStore store)
 {
     Source       = reader.ReadUInt32();
     UnknownValue = reader.ReadUInt32();
     if (UnknownValue != 2409)
     {
         Unknown = reader.ReadByte();
     }
 }
Esempio n. 4
0
        public DestructC9(BinaryReader reader, DecoderStore store)
        {
            Source = reader.ReadUInt32();
            var count = reader.ReadInt32();

            Units = new List <uint>();
            for (var i = 0; i < count; i++)
            {
                Units.Add(reader.ReadUInt32());
            }
        }
Esempio n. 5
0
        public PveUnknownA6(BinaryReader reader, DecoderStore store)
        {
            Unknown        = reader.ReadBytes(12);
            UnknownStructs = new List <byte[]>();
            var count = reader.ReadInt32();

            for (var i = 0; i < count; i++)
            {
                UnknownStructs.Add(reader.ReadBytes(12));
            }
        }
Esempio n. 6
0
        public UnknownC1(BinaryReader reader, DecoderStore store)
        {
            Source = reader.ReadUInt32();
            var count = reader.ReadInt16();

            Units = new List <uint>();
            for (var i = 0; i < count; i++)
            {
                Units.Add(reader.ReadUInt32());
            }
            Unknown = reader.ReadBytes(8);
        }
 public UseUnitAbility(BinaryReader reader, DecoderStore store)
 {
     Source     = reader.ReadUInt32();
     SourceUnit = reader.ReadUInt32();
     Card       = reader.ReadUInt16();
     CardX      = reader.ReadUInt16();
     Unknown    = reader.ReadBytes(5);
     Duration   = reader.ReadUInt32();
     Unknown1   = reader.ReadBytes(4);
     Target     = reader.ReadUInt32();
     X          = reader.ReadSingle();
     Y          = reader.ReadSingle();
 }
Esempio n. 8
0
 public Summon(BinaryReader reader, DecoderStore store)
 {
     Card     = reader.ReadUInt16();
     CardX    = reader.ReadUInt16();
     Source   = reader.ReadUInt32();
     Unknown  = reader.ReadByte();
     CardC    = reader.ReadUInt16();
     CardCx   = reader.ReadUInt16();
     Charges  = reader.ReadByte();
     X        = reader.ReadSingle();
     Y        = reader.ReadSingle();
     Unknown1 = reader.ReadBytes(4);
 }
Esempio n. 9
0
        public PveUnknownCb(BinaryReader reader, DecoderStore store)
        {
            Source = reader.ReadUInt32();
            var count = reader.ReadInt32();

            Units = new List <uint>();
            for (var i = 0; i < count; i++)
            {
                Units.Add(reader.ReadUInt32());
            }

            Target = reader.ReadUInt32();
        }
Esempio n. 10
0
 public LinearSpell(BinaryReader reader, DecoderStore store)
 {
     Card     = reader.ReadUInt16();
     CardX    = reader.ReadUInt16();
     Source   = reader.ReadUInt32();
     Charges  = reader.ReadByte();
     CardC    = reader.ReadUInt16();
     CardCx   = reader.ReadUInt16();
     Unknown1 = reader.ReadBytes(18);
     X        = reader.ReadSingle();
     Y        = reader.ReadSingle();
     Unknown2 = reader.ReadBytes(12);
     X2       = reader.ReadSingle();
     Y2       = reader.ReadSingle();
 }
Esempio n. 11
0
        public MoveUnit(BinaryReader reader, DecoderStore store)
        {
            Source = reader.ReadUInt32();
            var count = reader.ReadUInt16();

            Units = new List <uint>();
            for (var i = 0; i < count; i++)
            {
                Units.Add(reader.ReadUInt32());
            }
            var newcount = reader.ReadUInt16();

            Debug.WriteLine(newcount);
            Debug.WriteLine(newcount);
            Positions = new List <PointF>();
            for (var i = 0; i < newcount; i++)
            {
                Positions.Add(new PointF(reader.ReadSingle(), reader.ReadSingle()));
            }

            Unknown = reader.ReadBytes(6);
        }
Esempio n. 12
0
        public Attack(BinaryReader reader, DecoderStore store)
        {
            Source = reader.ReadUInt32();
            var unitCount = reader.ReadInt16();

            Units = new List <uint>();
            for (var i = 0; i < unitCount; i++)
            {
                Units.Add(reader.ReadUInt32());
            }

            Unknown = reader.ReadBytes(5 + 8);

            //Value1
            //reader.ReadUInt32();

            //Value2
            //reader.ReadUInt32();
            Target   = reader.ReadUInt32();
            X        = reader.ReadSingle();
            Y        = reader.ReadSingle();
            Unknown1 = reader.ReadByte();
        }
Esempio n. 13
0
 public CreateOrb(BinaryReader reader, DecoderStore store)
 {
     Source = reader.ReadUInt32();
     Unit = reader.ReadUInt32();
     Color = reader.ReadByte();
 }
Esempio n. 14
0
 public AbilityC3(BinaryReader reader, DecoderStore store)
 {
     Source  = reader.ReadUInt32();
     Unit    = reader.ReadUInt32();
     Unknown = reader.ReadBytes(4);
 }
Esempio n. 15
0
 public ToggleWallGate(BinaryReader reader, DecoderStore store)
 {
     Source  = reader.ReadUInt32();
     Unknown = reader.ReadBytes(4);
 }
Esempio n. 16
0
 public LeaveGame(BinaryReader reader, DecoderStore store)
 {
     SourceUserId = reader.ReadUInt32();
 }
Esempio n. 17
0
 public CreateMana(BinaryReader reader, DecoderStore store)
 {
     Source = reader.ReadUInt32();
     Unit   = reader.ReadUInt32();
 }
Esempio n. 18
0
 public UnknownA1(BinaryReader reader, DecoderStore store)
 {
     Unknown = reader.ReadBytes(8);
 }