使用 TapTap.TapDB 前提是必须依赖以下库:
using TapTap.TapDB;
TapDB.Init(string clientId, string channel, string gameVersion, bool isCN);
TapDB.SetUser(string userId);
TapDB.SetUser(string userId,string openId,string loginType);
TapDB.SetName(string name);
TapDB.SetLevel(int level);
TapDB.SetServer(string server);
TapDB.OnCharge(string orderId, string productId, long amount, string currencyType, string payment);
TapDB.TrackEvent(string eventName,string jsonProperties);
TapDB.RegisterStaticProperties(string jsonProperties);
TapDB.UnregisterStaticProperty(string propertKey);
TapDB.ClearStaticProperties();
TapDB.RegisterDynamicProperties(IDynamicProperties properties);
TapDB.DeviceInitialize(string properties);
TapDB.DeviceUpdate(string properties);
TapDB.UserInitialize(string properties);
TapDB.UserUpdate(string properties);
TapDB.UserAdd(string properties);
TapDB.ClearUser();