Main/Core/NetworkPackage/GameNetPackBasic.cs
@@ -8,7 +8,28 @@ public class GameNetPackBasic { public ServerType socketType = ServerType.Main; static ulong AutoIncreaseUID = 0; public ulong mPackUID; public ulong packUID { get { return mPackUID; } private set { mPackUID = value; } } public GameNetPackBasic() { packUID = AutoIncreaseUID++; } public ServerType socketType = ServerType.Main; //默认且唯一 /** 协议号 */ protected ushort _cmd = 0;