public override void Deserialize(ICustomDataInput reader) { Ranking = new ArenaRanking(); Ranking.Deserialize(reader); LeagueRanking = new ArenaLeagueRanking(); LeagueRanking.Deserialize(reader); VictoryCount = reader.ReadVarShort(); Fightcount = reader.ReadVarShort(); NumFightNeededForLadder = reader.ReadShort(); }
public ArenaRankInfos( ArenaRanking ranking, ArenaLeagueRanking leagueRanking, short victoryCount, short fightcount, short numFightNeededForLadder ) { Ranking = ranking; LeagueRanking = leagueRanking; VictoryCount = victoryCount; Fightcount = fightcount; NumFightNeededForLadder = numFightNeededForLadder; }