feat: gamemode defs

This commit is contained in:
TrèsAbhi committed 2024-08-14 20:46:55 -05:00
1 parent 643c7272ca
commit 6ada813dd5
3 files changed
+37 -1

No files matched your search

+6
View File
@@ -1,9 +1,15 @@
import { asset } from './asset';
import { fetchCdonLz4 } from './fetchCdonLz4';
interface GameMode {
name: string;
description: string;
}
export interface GameDefinitions {
version: string;
nations: string[];
gameModes: Record<string, GameMode>;
}
export const gameDefinitions = fetchCdonLz4<GameDefinitions>(