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:
- Immediate announcement post
- Reserved announcement post (responds at the scheduled time)
The following events do not generate notifications:
- Announcement deletion
- Change of announcement content
- Private announcement post
- Change of announcement's public/private status
Example
Backend.Notification.OnNewNoticeCreated = (string title, string content) => {
Debug.Log(
$"[OnNewNoticeCreated(new announcement created)]\n" +
$"| title : {title}\n" +
$"| content : {content}\n"
);
};