public ArenaRankInfos(Types.ArenaRanking ranking, Types.ArenaLeagueRanking leagueRanking, uint victoryCount, uint fightcount, short numFightNeededForLadder) { this.ranking = ranking; this.leagueRanking = leagueRanking; this.victoryCount = victoryCount; this.fightcount = fightcount; this.numFightNeededForLadder = numFightNeededForLadder; }
public virtual void Deserialize(IDataReader reader) { ranking = new Types.ArenaRanking(); ranking.Deserialize(reader); leagueRanking = new Types.ArenaLeagueRanking(); leagueRanking.Deserialize(reader); victoryCount = reader.ReadVarUhShort(); fightcount = reader.ReadVarUhShort(); numFightNeededForLadder = reader.ReadShort(); }