ActLongdanBillPushCtrl.cs 518 B

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