internal void GetCaptureCapabilities(Action <GetCaptureCapabilitiesResponse> callback) { C.VideoManager_GetCaptureCapabilities( mServices.AsHandle(), InternalCaptureCapabilitiesCallback, Callbacks.ToIntPtr <GetCaptureCapabilitiesResponse>(callback, GetCaptureCapabilitiesResponse.FromPointer)); }
internal void SubmitScore(string leaderboardId, long score, string metadata) { bubble.CheckNotNull(leaderboardId, "leaderboardId"); Logger.d("Native Submitting score: " + score + " for lb " + leaderboardId + " with metadata: " + metadata); C.LeaderboardManager_SubmitScore(mServices.AsHandle(), leaderboardId, (ulong)score, metadata ?? ""); }
internal void FetchForPlayer(Action <FetchForPlayerResponse> callback) { Misc.CheckNotNull(callback); GooglePlayGames.Native.Cwrapper.StatsManager.StatsManager_FetchForPlayer(mServices.AsHandle(), Types.DataSource.CACHE_OR_NETWORK, InternalFetchForPlayerCallback, Callbacks.ToIntPtr(callback, FetchForPlayerResponse.FromPointer)); }
internal void GetCaptureCapabilities(Action <GetCaptureCapabilitiesResponse> callback) { GooglePlayGames.Native.Cwrapper.VideoManager.VideoManager_GetCaptureCapabilities(mServices.AsHandle(), InternalCaptureCapabilitiesCallback, Callbacks.ToIntPtr(callback, GetCaptureCapabilitiesResponse.FromPointer)); }
internal void FetchAll(Types.DataSource source, Action <FetchAllResponse> callback) { GooglePlayGames.Native.Cwrapper.SnapshotManager.SnapshotManager_FetchAll(mServices.AsHandle(), source, InternalFetchAllCallback, Callbacks.ToIntPtr(callback, FetchAllResponse.FromPointer)); }
internal void CreateRoom(RealtimeRoomConfig config, RealTimeEventListenerHelper helper, Action <RealTimeRoomResponse> callback) { RealTimeMultiplayerManager.RealTimeMultiplayerManager_CreateRealTimeRoom(mGameServices.AsHandle(), config.AsPointer(), helper.AsPointer(), InternalRealTimeRoomCallback, ToCallbackPointer(callback)); }
private static AndroidJavaObject GetApiClient(GameServices services) { return JavaUtils.JavaObjectFromPointer(C.InternalHooks_GetApiClient(services.AsHandle())); }
internal void SubmitScore(string leaderboardId, long score, string metadata) { Misc.CheckNotNull(leaderboardId, "leaderboardId"); Logger.d("Native Submitting score: " + score + " for lb " + leaderboardId + " with metadata: " + metadata); GooglePlayGames.Native.Cwrapper.LeaderboardManager.LeaderboardManager_SubmitScore(mServices.AsHandle(), leaderboardId, (ulong)score, metadata ?? string.Empty); }
internal void ShowAllUI(Action <CommonErrorStatus.UIStatus> callback) { Misc.CheckNotNull(callback); GooglePlayGames.Native.Cwrapper.AchievementManager.AchievementManager_ShowAllUI(mServices.AsHandle(), Callbacks.InternalShowUICallback, Callbacks.ToIntPtr(callback)); }
public IntPtr GetApiClient() { return(InternalHooks.InternalHooks_GetApiClient(mServices.AsHandle())); }
internal void GetMatch(string matchId, Action <TurnBasedMatchResponse> callback) { TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_FetchMatch(mGameServices.AsHandle(), matchId, InternalTurnBasedMatchCallback, ToCallbackPointer(callback)); }
internal void FetchSelf(Action <FetchSelfResponse> callback) { GooglePlayGames.Native.Cwrapper.PlayerManager.PlayerManager_FetchSelf(mGameServices.AsHandle(), Types.DataSource.CACHE_OR_NETWORK, InternalFetchSelfCallback, Callbacks.ToIntPtr(callback, FetchSelfResponse.FromPointer)); }
internal void Fetch(Types.DataSource source, string questId, Action <FetchResponse> callback) { GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_Fetch(mServices.AsHandle(), source, questId, InternalFetchCallback, Callbacks.ToIntPtr(callback, FetchResponse.FromPointer)); }