LongdanIntoResponseCtrl.cs 873 B

12345678910111213141516171819202122232425
  1. using FL.Data;
  2. using XGame.Framework.Network;
  3. namespace FL.Network
  4. {
  5. public class LongdanIntoResponseCtrl : MsgController<LongdanIntoResponse>/*, IMsgFailProcess<LongdanIntoResponse>*/
  6. {
  7. //public void FailProcess(LongdanIntoResponse msg, object context)
  8. //{
  9. // //throw new System.NotImplementedException();
  10. // XGame.Log.Info($"LongdanIntoResponse龙蛋失败信息code:{msg.code},,msg:{msg.msg}");
  11. //}
  12. protected override void OnProcess(LongdanIntoResponse message, object context)
  13. {
  14. if (message?.code == 0)
  15. {
  16. // 返回成功消息
  17. EventSingle.Instance.Notify(EventDefine.RefreshTreasureUI);
  18. // 请求身上穿戴的装备列表信息
  19. PlayerService.Instance.SendToEquipInto();
  20. }
  21. }
  22. }
  23. }