update: 更新 SDK 自定义的优先级事件
parent
5306922cca
commit
86742abe46
|
|
@ -1288,6 +1288,20 @@ namespace Guru
|
|||
return (int)GetEventPriority(eventName);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// set all events as 'Emergence' event, which will be triggered immediately
|
||||
/// </summary>
|
||||
internal void SetSDKEventPriority()
|
||||
{
|
||||
SetEventPriority(EventPriority.Emergence, new []
|
||||
{
|
||||
Consts.EventTchAdRev001Impression,
|
||||
Consts.EventTchAdRev02Impression,
|
||||
Consts.EventLevelStart,
|
||||
Consts.EventLevelEnd,
|
||||
});
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
@ -33,6 +33,7 @@ namespace Guru
|
|||
public const string EventJoinGroup = "join_group";
|
||||
public const string EventLevelEnd = "level_end";
|
||||
public const string EventLevelStart = "level_start";
|
||||
public const string EventLevelEndSuccessPrefix = "level_end_success_";
|
||||
public const string EventLevelUp = "level_up";
|
||||
public const string EventLogin = "login";
|
||||
public const string EventPostScore = "post_score";
|
||||
|
|
|
|||
|
|
@ -276,8 +276,9 @@ namespace Guru
|
|||
/// </summary>
|
||||
private void InitAllServices()
|
||||
{
|
||||
//-------- SetUserProperties ---------
|
||||
//-------- Init Analytics ---------
|
||||
InitUserProperties();
|
||||
SetSDKEventPriority();
|
||||
|
||||
bool useKeywords = false;
|
||||
bool useIAP = _initConfig.IAPEnabled;
|
||||
|
|
|
|||
Loading…
Reference in New Issue