CallChoujiangResponseCtrl.cs 511 B

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