public SlaveSwitchContextMessage(int summonerId, int slaveId, SpellItem[] slaveSpells, CharacterCharacteristicsInformations slaveStats)
 {
     SummonerId = summonerId;
     SlaveId = slaveId;
     SlaveSpells = slaveSpells;
     SlaveStats = slaveStats;
 }
Beispiel #2
0
 public override void Deserialize(BigEndianReader reader)
 {
     SpellPrevisualization = reader.ReadBoolean();
     var limit = reader.ReadUShort();
     Spells = new SpellItem[limit];
     for (int i = 0; i < limit; i++)
     {
         Spells[i] = new SpellItem();
         Spells[i].Deserialize(reader);
     }
 }
Beispiel #3
0
 public SpellListMessage(bool spellPrevisualization, SpellItem[] spells)
 {
     SpellPrevisualization = spellPrevisualization;
     Spells = spells;
 }
 public override void Deserialize(BigEndianReader reader)
 {
     SummonerId = reader.ReadInt();
     SlaveId = reader.ReadInt();
     var limit = reader.ReadUShort();
     SlaveSpells = new SpellItem[limit];
     for (int i = 0; i < limit; i++)
     {
         SlaveSpells[i] = new SpellItem();
         SlaveSpells[i].Deserialize(reader);
     }
     SlaveStats = new CharacterCharacteristicsInformations();
     SlaveStats.Deserialize(reader);
 }