idz: Rename model Id<> to ExtId<>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { RequestCode } from "./_defs";
|
||||
import { Id } from "../model/base";
|
||||
import { ExtId } from "../model/base";
|
||||
import { Profile } from "../model/profile";
|
||||
import { LoadGarageRequest } from "../request/loadGarage";
|
||||
|
||||
@@ -9,7 +9,7 @@ loadGarage.msgLen = 0x0010;
|
||||
export function loadGarage(buf: Buffer): LoadGarageRequest {
|
||||
return {
|
||||
type: "load_garage_req",
|
||||
profileId: buf.readUInt32LE(0x0004) as Id<Profile>,
|
||||
profileId: buf.readUInt32LE(0x0004) as ExtId<Profile>,
|
||||
fetchOffset: buf.readUInt8(0x0008),
|
||||
field_000A: buf.readUInt16LE(0x000a),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user