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
+13
View File
@@ -0,0 +1,13 @@
import { RequestCode } from "../defs";
import { LoadTeamRequest } from "../request/loadTeam";
loadTeam.msgCode = 0x0077 as RequestCode;
loadTeam.msgLen = 0x0010;
export function loadTeam(buf: Buffer): LoadTeamRequest {
return {
type: "load_team_req",
profileId: buf.readUInt32LE(0x0004),
teamId: buf.readUInt32LE(0x0008),
};
}