public static void SetHeroStat(string eventName, string UserId, ref Guid PlayerSessionId) { DataPlatform.DynamicEvent evt = new DataPlatform.DynamicEvent(eventName); evt.AddParamUnicodeString(eventName, UserId); evt.AddParamGUID(eventName, PlayerSessionId); evt.Send(); }
public static void SetAchiev(string eventName, string UserId, ref Guid PlayerSessionId, float CompletionPercent, float LocationX, float LocationY, float LocationZ) { DataPlatform.DynamicEvent evt = new DataPlatform.DynamicEvent(eventName); evt.AddParamUnicodeString(eventName, UserId); evt.AddParamGUID(eventName, PlayerSessionId); evt.Send(); }
public static void SetGameProgress(string UserId, ref Guid PlayerSessionId, float CompletionPercent, float LocationX, float LocationY, float LocationZ) { DataPlatform.DynamicEvent evt = new DataPlatform.DynamicEvent("GameProgress"); evt.AddParamUnicodeString("GameProgress", UserId); evt.AddParamGUID("GameProgress", PlayerSessionId); evt.AddParamFloat("GameProgress", CompletionPercent); evt.Send(); }