コード例 #1
0
    public void onPushNightFailure(string result)
    {
        Debug.Log("GamePotEventListener::onPushNightFailure()" + result);
        NError error = JsonMapper.ToObject <NError>(result);

        if (cbPushNightEnable != null)
        {
            cbPushNightEnable(false, error);
            cbPushNightEnable = null;
        }
        else
        {
            if (GamePotInterface != null)
            {
                GamePotInterface.onPushNightFailure(error);
            }
        }
    }