{
  "code": "var Templet = Laya.Templet;\r\nvar Event = Laya.Event;\r\nexport class NetInfoManager {\r\n    constructor() {\r\n        this.mStartX = 200;\r\n        this.mStartY = 500;\r\n        this.mActionIndex = 0;\r\n        this.mCurrIndex = 0;\r\n        this.mCurrSkinIndex = 0;\r\n    }\r\n    static get Instance() {\r\n        return this.instance || (this.instance = new NetInfoManager());\r\n    }\r\n    GetThing(id) {\r\n        if (this._thing) {\r\n            return this._thing[id - 1];\r\n        }\r\n        return null;\r\n    }\r\n    GetTheme(id) {\r\n        if (this._theme) {\r\n            return this._theme[id - 1];\r\n        }\r\n        return null;\r\n    }\r\n    GetRoad(id) {\r\n        if (this._road) {\r\n            return this._road[id - 1];\r\n        }\r\n        return null;\r\n    }\r\n    GetRate(id) {\r\n        if (this._rate) {\r\n            return this._rate[id - 1];\r\n        }\r\n        return null;\r\n    }\r\n    GetStreet(id) {\r\n        if (this._block) {\r\n            return this._block[id - 1];\r\n        }\r\n        return null;\r\n    }\r\n    GetGlobal(key) {\r\n        if (this._globe) {\r\n            for (let index = 0; index < this._globe.length; index++) {\r\n                const element = this._globe[index];\r\n                if (element.key == key) {\r\n                    return element.value;\r\n                }\r\n            }\r\n        }\r\n    }\r\n    GetLevel(id) {\r\n        if (this._level) {\r\n            return this._level[id - 1];\r\n        }\r\n        return null;\r\n    }\r\n    GetAtk(id) {\r\n        if (this._atk) {\r\n            return this._atk[id - 1];\r\n        }\r\n        return null;\r\n    }\r\n    startFun() {\r\n        this.mAniPath = \"res/spine/spineRes5/vine.sk\";\r\n        this.mFactory = new Templet();\r\n        this.mFactory.on(Event.COMPLETE, this, this.parseComplete);\r\n        this.mFactory.on(Event.ERROR, this, this.onError);\r\n        this.mFactory.loadAni(this.mAniPath);\r\n    }\r\n    onError() {\r\n        console.log(\"error\");\r\n    }\r\n    parseComplete() {\r\n        this.mArmature = this.mFactory.buildArmature(1);\r\n        this.mArmature.x = this.mStartX;\r\n        this.mArmature.y = this.mStartY;\r\n        this.mArmature.scale(0.5, 0.5);\r\n        Laya.stage.addChild(this.mArmature);\r\n        this.mArmature.on(Event.STOPPED, this, this.completeHandler);\r\n        this.play();\r\n    }\r\n    completeHandler() {\r\n        this.play();\r\n    }\r\n    play() {\r\n        this.mCurrIndex++;\r\n        if (this.mCurrIndex >= this.mArmature.getAnimNum()) {\r\n            this.mCurrIndex = 0;\r\n        }\r\n        this.mArmature.play(this.mCurrIndex, false);\r\n    }\r\n}\r\n//# sourceMappingURL=NetInfoManager.js.map",
  "references": [
    "C:/Users/Administrator/Desktop/gungang/src/Util/Dictionary.ts"
  ],
  "map": "{\"version\":3,\"file\":\"NetInfoManager.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/Game/NetInfoManager.ts\"],\"names\":[],\"mappings\":\"AAKA,IAAO,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;AAC9B,IAAO,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;AAK1B,MAAM,OAAO,cAAc;IAA3B;QA6EU,YAAO,GAAU,GAAG,CAAC;QACrB,YAAO,GAAU,GAAG,CAAC;QAErB,iBAAY,GAAU,CAAC,CAAC;QACxB,eAAU,GAAU,CAAC,CAAC;QAEtB,mBAAc,GAAU,CAAC,CAAC;IA6CpC,CAAC;IA9HU,MAAM,KAAK,QAAQ;QACtB,OAAO,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI,cAAc,EAAE,CAAC,CAAC;IACnE,CAAC;IAGM,QAAQ,CAAC,EAAE;QACd,IAAI,IAAI,CAAC,MAAM,EAAE;YACb,OAAO,IAAI,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;SAC9B;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IAGM,QAAQ,CAAC,EAAE;QACd,IAAI,IAAI,CAAC,MAAM,EAAE;YACb,OAAO,IAAI,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;SAC9B;QACD,OAAO,IAAI,CAA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