This commit is contained in:
Tau
2019-11-06 17:28:30 -05:00
parent fecc0e7981
commit 5b6534ae9a
11 changed files with 61 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
import { RequestCode } from "./_defs";
import { ExtId } from "../model/base";
import { Profile } from "../model/profile";
import { LoadEventInfoRequest } from "../request/loadEventInfo";
loadEventInfo.msgCode = 0x00be as RequestCode;
loadEventInfo.msgLen = 0x0010;
export function loadEventInfo(buf: Buffer): LoadEventInfoRequest {
return {
type: "load_event_info_req",
profileId: buf.readUInt32LE(0x0004) as ExtId<Profile>,
};
}