OnNewNoticeCreated
public OnNewNoticeCreateNotification OnNewNoticeCreated;
Parameters
Value | Type | Description |
---|---|---|
title | string | Announcement title |
content | string | Announcement content |
Description
This handler is called when a new announcement is created from BACKND Console.
You can check the registered title and content at the handler.
The following events generate real-time notifications:
- Posting announcements immediately
- Reserving announcement posting(responds at the scheduled time)
The following events do not generate notifications:
- Deleting announcements
- Changing announcement content
- Posting private announcements
- Changing visibility of announcements
Example
Backend.Notification.OnNewNoticeCreated = (string title, string content) => {
Debug.Log(
$"[OnNewNoticeCreated(new announcement created)]\n" +
$"| title : {title}\n" +
$"| content : {content}\n"
);
};