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); } }
public ActivityRacingPlayer(RacingPlayerData pd_) { pd = pd_; }