Пример #1
0
 // Token: 0x0600174E RID: 5966 RVA: 0x00029B1C File Offset: 0x00028B1C
 public void FillTimingOutPacket(ICallback callback)
 {
     if (this.IsTimingOut)
     {
         TimingOutPacket timingOutPacket = new TimingOutPacket();
         this.TimingOutRemaining.Fill(timingOutPacket.GetTimeLeft());
         callback.Respond(timingOutPacket);
         callback.Destroy();
         callback = null;
     }
 }
Пример #2
0
        // Token: 0x0600174F RID: 5967 RVA: 0x00029B68 File Offset: 0x00028B68
        public void FillPursuitPacket(ICallback callback)
        {
            EntrantInfo entrantInfo = base.Entrants.Find((EntrantInfo e) => e.Opponent is LocalHumanOpponent);

            if (entrantInfo != null)
            {
                base.ScoringMethod.Fill(this.pursuitInfo, entrantInfo);
            }
            callback.Respond(this.pursuitInfo);
            callback.Destroy();
            callback = null;
        }
Пример #3
0
        // Token: 0x060016FF RID: 5887 RVA: 0x00028578 File Offset: 0x00027578
        public virtual void FillRadarPacket(ICallback callback)
        {
            RadarTrackerCollection radarTrackerCollection = new RadarTrackerCollection();

            for (int i = 0; i < this.radarMethodList.Count; i++)
            {
                RadarTracker tracker = radarTrackerCollection.CreateRadarTracker();
                this.radarMethodList[i].Fill(tracker, this);
            }
            callback.Respond(radarTrackerCollection);
            callback.Destroy();
            callback = null;
        }
Пример #4
0
 // Token: 0x06001703 RID: 5891 RVA: 0x00028A94 File Offset: 0x00027A94
 public virtual void FillAccoladesPacket(ICallback callback, bool forceFetch)
 {
     if (forceFetch || null == this.accolades)
     {
         if (this.mAccoladesCallback == null)
         {
             this.mAccoladesCallback = callback;
             this.FetchAccolades();
             return;
         }
     }
     else
     {
         callback.Respond(this.accolades);
         callback.Destroy();
         callback = null;
     }
 }
Пример #5
0
        // Token: 0x06001701 RID: 5889 RVA: 0x0002865C File Offset: 0x0002765C
        public virtual void FillArbitratedPacket(ICallback callback)
        {
            ArbitratedPacket arbitratedPacket = this.arbitratedPacket;

            arbitratedPacket.Reset();
            this.ScoringMethod.Fill(arbitratedPacket, this);
            this.ScoringMethod.Sort(this.Entrants);
            int count = this.Entrants.Count;

            for (int i = 0; i < count; i++)
            {
                EntrantInfo entrantInfo = this.Entrants[i];
                if (entrantInfo.ScoringState == null)
                {
                    break;
                }
                entrantInfo.ScoringState.Rank = i + 1;
                this.ScoringMethod.Fill(arbitratedPacket, entrantInfo);
            }
            callback.Respond(arbitratedPacket);
            callback.Destroy();
            callback = null;
        }