Example #1
0
    public void onLogoutFailure(string result)
    {
        Debug.Log("GamePotEventListener::onLogOutFailure() - " + result);
        NError error = JsonMapper.ToObject <NError>(result);

        if (cbLogout != null)
        {
            cbLogout(false, error);
            cbLogout = null;
        }
        else
        {
            if (GamePotInterface != null)
            {
                GamePotInterface.onLogoutFailure(error);
            }
        }
    }