mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-19 15:55:31 +02:00
wip
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user