Exemplo n.º 1
0
 private void OnAuthTicketResponse(GetAuthSessionTicketResponse_t response)
 {
     if (SteamHelper.lastTicket == response.m_hAuthTicket)
     {
         SteamHelper.lastTicketResult = response.m_eResult;
     }
 }
 // Token: 0x06008612 RID: 34322 RVA: 0x002F04F8 File Offset: 0x002EE6F8
 private void FBKDGBINBOO(GetAuthSessionTicketResponse_t IAFAANLMOAG)
 {
     if (IAFAANLMOAG.m_eResult == (EResult)0)
     {
         base.StopCoroutine("_Value2");
         Debug.Log("Added checkpoint");
         base.StartCoroutine(this.IGGDDOEPOGM());
     }
 }
 // Token: 0x06008618 RID: 34328 RVA: 0x002F058E File Offset: 0x002EE78E
 private void GPKLHJBMMHJ(GetAuthSessionTicketResponse_t IAFAANLMOAG)
 {
     if (IAFAANLMOAG.m_eResult == (EResult)0)
     {
         base.StopCoroutine("_Value");
         Debug.Log("Object ID. Case-Sensitive");
         base.StartCoroutine(this.JAMOCIMBCIB());
     }
 }
 // Token: 0x0600861D RID: 34333 RVA: 0x002F068A File Offset: 0x002EE88A
 private void BIIBADBPGAP(GetAuthSessionTicketResponse_t IAFAANLMOAG)
 {
     if (IAFAANLMOAG.m_eResult == EResult.k_EResultOK)
     {
         base.StopCoroutine("MNAMCHHEOFB");
         Debug.Log("[SteamManager] Connection established, authorization");
         base.StartCoroutine(this.MNAMCHHEOFB());
     }
 }
 // Token: 0x0600861E RID: 34334 RVA: 0x002F06BB File Offset: 0x002EE8BB
 private void KCNAGNEENOG(GetAuthSessionTicketResponse_t IAFAANLMOAG)
 {
     if (IAFAANLMOAG.m_eResult == EResult.k_EResultOK)
     {
         base.StopCoroutine("CameraFilterPack/AAA_Super_Computer");
         Debug.Log("_ScreenResolution");
         base.StartCoroutine(this.OKCMHICMJHP());
     }
 }
 // Token: 0x060085F4 RID: 34292 RVA: 0x002EFD03 File Offset: 0x002EDF03
 private void JOKPEOJNLJL(GetAuthSessionTicketResponse_t IAFAANLMOAG)
 {
     if (IAFAANLMOAG.m_eResult == EResult.k_EResultOK)
     {
         base.StopCoroutine("CameraFilterPack/Oculus_NightVision2");
         Debug.Log("_Blue_C");
         base.StartCoroutine(this.MNAMCHHEOFB());
     }
 }
Exemplo n.º 7
0
        public void OnGetAuthSessionTicketResponse(GetAuthSessionTicketResponse_t pCallback)
        {
            Debug.Log("OnGetAuthSessionTicketResponse ");
            string str = string.Empty;

            for (int i = 0; i < ticketLength; i++)
            {
                str = str + $"{ticket[i]:X2}";
            }
            Ticket = str;
            base.ScheduleEvent(new SteamAuthSessionRecievedEvent(), this.Entity);
        }
 private void OnGetAuthSessionTicketResponse(GetAuthSessionTicketResponse_t pCallback)
 {
     Debug.Log(string.Concat(new object[]
     {
         "[",
         163,
         " - GetAuthSessionTicketResponse] - ",
         pCallback.m_hAuthTicket,
         " -- ",
         pCallback.m_eResult
     }));
 }
Exemplo n.º 9
0
        private static void HandleGetAuthSessionTicketResponce(GetAuthSessionTicketResponse_t pCallback)
        {
            if (ActiveTickets != null && ActiveTickets.Any(p => p.Handle == pCallback.m_hAuthTicket))
            {
                var ticket = ActiveTickets.First(p => p.Handle == pCallback.m_hAuthTicket);

                if (ticket.Handle != default(HAuthTicket) && ticket.Handle != HAuthTicket.Invalid &&
                    pCallback.m_eResult == EResult.k_EResultOK)
                {
                    ticket.Verified = true;
                }
            }
        }
Exemplo n.º 10
0
        private void OnGetAuthSessionTicketResponse(GetAuthSessionTicketResponse_t pCallback)
        {
            byte[] tempTicket = new byte[ticketLength];
            for (int i = 0; i < tempTicket.Length; i++)
            {
                tempTicket[i] = ticket[i];
            }

            string hexEncodedTicket = "";

            hexEncodedTicket = System.BitConverter.ToString(tempTicket);
            hexEncodedTicket = hexEncodedTicket.Replace("-", "");
            hexTicket        = hexEncodedTicket;

            LoginWithSteam();
        }
Exemplo n.º 11
0
 /// <summary>
 ///     Called after attempting to generate an auth session ticket.
 ///     This further connects the user to the server
 /// </summary>
 /// <param name="pCallback"></param>
 private static void OnValidateAuthSessionTicketResponse(GetAuthSessionTicketResponse_t pCallback)
 {
     // Make the server login request if we've received confirmation that the auth session ticket
     // was successfully created
     switch (pCallback.m_eResult)
     {
         // Send the login request to Flamingo.
         case EResult.k_EResultOK:
             AuthSessionTicketValidated = true;
             break;
         // All error cases returned from Steam
         default:
             Logger.Error("Could not generate an auth session ticket!", LogType.Runtime);
             return;
     }
 }
Exemplo n.º 12
0
 private void OnAuthSessionTicketResponse(GetAuthSessionTicketResponse_t response)
 {
     if (response.m_hAuthTicket == authTicketHandle)
     {
         if (sessionTicketDelegate != null)
         {
             Debug.Log("AuthSessionTicket result: " + response.m_eResult + ", firing callback");
             sessionTicketDelegate(response.m_eResult == EResult.k_EResultOK ? pendingAuthTicket : null);
             pendingAuthTicket = null;
             authTicketHandle  = default(HAuthTicket);
         }
     }
     else
     {
         Debug.Log("Ignoring AuthSessionTicketResponse we did not request: " + response.m_hAuthTicket);
     }
 }
Exemplo n.º 13
0
        private void OnGetAuthSessionTicketResponse(GetAuthSessionTicketResponse_t pCallback)
        {
            CSteamID steamId = SteamUser.GetSteamID();

            if (pCallback.m_hAuthTicket != HAuthTicket.Invalid && m_ticketSize != 0)
            {
                m_steamIdStr = steamId.ToString();
                m_authToken  = BitConverter.ToString(m_ticket, 0, (int)m_ticketSize).Replace("-", string.Empty);

                if (!m_bAttachSteam)
                {
                    GCore.Wrapper.AuthenticateSteam(m_steamIdStr, m_authToken, false, onHandleAuthResponse + m_steamAuthSuccess, m_steamFailure, m_steamObj);
                }
                else
                {
                    GCore.Wrapper.IdentityService.AttachSteamIdentity(m_steamIdStr, m_authToken, onHandleAuthResponse + m_steamAuthSuccess, m_steamFailure, m_steamObj);
                }
            }
        }
Exemplo n.º 14
0
        /**
         * Checks the session ticket response.
         */
        private void OnResponse(GetAuthSessionTicketResponse_t callback)
        {
            // Stops the coroutine
            StopCoroutine(m_coroutine);

            // Checks the response result
            if (callback.m_eResult == EResult.k_EResultOK)
            {
                Debug.Log("Session ticket valid");

                m_ticketString = String.FromByteArray(m_ticket, (int)m_length);

                m_request.OnSuccess();
            }
            else
            {
                OnFailure("Invalid session ticket: " + callback.ToString());
            }
        }
Exemplo n.º 15
0
 // Token: 0x0600095C RID: 2396 RVA: 0x00044F79 File Offset: 0x00043179
 private void OnAuthSessionTicketResponse(GetAuthSessionTicketResponse_t data)
 {
     ZLog.Log("Session auth respons callback");
 }
Exemplo n.º 16
0
 void OnAuthSessionTicket(GetAuthSessionTicketResponse_t response)
 {
     Logger.Trace("Got OnAuthSessionTicket: " + response.m_eResult.ToString());
 }
Exemplo n.º 17
0
        private void OnGetAuthSessionTicketResponse(GetAuthSessionTicketResponse_t result)
        {
            string steamSessionticket = BitConverter.ToString(_ticketBlob, 0, (int)_ticketSize).Replace("-", "").ToLowerInvariant();

            PlayerProofGenerated.Invoke(steamSessionticket);
        }
 void OnGetAuthSessionTicketResponse(GetAuthSessionTicketResponse_t pCallback)
 {
     Console.WriteLine("[" + GetAuthSessionTicketResponse_t.k_iCallback + " - GetAuthSessionTicketResponse] - " + pCallback.m_hAuthTicket + " -- " + pCallback.m_eResult);
 }
Exemplo n.º 19
0
 private void AuthResponse(GetAuthSessionTicketResponse_t t)
 {
     _responded = true;
 }
Exemplo n.º 20
0
 void OnGetAuthSessionTicketResponse(GetAuthSessionTicketResponse_t pCallback)
 {
     Debug.Log("[" + GetAuthSessionTicketResponse_t.k_iCallback + " - GetAuthSessionTicketResponse] - " + pCallback.m_hAuthTicket + " -- " + pCallback.m_eResult);
 }
Exemplo n.º 21
0
 //Never seems to get called!!!
 void OnGetAuthSessionTicketResponse(GetAuthSessionTicketResponse_t pCallback)
 {
     Console.WriteLine("[" + GetAuthSessionTicketResponse_t.k_iCallback + " - GetAuthSessionTicketResponse] - " + pCallback.m_hAuthTicket + " -- " + pCallback.m_eResult);
     s_resetEvent.Set(); //Tell that callback is finished.
 }