12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- using System;
- using Pico.Platform.Models;
- using UnityEngine;
- namespace Pico.Platform
- {
-
- public static class NotificationService
- {
-
-
-
-
-
-
-
-
-
-
-
- public static Task<RoomInviteNotificationList> GetRoomInviteNotifications(int pageIdx, int pageSize)
- {
- if (CoreService.IsInitialized())
- {
- return new Task<RoomInviteNotificationList>(CLIB.ppf_Notification_GetRoomInvites(pageIdx, pageSize));
- }
- Debug.LogError(CoreService.NotInitializedError);
- return null;
- }
-
-
-
-
-
-
-
- public static Task MarkAsRead(UInt64 notificationID)
- {
- if (CoreService.IsInitialized())
- {
- return new Task(CLIB.ppf_Notification_MarkAsRead(notificationID));
- }
- Debug.LogError(CoreService.NotInitializedError);
- return null;
- }
- }
- }
|