Enable Game Features and UI (#11)
* Handle GetShopListCsReq and make NPCs interactable. * Add utils for shop excels. * Enable game features/UI. Co-authored-by: memetrollsXD <memetrollsxd@gmail.com>
This commit is contained in:
parent
56aa830e6a
commit
87d98b041f
@ -6,5 +6,5 @@ export default async function handle(session: Session, packet: Packet) {
|
|||||||
session.send("GetMissionDataScRsp", {
|
session.send("GetMissionDataScRsp", {
|
||||||
retcode: 0,
|
retcode: 0,
|
||||||
missionList: []
|
missionList: []
|
||||||
} as unknown as GetMissionDataScRsp);
|
} as GetMissionDataScRsp);
|
||||||
}
|
}
|
@ -7,7 +7,30 @@ export default async function handle(session: Session, packet: Packet) {
|
|||||||
|
|
||||||
const dataObj = {
|
const dataObj = {
|
||||||
retcode: 0,
|
retcode: 0,
|
||||||
finishedMainMissionIdList: [],
|
finishedMainMissionIdList: [
|
||||||
|
1000101,
|
||||||
|
1000112,
|
||||||
|
1000113,
|
||||||
|
1000201,
|
||||||
|
1000202,
|
||||||
|
1000204,
|
||||||
|
1000301,
|
||||||
|
1000401,
|
||||||
|
1000402,
|
||||||
|
1000410,
|
||||||
|
1000510,
|
||||||
|
1000601,
|
||||||
|
1010301,
|
||||||
|
1010302,
|
||||||
|
1010401,
|
||||||
|
1010403,
|
||||||
|
1010701,
|
||||||
|
1011403,
|
||||||
|
1010202,
|
||||||
|
1010902,
|
||||||
|
1011102,
|
||||||
|
4010101
|
||||||
|
],
|
||||||
missionEventStatusList: [],
|
missionEventStatusList: [],
|
||||||
subMissionStatusList: [],
|
subMissionStatusList: [],
|
||||||
unfinishedMainMissionIdList: []
|
unfinishedMainMissionIdList: []
|
||||||
@ -19,7 +42,7 @@ export default async function handle(session: Session, packet: Packet) {
|
|||||||
dataObj.missionEventStatusList.push({
|
dataObj.missionEventStatusList.push({
|
||||||
id: id,
|
id: id,
|
||||||
progress: 0,
|
progress: 0,
|
||||||
status: MissionStatus.MISSION_DOING
|
status: MissionStatus.MISSION_FINISH
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -27,7 +50,7 @@ export default async function handle(session: Session, packet: Packet) {
|
|||||||
dataObj.subMissionStatusList.push({
|
dataObj.subMissionStatusList.push({
|
||||||
id: id,
|
id: id,
|
||||||
progress: 0,
|
progress: 0,
|
||||||
status: MissionStatus.MISSION_DOING
|
status: MissionStatus.MISSION_FINISH
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user