CallShareRwdResponseCtrl.cs 510 B

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