listPlayers
This commit is contained in:
Vendored
+6
@@ -73,6 +73,12 @@ class BcmTool {
|
||||
const data = g_game.mgr.mgr_team_player_team_info.GetPlayerData(playerId);
|
||||
return data.GetSingleAttribute(attri);
|
||||
}
|
||||
listPlayers() {
|
||||
const ids = Object.keys(g_game.mgr.mgr_team_player_team_info._map_player_detail);
|
||||
for (const id of ids) {
|
||||
console.log(this.queryName(id), id);
|
||||
}
|
||||
}
|
||||
}
|
||||
(() => {
|
||||
g_game.bcm_tool = new BcmTool();
|
||||
|
||||
Reference in New Issue
Block a user