aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/NotificationDaemon.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-02-25 14:39:26 -0500
committerlempamo <[email protected]>2017-02-25 14:39:26 -0500
commit4c9640dcb26e110aac0b8be85db6aed9aeb246a6 (patch)
treee470887b3886d72b51147ffca3d205ff1393cf34 /ShiftOS_TheReturn/NotificationDaemon.cs
parent4d769d43e3282e3576faf0a53cb0736d546b1883 (diff)
parent569ad6fd7a3944b970fd08e715c8107a14ae117b (diff)
downloadshiftos_thereturn-4c9640dcb26e110aac0b8be85db6aed9aeb246a6.tar.gz
shiftos_thereturn-4c9640dcb26e110aac0b8be85db6aed9aeb246a6.tar.bz2
shiftos_thereturn-4c9640dcb26e110aac0b8be85db6aed9aeb246a6.zip
Merge remote-tracking branch 'refs/remotes/shiftos-game/master'
Diffstat (limited to 'ShiftOS_TheReturn/NotificationDaemon.cs')
-rw-r--r--ShiftOS_TheReturn/NotificationDaemon.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/NotificationDaemon.cs b/ShiftOS_TheReturn/NotificationDaemon.cs
index 3ea8a54..c6ba90a 100644
--- a/ShiftOS_TheReturn/NotificationDaemon.cs
+++ b/ShiftOS_TheReturn/NotificationDaemon.cs
@@ -35,6 +35,7 @@ namespace ShiftOS.Engine
NotificationMade?.Invoke(lst[lst.Count - 1]);
}
+ public static event Action NotificationRead;
public static void MarkRead(int note)
{
@@ -44,6 +45,7 @@ namespace ShiftOS.Engine
notes[note].Read = true;
WriteNotes(notes);
+ NotificationRead?.Invoke();
}
public static int GetUnreadCount()