diff --git a/dist/bcm_tool.js b/dist/bcm_tool.js index f59758a..98ed58f 100644 --- a/dist/bcm_tool.js +++ b/dist/bcm_tool.js @@ -1,10 +1,8 @@ "use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const logger_1 = require("./logger"); class BcmTool { constructor() { this.mgrTeamInfo = g_game.mgr.mgr_team_player_team_info; - this.logger = new logger_1.Logger(); + this.logger = new Logger(); } queryPlayerInfo(playersToQuery) { const attributes = [ @@ -88,6 +86,23 @@ class BcmTool { } } } +class Logger { + constructor() { + this.msgs = ''; + } + Info(...msgs) { + for (const msg of msgs) { + this.msgs += String(msg); + } + this.msgs += '\n'; + } + GetOutput() { + return this.msgs; + } + Clear() { + this.msgs = ''; + } +} (() => { g_game.bcm_tool = new BcmTool(); })(); diff --git a/dist/logger.js b/dist/logger.js deleted file mode 100644 index ab67b3d..0000000 --- a/dist/logger.js +++ /dev/null @@ -1,21 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Logger = void 0; -class Logger { - constructor() { - this.msgs = ''; - } - Info(...msgs) { - for (const msg of msgs) { - this.msgs += String(msg); - } - this.msgs += '\n'; - } - GetOutput() { - return this.msgs; - } - Clear() { - this.msgs = ''; - } -} -exports.Logger = Logger; diff --git a/src/bcm_tool.ts b/src/bcm_tool.ts index d103e04..554b43a 100644 --- a/src/bcm_tool.ts +++ b/src/bcm_tool.ts @@ -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(); })(); \ No newline at end of file diff --git a/src/logger.ts b/src/logger.ts deleted file mode 100644 index 0179fea..0000000 --- a/src/logger.ts +++ /dev/null @@ -1,19 +0,0 @@ - -export 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 = ''; - } -} \ No newline at end of file