Exemplo n.º 1
0
 public SlaveSwitchContextMessage(int summonerId, int slaveId, SpellItem[] slaveSpells, CharacterCharacteristicsInformations slaveStats)
 {
     SummonerId = summonerId;
     SlaveId = slaveId;
     SlaveSpells = slaveSpells;
     SlaveStats = slaveStats;
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 3
0
 public SpellListMessage(bool spellPrevisualization, SpellItem[] spells)
 {
     SpellPrevisualization = spellPrevisualization;
     Spells = spells;
 }
Exemplo n.º 4
0
 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);
 }