/// <summary>
 /// Analyze your in-game economy (virtual currencies). You will be able to see the flow (sink/source) for each virtual currency.
 /// </summary>
 /// <param name="flowType">Add or substract resource.</param>
 /// <param name="currency">One of the available currencies set in Settings (Setup tab).</param>
 /// <param name="amount">Amount sourced or sinked.</param>
 /// <param name="itemType">One of the available currencies set in Settings (Setup tab).</param>
 /// <param name="itemId">Item id (string max length=16).</param>
 public static void NewResourceEvent(GA_Resource.GAResourceFlowType flowType, string currency, float amount, string itemType, string itemId)
 {
     GA_Resource.NewEvent(flowType, currency, amount, itemType, itemId);
 }
		public static void AddResourceEvent(GA_Resource.GAResourceFlowType flowType, string currency, float amount, string itemType, string itemId)
		{
			addResourceEvent((int)flowType, currency, amount, itemType, itemId);
		}
Beispiel #3
0
 /// <summary>
 /// Analyze your in-game economy (virtual currencies). You will be able to see the flow (sink/source) for each virtual currency.
 /// </summary>
 /// <param name="flowType">Add or substract resource.</param>
 /// <param name="currency">One of the available currencies set in Settings (Setup tab).</param>
 /// <param name="amount">Amount sourced or sinked.</param>
 /// <param name="itemType">One of the available currencies set in Settings (Setup tab).</param>
 /// <param name="itemId">Item id (string max length=16).</param>
 public static void NewResourceEvent(GAResourceFlowType flowType, string currency, float amount, string itemType, string itemId)
 {
     GA_Resource.NewEvent(flowType, currency, amount, itemType, itemId);
 }