示例#1
0
 public void Start()
 {
     messageService.AddConsumer <GameTimeExpiredMessage>(
         nameof(GameInfoWatchTimerExpiredMonitor),
         GameTimeExpiredTopic.Topic, OnTimeExpired).Wait();
 }
示例#2
0
 public void Start()
 {
     messageService.AddConsumer <RoomChangedMessage>(
         nameof(NotificationWatchRoomInfoChangedMonitor),
         RoomChangedMessageTopic.Topic, OnRoomChanged).Wait();
 }
示例#3
0
 public void Start()
 {
     messageService.AddConsumer <UserStateInfoChangedMessage>(
         nameof(NotificationWatchUserStateInfoChangedMonitor),
         UserStateInfoChangedMessageTopic.Topic, OnUserStateInfoChanged).Wait();
 }