[add] Room 完成

This commit is contained in:
2023-09-02 22:33:23 +08:00
parent ec44d7a345
commit c43b113e5f
11 changed files with 140 additions and 70 deletions
+1
View File
@@ -0,0 +1 @@
export type MsgExit = number
+1
View File
@@ -0,0 +1 @@
export type MsgGoToGame = number
+3
View File
@@ -0,0 +1,3 @@
export interface ReqCreate { null: string }
export type ResCreate = number
+3
View File
@@ -0,0 +1,3 @@
export interface ReqExit { null: string }
export type ResExit = number
+3
View File
@@ -0,0 +1,3 @@
export interface ReqJoin { roomId: number }
export type ResJoin = number
+3
View File
@@ -0,0 +1,3 @@
export interface ReqList { null: string }
export type ResList = any[]