private static void addResourceEvent(
     int flowType,
     string currency,
     float amount,
     string itemType,
     string itemId,
     string fields)
 {
     GameAnalytics.AddResourceEvent((EGAResourceFlowType)flowType, currency, amount, itemType, itemId);
 }
Beispiel #2
0
 public async Task Process(GaAddResourceEvent args)
 {
     try
     {
         GameAnalytics.AddResourceEvent(args.FlowType, args.Currency, args.Amount, args.ItemType, args.ItemId);
     }
     catch (Exception ex)
     {
         Trace.TraceError("Error adding GA resource event: {0}", ex);
     }
 }