示例#1
0
 public void Refresh()
 {
     if (Players != null)
     {
         return;
     }
     Players = new Dictionary <int, RacingPlayerData>();
     for (int i = 0; i < OrderedPids.Count; i++)
     {
         int pid  = OrderedPids[i];
         var info = Hotfix_LT.Data.CharacterTemplateManager.Instance.GetHeroInfo(pid);
         Players[pid] = new RacingPlayerData(Group, i + 1, pid, info.name, info.model_name);
     }
 }
示例#2
0
 public ActivityRacingPlayer(RacingPlayerData pd_)
 {
     pd = pd_;
 }