fix: 恢复金币总量上报数量
parent
049de5acd3
commit
6779c6ef73
|
|
@ -284,16 +284,28 @@ namespace Guru
|
||||||
SetUserProperty(Analytics.PropertyPlay, $"{bplay}");
|
SetUserProperty(Analytics.PropertyPlay, $"{bplay}");
|
||||||
}
|
}
|
||||||
|
|
||||||
// public static void SetUserTotalCoins(int totalCoins)
|
/// <summary>
|
||||||
// {
|
/// 上报用户全部的 Coin (当前值)
|
||||||
// SetUserProperty(Analytics.PropertyCoin, $"{totalCoins}");
|
/// </summary>
|
||||||
// }
|
/// <param name="totalCoins"></param>
|
||||||
|
public static void SetUserTotalCoins(int totalCoins)
|
||||||
|
{
|
||||||
|
SetUserProperty(Analytics.PropertyCoin, $"{totalCoins}");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 上报用户免费金币的 数量 (累加值)
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="freeCoins"></param>
|
||||||
public static void SetUserFreeCoins(int freeCoins)
|
public static void SetUserFreeCoins(int freeCoins)
|
||||||
{
|
{
|
||||||
SetUserProperty(Analytics.PropertyNonIAPCoin, $"{freeCoins}");
|
SetUserProperty(Analytics.PropertyNonIAPCoin, $"{freeCoins}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 上报用户付费金币的 数量 (累加值)
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="freeCoins"></param>
|
||||||
public static void SetUserPaidCoins(int paidCoins)
|
public static void SetUserPaidCoins(int paidCoins)
|
||||||
{
|
{
|
||||||
SetUserProperty(Analytics.PropertyIAPCoin, $"{paidCoins}");
|
SetUserProperty(Analytics.PropertyIAPCoin, $"{paidCoins}");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue