17#include "CoreMinimal.h"
18#include "OnlineSubsystemPico.h"
19#include "UObject/NoExportTypes.h"
20#include "PPF_Platform.h"
21#include "Pico_Notification.generated.h"
24DECLARE_LOG_CATEGORY_EXTERN(PicoNotification, Log, All);
37DECLARE_DYNAMIC_DELEGATE_FourParams(FNotificationRoomInviteNotifications,
bool, bIsError,
int, ErrorCode,
const FString&, ErrorMessage,
UPico_RoomInviteNotificationArray*, RoomInviteNotificationArray);
38DECLARE_DYNAMIC_DELEGATE_ThreeParams(FNotificationMarkAsRead,
bool, bIsError,
int, ErrorCode,
const FString&, ErrorMessage);
54 FOnlineSubsystemPico& PicoSubsystem;
60 FNotificationRoomInviteNotifications RoomInviteNotificationsDelegate;
61 FNotificationMarkAsRead MarkAsReadDelegate;
87 bool MarkAsRead(
const FString& NotificationID, FNotificationMarkAsRead OnMarkAsReadCallback);
120 UFUNCTION(BlueprintCallable, meta = (WorldContext =
"WorldContextObject"), Category =
"OnlinePico|Notification")
121 static
void GetRoomInviteNotifications(UObject* WorldContextObject,
int PageIdx,
int PageSize, FNotificationRoomInviteNotifications OnRoomInviteNotificationsCallback);
129 UFUNCTION(BlueprintCallable, meta = (WorldContext = "WorldContextObject"), Category = "OnlinePico|Notification")
130 static
void MarkAsRead(UObject* WorldContextObject, const FString& NotificationID, FNotificationMarkAsRead OnMarkAsReadCallback);
148 FString SenderID = FString();
150 unsigned long long SentTime;
153 void InitParams(ppfRoomInviteNotificationHandle InRoomInviteNotificationHandle);
156 UFUNCTION(BlueprintPure, Category =
"Pico Platform|Notification|Room Invite Notification")
160 UFUNCTION(BlueprintPure, Category = "Pico Platform|Notification|Room Invite Notification")
164 UFUNCTION(BlueprintPure, Category = "Pico Platform|Notification|Room Invite Notification")
165 FString GetSenderID();
168 UFUNCTION(BlueprintPure, Category = "Pico Platform|Notification|Room Invite Notification")
169 FString GetSentTime();
172 UFUNCTION(BlueprintPure, Category = "Pico Platform|Notification|Room Invite Notification")
173 FDateTime GetSentDateTime();
175 UFUNCTION(BlueprintPure, Category = "Pico Platform|Notification|Room Invite Notification")
176 FString GetDebugString();
186 TArray<UPico_RoomInviteNotification*> RoomInviteNotificationArray;
187 FString NextPageParam = FString();
192 void InitParams(ppfRoomInviteNotificationArrayHandle InRoomInviteNotificationArrayHandle);
195 UFUNCTION(BlueprintPure, Category =
"Pico Platform|Notification|Room Invite Notification Array")
198 UFUNCTION(BlueprintPure, Category = "Pico Platform|Notification|Room Invite Notification Array")
199 FString GetNextPageParam();
202 UFUNCTION(BlueprintPure, Category = "Pico Platform|Notification|Room Invite Notification Array")
205 UFUNCTION(BlueprintPure, Category = "Pico Platform|Notification|Room Invite Notification Array")
206 int32 GetTotalSize();
209 UFUNCTION(BlueprintPure, Category = "Pico Platform|Notification|Room Invite Notification Array")
212 UFUNCTION(BlueprintPure, Category = "Pico Platform|Notification|Room Invite Notification Array")
213 FString GetDebugString();
FPicoNotificationInterface class.
Definition: Pico_Notification.h:52
bool MarkAsRead(const FString &NotificationID, FNotificationMarkAsRead OnMarkAsReadCallback)
Marks a notification as read.
bool GetRoomInviteNotifications(int PageIdx, int PageSize, FNotificationRoomInviteNotifications OnRoomInviteNotificationsCallback)
Gets a list of all pending room invites for your app. For example, notifications that may have been s...
OnlinePicoNotification Blueprint Function class.
Definition: Pico_Notification.h:108
UPico_RoomInviteNotificationArray class.
Definition: Pico_Notification.h:182
UPico_RoomInviteNotification class.
Definition: Pico_Notification.h:139