Пример #1
0
		public void onGiftHandOutSuccess(string message) {
			SoomlaUtils.LogDebug(TAG, "SOOMLA/UNITY onGiftHandOutSuccess: " + message);
			
			JSONObject eventJSON = new JSONObject(message);
			Gift gift = new Gift(eventJSON["gift"]);
			
			HighwayEvents.OnGiftHandOutSuccess(gift);
		}
Пример #2
0
		public void onGiftHandOutFailed(string message) {
			SoomlaUtils.LogDebug(TAG, "SOOMLA/UNITY onGiftHandOutFailed: " + message);
			
			JSONObject eventJSON = new JSONObject(message);
			Gift gift = new Gift(eventJSON["gift"]);
			string errorMessage = eventJSON["errorMessage"].str;
			
			HighwayEvents.OnGiftHandOutFailed(gift, errorMessage);
		}
Пример #3
0
		public void onGiftSendFinished(string message) {
			SoomlaUtils.LogDebug(TAG, "SOOMLA/UNITY onGiftSendFinished: " + message);
			
			JSONObject eventJSON = new JSONObject(message);
			Gift gift = new Gift(eventJSON["gift"]);
			
			HighwayEvents.OnGiftSendFinished(gift);
		}