forked from Bitcoindefi/OpenAO
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathranking.ts
More file actions
32 lines (29 loc) · 677 Bytes
/
Copy pathranking.ts
File metadata and controls
32 lines (29 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
export type RankingCharacter = {
id: string;
name: string;
level: number;
exp: number;
expNextLevel: number;
kills: number;
idClase: number;
idRaza: number;
criminal: boolean;
faction: "none" | "armada" | "caos";
clanName: string | null;
headId: number;
bodyId: number;
updatedAt: string;
};
export type RankingResponse = {
characters: RankingCharacter[];
};
export type RankingPageData = RankingResponse & {
headSpritesById: Record<string, RankingHeadSprite | null>;
};
export type RankingHeadSprite = {
numFile: string;
width: number;
height: number;
sourceX: number;
sourceY: number;
};