72 lines
1.6 KiB
C#
72 lines
1.6 KiB
C#
#if UNITY_WEBGL || WEBGL_BYTEDANCE
|
|
using System.Collections.Generic;
|
|
|
|
namespace HC.Plugins
|
|
{
|
|
public class HCWebGL : HCSingleton<HCWebGL>, HCIBaseAnalytics
|
|
{
|
|
public void InitializeSdk()
|
|
{
|
|
}
|
|
|
|
public TrackEventPlatform GetTrackEventPlatform()
|
|
{
|
|
return TrackEventPlatform.WebGL;
|
|
}
|
|
|
|
public bool ContainsRemoteConfigKey(string key)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public string GetRemoteConfigStr(string key, string defaultValue)
|
|
{
|
|
return defaultValue;
|
|
}
|
|
|
|
public int GetRemoteConfigInt(string key, int defaultValue)
|
|
{
|
|
return defaultValue;
|
|
}
|
|
|
|
public bool GetRemoteConfigBool(string key, bool defaultValue)
|
|
{
|
|
return defaultValue;
|
|
}
|
|
|
|
public void SetUserId(string userId)
|
|
{
|
|
}
|
|
|
|
public void TrackEvent(string eventName, Dictionary<string, object> eventDic = null)
|
|
{
|
|
HCWebGLSDKManager.Analytics.TrackEvent(eventName, eventDic);
|
|
}
|
|
|
|
public void TrackAdRevenue(string eventName, Dictionary<string, object> dictionary)
|
|
{
|
|
TrackEvent(eventName, dictionary);
|
|
}
|
|
|
|
public void SetSuperProperties(Dictionary<string, object> mPoperties)
|
|
{
|
|
}
|
|
|
|
public void UserSet(Dictionary<string, object> mPoperties)
|
|
{
|
|
}
|
|
|
|
public void Login(string userId)
|
|
{
|
|
}
|
|
|
|
public void UserSetOnce(Dictionary<string, object> properties)
|
|
{
|
|
}
|
|
|
|
public void SetLogEnable(bool enable)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
#endif |