This commit is contained in:
2026-01-20 16:29:43 +08:00
parent 66c0df8ade
commit b6331e206b
4 changed files with 11 additions and 3 deletions
+5 -1
View File
@@ -63,7 +63,7 @@ class BcmTool {
const record = this.queryInfo(playerId, id as number);
this.logger.Info(name, record);
}
g_game.mgr.tools.CopyStrToClipboard(this.logger.GetOutput());
g_game.tools.CopyStrToClipboard(this.logger.GetOutput());
this.logger.Clear();
}
}
@@ -83,6 +83,10 @@ class BcmTool {
return data.GetSingleAttribute(attri).toFixed(2);
}
public getPlayerIds() {
return Object.keys(this.mgrTeamInfo._map_player_detail);
}
public listPlayers() {
const ids = Object.keys(this.mgrTeamInfo._map_player_detail);
for (const id of ids) {