Ejemplo n.º 1
0
        // Token: 0x0600174A RID: 5962 RVA: 0x000299D4 File Offset: 0x000289D4
        private void ArbitrationSucceeded(XmlString xmlString)
        {
            if (this.isDisposed)
            {
                return;
            }
            this.arbitratedPacket.HasArbitrated = true;
            EventResult eventResult = base.ScoringMethod.Arbitrated(this, xmlString);

            if (eventResult != null)
            {
                InternalLobby.Get().SetExitPath(eventResult.ExitPath);
                InternalLobby.Get().CacheEventId((uint)eventResult.EventId);
                InternalLobby.Get().SetLobbyInviteId(eventResult.LobbyInviteId);
                InternalLobby.Get().SetEventTimeoutInSeconds((float)eventResult.InviteLifetimeInMilliseconds / 1000f);
                if (eventResult.Accolades != null)
                {
                    this.StoreAccolades(eventResult.Accolades);
                }
            }
            this.internalInstancedEvent.ArbitrationSucceeded();
        }