mirror of
https://github.com/djhackersdev/minime.git
synced 2026-08-28 05:24:04 -05:00
idz: Add server version to config message
This allows idz v1.31 to proceed with network startup.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -9,5 +9,6 @@ export function loadConfig(
|
||||
return {
|
||||
type: "load_config_res",
|
||||
status: 1,
|
||||
serverVersion: 130,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
export interface LoadConfigResponse {
|
||||
type: "load_config_res";
|
||||
status: number;
|
||||
serverVersion: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user