LongdanSubcdResponseCtrl.cs 607 B

12345678910111213141516171819
  1. using FL.Data;
  2. using XGame.Framework.Network;
  3. namespace FL.Network
  4. {
  5. public class LongdanSubcdResponseCtrl : MsgController<LongdanSubcdResponse>
  6. {
  7. protected override void OnProcess(LongdanSubcdResponse message, object context)
  8. {
  9. if (message?.code == 0)
  10. {
  11. XGame.Log.Info("100405宝箱加速消息返回LongdanSubcdResponseCtrl");
  12. // 宝箱升级加速成功
  13. EventSingle.Instance.Notify(EventDefine.RefreshUpgradeTime);
  14. PaymentService.Instance.StartPayOrAd();
  15. }
  16. }
  17. }
  18. }