move 'vote' to Protocol

This commit is contained in:
modeco80
2024-08-21 22:36:22 -04:00
parent 1673f0abd7
commit 0010a8f300
3 changed files with 28 additions and 6 deletions

View File

@@ -114,6 +114,11 @@ export interface IProtocol {
sendListResponse(list: ListEntry[]): void;
sendVoteStarted(): void;
sendVoteStats(msLeft: number, nrYes: number, nrNo: number): void;
sendVoteEnded(): void;
sendVoteCooldown(ms: number): void;
sendScreenResize(width: number, height: number): void;
// Sends a rectangle update to the user.