update: 新增赋值接口

dev
胡宇飞 2024-07-17 09:34:23 +08:00
parent 6e5ede3958
commit 1841edcbf3
2 changed files with 6 additions and 1 deletions

View File

@ -453,6 +453,10 @@ namespace Guru
SetUserProperty(Consts.PropertyATTStatus, status); SetUserProperty(Consts.PropertyATTStatus, status);
} }
public static void SetAdjustId(string adjustId)
{
SetUserProperty(Consts.PropertyAdjustId, adjustId);
}
/// <summary> /// <summary>
/// 初始化时调用一下所有的属性打点 </br> /// 初始化时调用一下所有的属性打点 </br>

View File

@ -241,6 +241,7 @@ namespace Guru
public const string PropertyNoAds = "no_ads"; // 玩家是否去广告 public const string PropertyNoAds = "no_ads"; // 玩家是否去广告
public const string PropertyATTStatus = "att_status"; // ATT 状态 public const string PropertyATTStatus = "att_status"; // ATT 状态
public const string PropertyNotiPerm = "noti_perm"; // Notification Permission 状态 public const string PropertyNotiPerm = "noti_perm"; // Notification Permission 状态
public const string PropertyAdjustId = "adjust_id"; // AdjustId
public const string PropertyGDPR = "gdpr"; // GDPR状态 public const string PropertyGDPR = "gdpr"; // GDPR状态
// 经济相关 // 经济相关