feat: GlobalMenu API

- GlobalMenu 작성용 DTO(MenuItem, MenuMulti, MenuSplit)
- d_setting에 GlobalMenu를 직접 작성 가능하도록 제공
This commit is contained in:
2023-03-09 02:20:18 +09:00
parent a2b800b2ef
commit 72657692ee
8 changed files with 246 additions and 0 deletions
+2
View File
@@ -28,6 +28,7 @@ import type {
GetDiplomacyResponse,
GetFrontInfoResponse,
GetHistoryResponse,
GetMenuResponse,
GetRecentRecordResponse,
} from "./defs/API/Global";
import type { CachedMapResult, CommandTableResponse, GeneralListResponse, ItemTypeKey, MapResult } from "./defs";
@@ -158,6 +159,7 @@ const apiRealPath = {
lastGeneralRecordID: number;
lastWorldHistoryID: number;
} | undefined, GetRecentRecordResponse>,
GetGlobalMenu: GET as APICallT<undefined, GetMenuResponse>,
},
InheritAction: {
BuyHiddenBuff: PUT as APICallT<{