private void OnEventProcessed()

in Assets/Xbox Live/Scripts/Social.cs [100:125]


        private void OnEventProcessed(object sender, SocialEvent socialEvent)
        {
            this.xboxLiveUser = SignInManager.Instance.GetPlayer(this.PlayerNumber);

            if (this.xboxLiveUser != null && socialEvent.User.Gamertag == this.xboxLiveUser.Gamertag)
            {
                switch (socialEvent.EventType)
                {
                    case SocialEventType.LocalUserAdded:
                        if (socialEvent.ErrorCode == 0)
                        {
                            this.CreateDefaultSocialGraphs();
                        }
                        break;
                    case SocialEventType.SocialUserGroupLoaded:
                    case SocialEventType.SocialUserGroupUpdated:
                    case SocialEventType.PresenceChanged:
                        this.RefreshSocialGroups();
                        break;
                }
            }
            else
            {
                this.xboxLiveUser = SignInManager.Instance.GetPlayer(this.PlayerNumber);
            }
        }