add missing requests/responses

This commit is contained in:
seavor 2026-04-16 01:28:42 -05:00
parent f0c3581d26
commit 4b5f66d497
27 changed files with 382 additions and 10 deletions

View file

@ -229,4 +229,12 @@ export class SessionResponseImpl implements ISessionResponse {
replayDeleteMatch(gameId: number): void {
ServerDispatch.replayDeleteMatch(gameId);
}
downloadServerDeck(deckId: number, response: Data.Response_DeckDownload): void {
ServerDispatch.deckDownloaded(deckId, response.deck);
}
replayDownloaded(replayId: number, response: Data.Response_ReplayDownload): void {
ServerDispatch.replayDownloaded(replayId, response.replayData);
}
}

View file

@ -6,11 +6,7 @@ import { GameResponseImpl } from './GameResponseImpl';
import { AdminResponseImpl } from './AdminResponseImpl';
import { ModeratorResponseImpl } from './ModeratorResponseImpl';
export { SessionResponseImpl } from './SessionResponseImpl';
export { RoomResponseImpl } from './RoomResponseImpl';
export { GameResponseImpl } from './GameResponseImpl';
export { AdminResponseImpl } from './AdminResponseImpl';
export { ModeratorResponseImpl } from './ModeratorResponseImpl';
export { SessionResponseImpl, RoomResponseImpl, GameResponseImpl, AdminResponseImpl, ModeratorResponseImpl };
export function createWebClientResponse(): IWebClientResponse {
return {