mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-27 07:59:03 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
namespace RadicadeServer.RecNet.Notifications
|
||||
{
|
||||
public static class AnnouncementBroadcast
|
||||
{
|
||||
|
||||
public const string UpdateNotificationId = "AnnouncementUpdate";
|
||||
|
||||
public static Notification Update(Announcement announcement)
|
||||
=> new() { Id = UpdateNotificationId, Msg = announcement };
|
||||
|
||||
|
||||
|
||||
public const string DeleteNotificationId = "AnnouncementDelete";
|
||||
|
||||
public static Notification Delete(Announcement announcement)
|
||||
=> new() { Id = DeleteNotificationId, Msg = announcement };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user