public void rechargeNotify(string args) { ParseReceiveParams(args); U3dGfanSender.ShowToast("rechargeNotify finishi...IsSuccess " + IsSuccess()); ThirdPartyPlatform.OnRecharge(IsSuccess()); }
public void modifyUserInfoNotify(string args) { ParseReceiveParams(args); U3dGfanSender.ShowToast("modifyUserInfoNotify finishi...IsSuccess " + IsSuccess()); ThirdPartyPlatform.OnModifyUserInfo(IsSuccess()); }
public void loginNotify(string args) { if (!ParseReceiveParams(args)) { U3dGfanSender.ShowToast("loginNotify ParseReceiveParams error..."); } U3dGfanSender.ShowToast("loginNotify finishi...IsSuccess " + IsSuccess()); ThirdPartyPlatform.OnLogin(IsSuccess()); }
public void paymentNotify(string args) { ParseReceiveParams(args); U3dGfanSender.ShowToast("paymentNotify finishi...IsSuccess " + IsSuccess()); if (IsSuccess()) { string orderId = receiveParams[KEY_ORDER_ID]; string payName = receiveParams[KEY_PAY_NAME]; string payDescription = receiveParams[KEY_PAY_DESCRIPTION]; string gfanMoney = receiveParams[KEY_PAY_MONEY]; string count = receiveParams[KEY_PRODUCT_COUNT]; ThirdPartyPlatform.OnPayForCommodity(IsSuccess(), orderId); Statistics.INSTANCE.ChargeEvent(orderId, "GFan", payName, count, gfanMoney); } else { string error = receiveParams[KEY_ERROR_CODE]; ThirdPartyPlatform.OnPayForCommodity(IsSuccess(), ""); } }
public void closeSdkNotify(string args) { U3dGfanSender.ShowToast("closeSdkNotify finishi..."); ThirdPartyPlatform.OnCloseSDK(true); }