idz: Add server version to config message

This allows idz v1.31 to proceed with network startup.
This commit is contained in:
Tau
2019-05-07 12:12:34 -04:00
parent 887e3465e7
commit 6b58c4d722
3 changed files with 3 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ export function loadConfig(res: LoadConfigResponse) {
buf.writeInt16LE(0x0005, 0x0000);
buf.writeInt8(res.status, 0x0002);
buf.writeUInt16LE(res.serverVersion, 0x0016);
return buf;
}

View File

@@ -9,5 +9,6 @@ export function loadConfig(
return {
type: "load_config_res",
status: 1,
serverVersion: 130,
};
}

View File

@@ -1,4 +1,5 @@
export interface LoadConfigResponse {
type: "load_config_res";
status: number;
serverVersion: number;
}