{ "code": "import { EventManager } from \"../GameLogic/EventManager\";\r\nimport { ui } from \"../ui/layaMaxUI\";\r\nexport default class MaskUi extends ui.MaskUiUI {\r\n constructor() {\r\n super();\r\n this.resizeHander();\r\n EventManager.on(Laya.Event.RESIZE, this, this.resizeHander);\r\n }\r\n OnShow(data) {\r\n this.InitHandler();\r\n }\r\n InitUi() {\r\n }\r\n InitDate() {\r\n }\r\n InitHandler() {\r\n this.on(Laya.Event.CLICK, this, this.Test);\r\n }\r\n Test() {\r\n }\r\n OnClose() {\r\n EventManager.off(Laya.Event.RESIZE, this, this.resizeHander);\r\n this.off(Laya.Event.CLICK, this, this.Test);\r\n }\r\n resizeHander() {\r\n this.height = Laya.stage.height;\r\n }\r\n}\r\n//# sourceMappingURL=MaskUi.js.map", "references": [ "D:/GitProject/GunGang/gungang_laya/gungang/src/GameLogic/EventManager.ts", "D:/GitProject/GunGang/gungang_laya/gungang/src/ui/layaMaxUI.ts" ], "map": "{\"version\":3,\"file\":\"MaskUi.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/Window/MaskUi.ts\"],\"names\":[],\"mappings\":\"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,EAAE,CAAC,QAAQ;IAG3C;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,YAAY,EAAE,CAAC;QACpB,YAAY,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IAEhE,CAAC;IACD,MAAM,CAAC,IAAU;QACb,IAAI,CAAC,WAAW,EAAE,CAAC;IACvB,CAAC;IACD,MAAM;IACN,CAAC;IACD,QAAQ;IACR,CAAC;IACD,WAAW;QACP,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAC,IAAI,EAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IACD,IAAI;IAEJ,CAAC;IAED,OAAO;QACH,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;QAC7D,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAC,IAAI,EAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;IAED,YAAY;QACR,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;IACpC,CAAC;CACJ\"}" }