mirror of
https://github.com/djhackersdev/minime.git
synced 2026-07-06 20:13:57 -05:00
11 lines
247 B
TypeScript
11 lines
247 B
TypeScript
import { LoadStockerResponse } from "../response/loadStocker";
|
|
|
|
export function loadStocker(res: LoadStockerResponse) {
|
|
const buf = Buffer.alloc(0x00a0);
|
|
|
|
buf.writeInt16LE(0x00a8, 0x0000);
|
|
buf.writeInt8(res.status, 0x0002);
|
|
|
|
return buf;
|
|
}
|