コード例 #1
0
  @Override
  public void deserialize(DataReader reader) {

    this.playerId = reader.read_vi32();

    this.accountId = reader.read_i32();
  }
コード例 #2
0
  @Override
  public void deserialize(DataReader reader) {

    this.slaveId = reader.read_i32();

    int spellCooldowns_length = reader.read_ui16();

    this.spellCooldowns =
        new com.ankamagames.dofus.network.types.game.context.fight.GameFightSpellCooldown
            [spellCooldowns_length];

    for (int i = 0; i < spellCooldowns_length; i++) {

      com.ankamagames.dofus.network.types.game.context.fight.GameFightSpellCooldown
          spellCooldowns_it =
              new com.ankamagames.dofus.network.types.game.context.fight.GameFightSpellCooldown();

      spellCooldowns_it.deserialize(reader);
      this.spellCooldowns[i] = spellCooldowns_it;
    }

    this.summonCount = reader.read_i8();

    this.bombCount = reader.read_i8();
  }
コード例 #3
0
  @Override
  public void deserialize(DataReader reader) {

    this.spellId = reader.read_i32();
  }