feat: PageFront 상단 정보(wip)

This commit is contained in:
2023-03-09 02:20:22 +09:00
parent 5fde900554
commit 5dabdb2636
5 changed files with 155 additions and 53 deletions
+5 -4
View File
@@ -9,7 +9,7 @@ import type {
GameIActionInfo,
} from "@/defs/GameObj";
import type { diplomacyState, MapResult, NationLevel, SimpleNationObj } from "@/defs";
import type { GeneralListItemP0, GeneralListItemP1 } from "./Nation";
import type { GeneralListItemP0, GeneralListItemP1, NationNotice } from "./Nation";
import type { VoteInfo } from "./Vote";
export interface GetConstResponse {
@@ -130,7 +130,8 @@ export type GetFrontInfoResponse = {
isBettingActive: boolean;
isLocked: boolean;
tournamentType: null | 0 | 1 | 2 | 3;
tournamentState: string;
tournamentState: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
tournamentTime: string;
genCount: [number, number][];
generalCntLimit: number;
serverCnt: number;
@@ -166,7 +167,7 @@ export type GetFrontInfoResponse = {
cons: string;
};
color: string;
level: NationLevel;
level: NationLevel
capital: number;
gold: number;
rice: number;
@@ -176,7 +177,7 @@ export type GetFrontInfoResponse = {
bill: number;
taxRate: number;
onlineGen: string;
notice: string;
notice: NationNotice;
topChiefs: Record<
11 | 12,
{