mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-25 23:18:56 -07:00
19 lines
491 B
C#
19 lines
491 B
C#
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 };
|
|
}
|
|
}
|