123456789101112131415161718192021222324252627282930313233343536 |
- namespace XGame.Framework.Network
- {
- public enum ESessionCode
- {
- None = 0,
- StartConnect,
- Connected,
- ConnectFail,
- ConnectTimeout,
- Disconnect,
- DisconnectError,
- RecvError,
- SessionClose,
- #region 消息发送的错误码,通常都是同步返回
- /// <summary>
- /// 发送异常,异步
- /// </summary>
- SendException = 100,
- /// <summary>
- /// 网络断开/未连接
- /// 同步
- /// </summary>
- SendNoConnect,
- /// <summary>
- /// 消息被过滤
- /// 同步
- /// </summary>
- SendFilted,
- /// <summary>
- /// 发送失败
- /// 同步
- /// </summary>
- SendFailed,
- #endregion
- }
- }
|