示例#1
0
    private void OnDisable()
    {
        if (LobbyManager.m_playSolo)
        {
            return;
        }

        GameManager.UpdatePlayerStatistics(GameManager.PLAYFAB_LAST_LOG_IN, 0);
        var request = new PlayFab.AdminModels.RemovePlayerTagRequest {
            TagName = m_IP, PlayFabId = GameManager.m_playfabID
        };

        PlayFabAdminAPI.RemovePlayerTag(request,
                                        result => { Debug.Log("User statistics updated"); },
                                        error => { Debug.LogError(error.GenerateErrorReport()); });
    }