using System.Collections; using System.Collections.Generic; using UnityEngine; /******************************************************************************** ** Company: YC ** auth: CaoTing ** date: 2021\6\7 ** desc: 大厅socket接收协议基类 *******************************************************************************/ namespace Studio.WebSocket.Message { [System.Serializable] public class BaseWebSocketMessage { public bool response = false; public bool notification = false; public string method; public int id =-1; public bool ok; public WebSocketErrorCode errorCode = null; } [System.Serializable] public class WebSocketErrorCode { public int code=-1; public string message; } }