wip: GetFrontInfo

This commit is contained in:
2023-03-09 02:20:11 +09:00
parent 7425722c39
commit 8b78055fcf
4 changed files with 739 additions and 96 deletions
+2
View File
@@ -26,6 +26,7 @@ import type {
GetConstResponse,
GetCurrentHistoryResponse,
GetDiplomacyResponse,
GetFrontInfoResponse,
GetHistoryResponse,
GetRecentRecordResponse,
} from "./defs/API/Global";
@@ -131,6 +132,7 @@ const apiRealPath = {
DieOnPrestart: POST as APICallT<undefined>,
BuildNationCandidate: POST as APICallT<undefined>,
GetCommandTable: GET as APICallT<undefined, CommandTableResponse>,
GetFrontInfo: GET as APICallT<undefined, GetFrontInfoResponse>,
},
Global: {
GeneralList: GET as APICallT<undefined, GeneralListResponse>,