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 { SaveSettingsRequest } from "../request/saveSettings";
|
||||
|
||||
@@ -13,7 +13,7 @@ export function saveSettings(buf: Buffer): SaveSettingsRequest {
|
||||
|
||||
return {
|
||||
type: "save_settings_req",
|
||||
profileId: buf.readUInt32LE(0x0004) as Id<Profile>,
|
||||
profileId: buf.readUInt32LE(0x0004) as ExtId<Profile>,
|
||||
dpoint: buf.readUInt32LE(0x0008),
|
||||
settings: {
|
||||
music: buf.readUInt16LE(0x0002),
|
||||
|
||||
Reference in New Issue
Block a user