Esempio n. 1
0
    public void onCreateLinkingSuccess(string result)
    {
        Debug.Log("GamePotEventListener::onCreateLinkSuccess() - " + result);
        NUserInfo userInfo = JsonMapper.ToObject <NUserInfo>(result);

        if (cbCreateLinking != null)
        {
            cbCreateLinking(NCommon.ResultLinking.SUCCESS, userInfo);
            cbCreateLinking = null;
        }
        else
        {
            if (GamePotInterface != null)
            {
                GamePotInterface.onCreateLinkingSuccess(userInfo);
            }
        }
    }