重构NetManager支持MessagePair,新增TSRPCWsClient。
This commit is contained in:
10
client/assets/scripts/Shared/protocols/MsgReqMove.ts
Normal file
10
client/assets/scripts/Shared/protocols/MsgReqMove.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* 移动请求消息
|
||||
*/
|
||||
export interface MsgReqMove {
|
||||
/** X坐标 */
|
||||
x: number;
|
||||
|
||||
/** Y坐标 */
|
||||
y: number;
|
||||
}
|
||||
Reference in New Issue
Block a user