예제 #1
0
        public void RequestPlayerProof()
        {
            Proof = null;

            Users.GetUserProof().OnComplete((Message <UserProof> proof) =>
            {
                if (!proof.IsError)
                {
                    Proof = proof.GetUserProof().Value;
                    PlayerProofGenerated.Invoke(Proof);
                }
            });
        }
예제 #2
0
        private void OnGetAuthSessionTicketResponse(GetAuthSessionTicketResponse_t result)
        {
            string steamSessionticket = BitConverter.ToString(_ticketBlob, 0, (int)_ticketSize).Replace("-", "").ToLowerInvariant();

            PlayerProofGenerated.Invoke(steamSessionticket);
        }