Skip to content

Commit 83a3881

Browse files
committed
up
1 parent e6220e5 commit 83a3881

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

KBEngine.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ public enum CLIENT_TYPE
7878
private byte[] _serverdatas = new byte[0];
7979
private byte[] _clientdatas = new byte[0];
8080

81+
// 通信协议加密,blowfish协议
82+
private byte[] _encryptedKey = new byte[0];
83+
8184
// 服务端与客户端的版本号以及协议MD5
8285
public string serverVersion = "";
8386
public string clientVersion = "0.4.0";
@@ -352,7 +355,7 @@ public void hello()
352355

353356
bundle.writeString(clientVersion);
354357
bundle.writeString(clientScriptVersion);
355-
bundle.writeBlob(new byte[0]);
358+
bundle.writeBlob(_encryptedKey);
356359
bundle.send(_networkInterface);
357360
}
358361

0 commit comments

Comments
 (0)