idz: Add idz2 decoders

This commit is contained in:
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705
2021-02-03 23:43:42 +00:00
committed by da5669c09fdb0a288ba01e259a609d7779ac7fc9
parent 4c36e0abf0
commit 2474879c89
36 changed files with 797 additions and 182 deletions
@@ -20,3 +20,13 @@ export function loadGeneralReward2(buf: Buffer): LoadGeneralRewardRequest {
aimeId: buf.readUInt32LE(0x0004) as AimeId,
};
}
loadGeneralReward3.msgCode = 0x093b;
loadGeneralReward3.msgLen = 0x0010;
export function loadGeneralReward3(buf: Buffer): LoadGeneralRewardRequest {
return {
type: "load_general_reward_req",
aimeId: buf.readUInt32LE(0x0004) as AimeId,
};
}