Пример #1
0
 internal void Accept(NativeQuest quest, Action <AcceptResponse> callback)
 {
     C.QuestManager_Accept(
         mServices.AsHandle(),
         quest.AsPointer(),
         InternalAcceptCallback,
         Callbacks.ToIntPtr <AcceptResponse>(callback, AcceptResponse.FromPointer));
 }
 internal void ShowQuestUI(NativeQuest quest, Action<QuestUIResponse> callback)
 {
     C.QuestManager_ShowUI(
         mServices.AsHandle(),
         quest.AsPointer(),
         InternalQuestUICallback,
         Callbacks.ToIntPtr<QuestUIResponse>(
             callback, QuestUIResponse.FromPointer));
 }
Пример #3
0
 internal void ShowQuestUI(NativeQuest quest, Action <QuestUIResponse> callback)
 {
     C.QuestManager_ShowUI(
         mServices.AsHandle(),
         quest.AsPointer(),
         InternalQuestUICallback,
         Callbacks.ToIntPtr <QuestUIResponse>(
             callback, QuestUIResponse.FromPointer));
 }
 internal void Accept(NativeQuest quest, Action<AcceptResponse> callback)
 {
     C.QuestManager_Accept(
         mServices.AsHandle(),
         quest.AsPointer(),
         InternalAcceptCallback,
         Callbacks.ToIntPtr<AcceptResponse>(callback, AcceptResponse.FromPointer));
 }
Пример #5
0
 internal void ShowQuestUI(NativeQuest quest, Action <QuestUIResponse> callback)
 {
     GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_ShowUI(this.mServices.AsHandle(), quest.AsPointer(), new GooglePlayGames.Native.Cwrapper.QuestManager.QuestUICallback(GooglePlayGames.Native.PInvoke.QuestManager.InternalQuestUICallback), Callbacks.ToIntPtr <QuestUIResponse>(callback, new Func <IntPtr, QuestUIResponse>(QuestUIResponse.FromPointer)));
 }
Пример #6
0
 internal void Accept(NativeQuest quest, Action <AcceptResponse> callback)
 {
     GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_Accept(this.mServices.AsHandle(), quest.AsPointer(), new GooglePlayGames.Native.Cwrapper.QuestManager.AcceptCallback(GooglePlayGames.Native.PInvoke.QuestManager.InternalAcceptCallback), Callbacks.ToIntPtr <AcceptResponse>(callback, new Func <IntPtr, AcceptResponse>(AcceptResponse.FromPointer)));
 }
Пример #7
0
 internal void Accept(NativeQuest quest, Action <AcceptResponse> callback)
 {
     GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_Accept(mServices.AsHandle(), quest.AsPointer(), InternalAcceptCallback, Callbacks.ToIntPtr(callback, AcceptResponse.FromPointer));
 }
Пример #8
0
 internal void ShowQuestUI(NativeQuest quest, Action <QuestUIResponse> callback)
 {
     GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_ShowUI(mServices.AsHandle(), quest.AsPointer(), InternalQuestUICallback, Callbacks.ToIntPtr(callback, QuestUIResponse.FromPointer));
 }