fix:1、删除sdk相关。2、添加tips界面,修复bug

This commit is contained in:
2026-06-17 14:45:28 +08:00
parent 19efcb09fa
commit acf888d9be
1099 changed files with 127081 additions and 74087 deletions
+12 -12
View File
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using System.Globalization;
using AppsFlyerSDK;
// using AppsFlyerSDK;
using IgnoreOPS;
using UnityEngine;
@@ -230,17 +230,17 @@ namespace ChillConnect
if (!GameHelper.IsAdModelOfPay() && !string.IsNullOrEmpty(purch_number) && decimal.TryParse(purch_number, out decimal revenue))
{
Debug.Log("付费收益上报AF----------- " + revenue);
adCallbackInfo.Clear();
adCallbackInfo.Add("appsflyer_id", AppsFlyer.getAppsFlyerId());
adCallbackInfo.Add("customer_user_id", GameHelper.GetLoginModel().Uid.ToString());
adCallbackInfo.Add("af_currency", "USD");
adCallbackInfo.Add("af_revenue", revenue.ToString(CultureInfo.InvariantCulture));
AppsFlyer.sendEvent("af_purchase", adCallbackInfo);
GameHelper.SendRevenueToServer(Property.Af_purchase, "af_revenue", (int)(revenue * 10000));
RankSystemMgr.Instance.addGameExp(addPointType.buy, revenue);
// Debug.Log("付费收益上报AF----------- " + revenue);
// adCallbackInfo.Clear();
// adCallbackInfo.Add("appsflyer_id", AppsFlyer.getAppsFlyerId());
// adCallbackInfo.Add("customer_user_id", GameHelper.GetLoginModel().Uid.ToString());
// adCallbackInfo.Add("af_currency", "USD");
// adCallbackInfo.Add("af_revenue", revenue.ToString(CultureInfo.InvariantCulture));
// AppsFlyer.sendEvent("af_purchase", adCallbackInfo);
//
// GameHelper.SendRevenueToServer(Property.Af_purchase, "af_revenue", (int)(revenue * 10000));
//
// RankSystemMgr.Instance.addGameExp(addPointType.buy, revenue);
}
}