feat: GetNationInfo에 국방 추가
This commit is contained in:
@@ -94,11 +94,15 @@ class GetNationInfo extends \sammo\BaseAPI
|
||||
$troopName[$troopID] = $tName;
|
||||
}
|
||||
|
||||
return [
|
||||
$result = [
|
||||
'result' => true,
|
||||
'isFull' => $isFull,
|
||||
'nation' => $nation,
|
||||
'impossibleStrategicCommandLists' => $impossibleStrategicCommandLists,
|
||||
'nationNotice' => $nationStor->nationNotice,
|
||||
'troops' => $troopName,
|
||||
];
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -156,6 +156,8 @@ export type NationInfoResponse =
|
||||
})
|
||||
| (ValidResponse & {
|
||||
nation: NationItem;
|
||||
isFull: true,
|
||||
impossibleStrategicCommandLists: [string, number][];
|
||||
nationNotice: string,
|
||||
troops: Record<number, string>;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user