CallCheckUpKind11ResponseCtrl.cs 519 B

123456789101112131415161718
  1. using XGame.Framework.Network;
  2. namespace FL.Network
  3. {
  4. public class CallCheckUpKind11ResponseCtrl : MsgController<CallCheckUpKind11Response>
  5. {
  6. protected override void OnProcess(CallCheckUpKind11Response message, object context)
  7. {
  8. var type = (int)context;
  9. if (type == 1)
  10. {
  11. EventSingle.Instance.Notify(EventDefine.SummonSbAd);
  12. }
  13. else
  14. EventSingle.Instance.Notify(EventDefine.SummonMwAd);
  15. }
  16. }
  17. }