Files
rougelike-demo/client/assets/scripts/Shared/protocols/MsgResMove.ts
2025-12-18 16:04:56 +08:00

15 lines
311 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Position } from './base';
/**
* 移动响应消息
*/
export interface MsgResMove {
/** 是否成功 */
success: boolean;
/** 消息 */
message: string;
/** 新位置成功时返回客户端坐标放大1000倍后的整数 */
position?: Position;
}