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