LongdanOpenResponseCtrl.cs 442 B

12345678910111213141516
  1. using XGame.Framework.Network;
  2. namespace FL.Network
  3. {
  4. public class LongdanOpenResponseCtrl : MsgController<LongdanOpenResponse>
  5. {
  6. protected override void OnProcess(LongdanOpenResponse message, object context)
  7. {
  8. if (message?.code == 0)
  9. {
  10. // 返回成功消息
  11. EventSingle.Instance.Notify(EventDefine.OpenDragonTreasureSucess);
  12. }
  13. }
  14. }
  15. }