引导打点 新手引导打点接口
parent
933a46e232
commit
05faadb788
|
|
@ -9,4 +9,9 @@ public partial class BIManager : Singlenton<BIManager>, IInitable
|
|||
/// 游戏初始化加载打点
|
||||
/// </summary>
|
||||
public const string BI_GameStart = "Dev_GameStart";
|
||||
|
||||
/// <summary>
|
||||
/// 新手引导打点
|
||||
/// </summary>
|
||||
public const string BI_Guide = "Dev_Guide";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ public partial class BIManager : Singlenton<BIManager>, IInitable
|
|||
_isInit = true;
|
||||
|
||||
//初次启动游戏打点
|
||||
DebugUtil.Log("打点:GameStart");
|
||||
TrackEventOnce(BI_GameStart, param: new Dictionary<string, object>() { { "event", "first_open" } });
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1951,6 +1951,18 @@ namespace Gameplay
|
|||
|
||||
return lvTypeStr;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 新手引导阶段打点事件
|
||||
/// </summary>
|
||||
/// <param name="stepName"></param>
|
||||
public static void GuideStepBiEvent(string stepName)
|
||||
{
|
||||
BIManager.Instance.TrackEvent(BIManager.BI_Guide, new Dictionary<string, object>
|
||||
{
|
||||
{"event",stepName }
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue