示例#1
0
 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();
 }
示例#2
0
 public ArenaRankInfos(
     ArenaRanking ranking,
     ArenaLeagueRanking leagueRanking,
     short victoryCount,
     short fightcount,
     short numFightNeededForLadder
     )
 {
     Ranking                 = ranking;
     LeagueRanking           = leagueRanking;
     VictoryCount            = victoryCount;
     Fightcount              = fightcount;
     NumFightNeededForLadder = numFightNeededForLadder;
 }