logger
This commit is contained in:
Vendored
+4
-1
@@ -63,7 +63,7 @@ class BcmTool {
|
||||
const record = this.queryInfo(playerId, id);
|
||||
this.logger.Info(name, record);
|
||||
}
|
||||
g_game.mgr.tools.CopyStrToClipboard(this.logger.GetOutput());
|
||||
g_game.tools.CopyStrToClipboard(this.logger.GetOutput());
|
||||
this.logger.Clear();
|
||||
}
|
||||
}
|
||||
@@ -79,6 +79,9 @@ class BcmTool {
|
||||
const data = this.mgrTeamInfo.GetPlayerData(playerId);
|
||||
return data.GetSingleAttribute(attri).toFixed(2);
|
||||
}
|
||||
getPlayerIds() {
|
||||
return Object.keys(this.mgrTeamInfo._map_player_detail);
|
||||
}
|
||||
listPlayers() {
|
||||
const ids = Object.keys(this.mgrTeamInfo._map_player_detail);
|
||||
for (const id of ids) {
|
||||
|
||||
Reference in New Issue
Block a user