Esempio n. 1
0
 public void SetActive()
 {
     RequestManager.SetActiveRoom(Name);
     active        = true;
     Notifications = 0;
     NotificationUpdated?.Invoke(Notifications);
     MessageReceived -= AddNotification;
 }
Esempio n. 2
0
 private void OnNotificationUpdated(int position)
 {
     NotificationUpdated?.Invoke(this, new NotificationItemClickedEventArgs
     {
         Position = position
     }
                                 );
 }
Esempio n. 3
0
 internal void AddNotification(ChatMessage s)
 {
     Notifications++;
     NotificationUpdated?.Invoke(Notifications);
 }