Public Member Functions | |
| bool | TryAddBuffer (const FAccelByteModelsUserNotification &InNotification) |
| Try buffer incoming notification if needed. Internally it will determine if incoming notification need to be buffered due to missing notification. | |
| bool | AddMissingNotifications (const TArray< FAccelByteModelsUserNotification > &Notifications) |
| Add missing notification (only can be called when buffering). | |
| FDateTime | GetLastNotificationReceivedTime () const |
| Get the time when last valid notification received. | |
| FLobbySequenceID | GetLastNotificationSequenceID () const |
| Get the sequence ID of the last valid notification. | |
| FLobbySequenceNumber | GetLastNotificationSequenceNumber () const |
| Get the sequence number of the last valid notification. | |
| void | Clear () |
| Clear all buffered notifications. | |
| TArray< FAccelByteModelsUserNotification > | GetSortedBuffer () |
| Get all sorted buffer based on it's SentAt field. | |
| bool | IsBuffering () const |
| Check if this buffer is in process of retrieving missing notification. | |
| bool AccelByte::FAccelByteNotificationBuffer::AddMissingNotifications | ( | const TArray< FAccelByteModelsUserNotification > & | Notifications | ) |
Add missing notification (only can be called when buffering).
| Notifications | The missing notifications |
| FDateTime AccelByte::FAccelByteNotificationBuffer::GetLastNotificationReceivedTime | ( | ) | const |
Get the time when last valid notification received.
| FLobbySequenceID AccelByte::FAccelByteNotificationBuffer::GetLastNotificationSequenceID | ( | ) | const |
Get the sequence ID of the last valid notification.
| FLobbySequenceNumber AccelByte::FAccelByteNotificationBuffer::GetLastNotificationSequenceNumber | ( | ) | const |
Get the sequence number of the last valid notification.
| TArray< FAccelByteModelsUserNotification > AccelByte::FAccelByteNotificationBuffer::GetSortedBuffer | ( | ) |
Get all sorted buffer based on it's SentAt field.
| bool AccelByte::FAccelByteNotificationBuffer::IsBuffering | ( | ) | const |
Check if this buffer is in process of retrieving missing notification.
| bool AccelByte::FAccelByteNotificationBuffer::TryAddBuffer | ( | const FAccelByteModelsUserNotification & | InNotification | ) |
Try buffer incoming notification if needed. Internally it will determine if incoming notification need to be buffered due to missing notification.
| InNotification | Incoming notification. |