using XGame.Framework.Network; namespace FL.Network { public class LongdanSubcdResponseCtrl : MsgController { protected override void OnProcess(LongdanSubcdResponse message, object context) { if (message?.code == 0) { XGame.Log.Info("100405宝箱加速消息返回LongdanSubcdResponseCtrl"); // 宝箱升级加速成功 EventSingle.Instance.Notify(EventDefine.RefreshUpgradeTime); // 临时处理观看广告减少时间 if (AdvertisementData.Instance.Id != null) { AdvertisementService.Instance.SendToAdSucess(AdvertisementData.Instance.Id); } } } } }