@Override
  public void serialize(DataWriter writer) {

    writer.write_vi32(this.playerId);

    writer.write_i32(this.accountId);
  }
  @Override
  public void serialize(DataWriter writer) {

    writer.write_i32(this.slaveId);

    writer.write_ui16(spellCooldowns.length);

    for (int i = 0; i < spellCooldowns.length; i++) {

      spellCooldowns[i].serialize(writer);
    }

    writer.write_i8(this.summonCount);

    writer.write_i8(this.bombCount);
  }
  @Override
  public void serialize(DataWriter writer) {

    writer.write_i32(this.spellId);
  }