modelize chara

This commit is contained in:
Tau
2019-11-06 17:28:29 -05:00
parent d1dfda62c9
commit d7b510193f
12 changed files with 99 additions and 56 deletions
+3 -1
View File
@@ -4,7 +4,9 @@ export function loadStocker(res: LoadStockerResponse) {
const buf = Buffer.alloc(0x00a0);
buf.writeInt16LE(0x00a8, 0x0000);
buf.writeInt8(res.status, 0x0002);
buf.writeUInt8(res.status, 0x0002);
//buf.fill(0xff, 0x0003, 0x000a);
buf.writeUInt8(0x08, 0x0008);
return buf;
}