Esempio n. 1
0
    public void onAgreeDialogFailure(string result)
    {
        Debug.Log("GamePotEventListener::onAgreeDialogFailure()" + result);
        NError error = JsonMapper.ToObject <NError>(result);

        if (cbShowAgree != null)
        {
            cbShowAgree(false, null, error);
            cbShowAgree = null;
        }
        else
        {
            if (GamePotInterface != null)
            {
                GamePotInterface.onAgreeDialogFailure(error);
            }
        }
    }