IMsgFailProcess.cs 432 B

123456789101112131415
  1. namespace XGame.Framework.Network
  2. {
  3. /// <summary>
  4. /// 业务Code过滤也需要处理的情况请在MsgController实现此接口
  5. /// </summary>
  6. public interface IMsgFailProcess<T> where T : IMsgData
  7. {
  8. /// <summary>
  9. /// 业务处理
  10. /// </summary>
  11. /// <param name="msg"></param>
  12. /// <param name="context"></param>
  13. void FailProcess(T msg, object context);
  14. }
  15. }