This commit is contained in:
2026-01-20 16:24:17 +08:00
parent 9e37f0fc33
commit 66c0df8ade
4 changed files with 37 additions and 44 deletions
+19 -1
View File
@@ -1,4 +1,3 @@
import { Logger } from "./logger";
class BcmTool {
private mgrTeamInfo = g_game.mgr.mgr_team_player_team_info;
@@ -93,6 +92,25 @@ class BcmTool {
}
class Logger {
private msgs = '';
public Info(...msgs:any[]) {
for (const msg of msgs) {
this.msgs += String(msg);
}
this.msgs += '\n';
}
public GetOutput() {
return this.msgs;
}
public Clear() {
this.msgs = '';
}
}
(()=>{
g_game.bcm_tool = new BcmTool();
})();