Files
SerpentRace/SerpentRace_Backend/src/Application/Game/commands/StartGameCommand.ts
T
2025-09-15 19:00:35 +02:00

9 lines
440 B
TypeScript

import { LoginType } from '../../../Domain/Game/GameAggregate';
export interface StartGameCommand {
deckids: string[]; // Array of deck IDs (3 types, multiple decks per type)
maxplayers: number; // Maximum number of players
logintype: LoginType; // How players can join the game
userid?: string; // Optional user who created the game (becomes game master)
orgid?: string | null; // Organization ID (for organization games)
}