Files
rougelike-demo/client/assets/scripts/Shared/protocols/MsgPlayerMove.ts

20 lines
380 B
TypeScript
Raw Normal View History

2025-12-14 22:38:09 +08:00
import { Position } from './base';
/**
* 广
* 广线
*/
export interface MsgPlayerMove {
/** 移动的玩家ID */
playerId: string;
/** 玩家昵称 */
playerName: string;
/** 移动后的位置 */
position: Position;
/** 移动时间戳 */
timestamp: number;
}