add "save stocker"
This commit is contained in:
@@ -18,6 +18,7 @@ import { lockProfile } from "./lockProfile";
|
||||
import { saveExpedition } from "./saveExpedition";
|
||||
import { saveProfile } from "./saveProfile";
|
||||
import { saveSettings } from "./saveSettings";
|
||||
import { saveStocker } from "./saveStocker";
|
||||
import { saveTopic } from "./saveTopic";
|
||||
import { unlockProfile } from "./unlockProfile";
|
||||
import { updateProvisionalStoreRank } from "./updateProvisionalStoreRank";
|
||||
@@ -53,6 +54,7 @@ const funcList: ReaderFn[] = [
|
||||
saveExpedition,
|
||||
saveProfile,
|
||||
saveSettings,
|
||||
saveStocker,
|
||||
saveTopic,
|
||||
updateProvisionalStoreRank,
|
||||
updateStoryClearNum,
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
import { RequestCode } from "../defs";
|
||||
import { SaveStockerRequest } from "../request/saveStocker";
|
||||
|
||||
saveStocker.msgCode = 0x00a6 as RequestCode;
|
||||
saveStocker.msgLen = 0x00c0;
|
||||
|
||||
export function saveStocker(buf: Buffer): SaveStockerRequest {
|
||||
return {
|
||||
type: "save_stocker_req",
|
||||
profileId: buf.readUInt32LE(0x0004),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user