NoticesPushCtrl.cs 362 B

12345678910111213
  1. using XGame.Framework.Network;
  2. namespace FL.Network
  3. {
  4. public class NoticesPushCtrl : MsgController<NoticesPush>
  5. {
  6. protected override void OnProcess(NoticesPush message, object context)
  7. {
  8. //TODO 游戏公告
  9. EventSingle.Instance.Notify(EventDefine.ShowTips, $"收到服务器公告. Type:{message.hdcid}");
  10. }
  11. }
  12. }