// Token: 0x06001990 RID: 6544 RVA: 0x0002E090 File Offset: 0x0002D090 public void Fill(LivePacket livePacket, EntrantInfo entrant) { TeamEscapeLivePacket teamEscapeLivePacket = livePacket as TeamEscapeLivePacket; TeamEscapeScoringState teamEscapeScoringState = entrant.ScoringState as TeamEscapeScoringState; if (null != teamEscapeLivePacket && teamEscapeScoringState != null) { TeamEscapeEntrantLivePacket teamEscapeEntrantLivePacket = teamEscapeLivePacket.CreateEntrantLivePacket(); teamEscapeEntrantLivePacket.PersonaId = entrant.PersonaId; teamEscapeEntrantLivePacket.SetPersonaName(entrant.Opponent.OpponentName); teamEscapeEntrantLivePacket.FinishReason = teamEscapeScoringState.FinishReason; teamEscapeEntrantLivePacket.Rank = teamEscapeScoringState.Rank; teamEscapeEntrantLivePacket.IsLocal = (entrant.Opponent is LocalHumanOpponent); teamEscapeEntrantLivePacket.Highlight = teamEscapeScoringState.Highlight; teamEscapeEntrantLivePacket.DistanceToFinish = teamEscapeScoringState.DistanceToFinish; teamEscapeEntrantLivePacket.SetDistanceToFinishString(FormatUtils.FormatDistance(teamEscapeScoringState.DistanceToFinish)); teamEscapeLivePacket.NumBusts += teamEscapeScoringState.Busts; if (teamEscapeEntrantLivePacket.IsLocal) { System.TimeSpan span = System.TimeSpan.FromSeconds((double)teamEscapeScoringState.TimeRemaining); span.Fill(teamEscapeLivePacket.GetEventTimer()); teamEscapeLivePacket.IsTimerUrgent = teamEscapeScoringState.IsTimerUrgent; } } }