1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-19 15:55:31 +02:00
This commit is contained in:
syuilo
2024-01-18 16:10:28 +09:00
parent 36450d7fac
commit 768d0bdc00
3 changed files with 37 additions and 86 deletions

View File

@@ -172,18 +172,14 @@ export interface ReversiEventTypes {
export interface ReversiGameEventTypes {
accept: boolean;
cancelAccept: undefined;
changeAcceptingStates: {
user1: boolean;
user2: boolean;
};
updateSettings: {
key: string;
value: any;
};
initForm: {
userId: MiUser['id'];
form: any;
};
updateForm: {
id: string;
value: any;
};
message: {
message: string;
};
@@ -193,6 +189,13 @@ export interface ReversiGameEventTypes {
check: {
crc32: string;
};
started: {
game: Packed<'ReversiGame'>;
};
ended: {
winnerId: MiUser['id'] | null;
game: Packed<'ReversiGame'>;
};
}
//#endregion