idz: Hoist userdb code

This commit is contained in:
Tau
2020-09-01 01:10:31 +00:00
committed by Tau
parent bf390f15e2
commit d3ca8f80b7
245 changed files with 88 additions and 86 deletions
+12
View File
@@ -0,0 +1,12 @@
import { LoadStockerRequest } from "../request/loadStocker";
import { AimeId } from "../../../model";
loadStocker.msgCode = 0x00a7;
loadStocker.msgLen = 0x0010;
export function loadStocker(buf: Buffer): LoadStockerRequest {
return {
type: "load_stocker_req",
aimeId: buf.readUInt32LE(0x0004) as AimeId,
};
}