XiaDanCsPushCtrl.cs 456 B

123456789101112131415
  1. using XGame.Framework.Network;
  2. namespace FL.Network
  3. {
  4. public class XiaDanCsPushCtrl : MsgController<XiaDanCsPush>
  5. {
  6. protected override void OnProcess(XiaDanCsPush message, object context)
  7. {
  8. if (message == null) return;
  9. AdvertisementData.Instance.Id = message.id;
  10. AdvertisementData.Instance.Type = message.hdcid;
  11. AdvertisementData.Instance.AdParam = message.key;
  12. }
  13. }
  14. }