| | |
| | | private static List<NetPackage> tempPackages = new List<NetPackage>();//暂停时缓存的封包列表
|
| | | public static bool stopRecieve = false;
|
| | |
|
| | | public static void RecordPackage(GameNetSystem.SocketType socketType, string bytes, NetPackagetType packType, string packageName, string fields, List<string> fieldDetails)
|
| | | public static void RecordPackage(ServerType socketType, string bytes, NetPackagetType packType, string packageName, string fields, List<string> fieldDetails)
|
| | | {
|
| | | #if UNITY_EDITOR
|
| | | var package = new NetPackage();
|
| | |
| | |
|
| | | public class NetPackage
|
| | | {
|
| | | public GameNetSystem.SocketType socketType;
|
| | | public ServerType socketType;
|
| | | public bool show = false;
|
| | | public string time;
|
| | | public string content;
|