ActLongdanTimePushCtrl.cs 508 B

12345678910111213141516
  1. using FL.Data;
  2. using XGame.Framework.Network;
  3. namespace FL.Network
  4. {
  5. public class ActLongdanTimePushCtrl : MsgController<ActLongdanTimePush>
  6. {
  7. protected override void OnProcess(ActLongdanTimePush message, object context)
  8. {
  9. if (message == null) return;
  10. DragonEggData.Instance.WatchADCdTime = message.time;
  11. DragonEggData.Instance.WatchADCount = message.bill;
  12. EventSingle.Instance.Notify(EventDefine.RefreshWatchAd);
  13. }
  14. }
  15. }