wip crack decoder

This commit is contained in:
Tau
2019-11-06 17:28:29 -05:00
parent 6a8d9a4d28
commit 1d5971b2d5
23 changed files with 464 additions and 307 deletions
+14
View File
@@ -0,0 +1,14 @@
import { RequestCode } from "../defs";
import { CreateTeamRequest } from "../request/createTeam";
createTeam.msgCode = 0x007b as RequestCode;
createTeam.msgLen = 0x0010;
export function createTeam(buf: Buffer): CreateTeamRequest {
return {
type: "create_team_req",
field_0004: buf.readUInt32LE(0x0004),
field_0008: buf.readUInt32LE(0x0008),
field_000C: buf.readUInt8(0x000c),
};
}