protected override void _pushEventSubmitScoreFinished(SubmitScoreFinishedEvent ev)
 {
     if (SoomlaProfile.IsProviderNativelyImplemented(ev.Provider))
     {
         return;
     }
     soomlaProfile_PushEventReportScoreFinished(ev.Provider.ToString(), ev.Destination.toJSONObject().ToString(), ev.Score.toJSONObject().ToString(), ev.Payload);
 }
Пример #2
0
 protected override void _pushEventSubmitScoreFinished(SubmitScoreFinishedEvent ev)
 {
     if (SoomlaProfile.IsProviderNativelyImplemented(ev.Provider))
     {
         return;
     }
     AndroidJNI.PushLocalFrame(100);
     using (AndroidJavaClass jniSoomlaProfile = new AndroidJavaClass("com.soomla.profile.unity.ProfileEventHandler")) {
         ProfileJNIHandler.CallStaticVoid(jniSoomlaProfile, "pushEventSubmitScoreFinished",
                                          ev.Provider.ToString(), ev.Destination.toJSONObject().ToString(), ev.Score.toJSONObject().ToString(), ev.Payload);
     }
     AndroidJNI.PopLocalFrame(IntPtr.Zero);
 }
Пример #3
0
			protected virtual void _pushEventSubmitScoreFinished(SubmitScoreFinishedEvent submitScoreFinishedEvent) {}
		protected override void _pushEventSubmitScoreFinished(SubmitScoreFinishedEvent ev) {
			if (SoomlaProfile.IsProviderNativelyImplemented(ev.Provider)) return;
			AndroidJNI.PushLocalFrame(100);
			using(AndroidJavaClass jniSoomlaProfile = new AndroidJavaClass("com.soomla.profile.unity.ProfileEventHandler")) {
				ProfileJNIHandler.CallStaticVoid(jniSoomlaProfile, "pushEventSubmitScoreFinished",
						ev.Provider.ToString(), ev.Destination.toJSONObject().ToString(), ev.Score.toJSONObject().ToString(), ev.Payload);
			}
			AndroidJNI.PopLocalFrame(IntPtr.Zero);
		}
		protected override void _pushEventSubmitScoreFinished(SubmitScoreFinishedEvent ev) {
			if (SoomlaProfile.IsProviderNativelyImplemented(ev.Provider)) return;
			soomlaProfile_PushEventReportScoreFinished(ev.Provider.ToString(), ev.Destination.toJSONObject().ToString(), ev.Score.toJSONObject().ToString(), ev.Payload);
		}
Пример #6
0
 protected virtual void _pushEventSubmitScoreFinished(SubmitScoreFinishedEvent submitScoreFinishedEvent)
 {
 }