接入ResLogin.otherPlayers
This commit is contained in:
@@ -10,10 +10,10 @@ export interface PlayerInfo {
|
||||
/** 玩家昵称 */
|
||||
name: string;
|
||||
|
||||
/** 当前位置 */
|
||||
/** 当前位置(客户端坐标,放大1000倍后的整数) */
|
||||
position: Position;
|
||||
|
||||
/** 出生点 */
|
||||
/** 出生点(客户端坐标,放大1000倍后的整数) */
|
||||
spawnPoint: Position;
|
||||
|
||||
/** 当前生命值 */
|
||||
@@ -47,4 +47,7 @@ export interface MsgResLogin {
|
||||
|
||||
/** 是否新玩家 */
|
||||
isNewPlayer?: boolean;
|
||||
|
||||
/** 房间内其他在线玩家信息 */
|
||||
otherPlayers?: PlayerInfo[];
|
||||
}
|
||||
Reference in New Issue
Block a user