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

9 lines
440 B
TypeScript

import { LoginType } from '../../../Domain/Game/GameAggregate';
export interface JoinGameCommand {
gameCode: string; // 6-character game code
playerId?: string; // User ID of the player joining (optional for public games)
playerName?: string; // Display name for the player (required for public games)
orgId?: string | null; // Organization ID (for organization games)
loginType: LoginType; // Type of join being attempted
}