9 lines
440 B
TypeScript
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
|
|
} |