internal void SubmitScore(string leaderboardId, long score) { Misc.CheckNotNull(leaderboardId); Logger.d("Native Submitting score: " + score + " for lb " + leaderboardId); // Note, we pass empty-string as the metadata - this is ignored by the native SDK. C.LeaderboardManager_SubmitScore(mServices.AsHandle(), leaderboardId, (ulong)score, ""); }
public IntPtr GetApiClient() { #if UNITY_ANDROID IntPtr ptr = Cwrapper.InternalHooks.InternalHooks_GetApiClient(mServices.AsHandle()); return(ptr); #else Debug.Log("GoogleAPIClient is not available on this platform"); return(IntPtr.Zero); #endif }
private static AndroidJavaObject GetApiClient(GameServices services) { return(JavaUtils.JavaObjectFromPointer(C.InternalHooks_GetApiClient(services.AsHandle()))); }