9996734b-33f7-4470-a714-614259daf0b0.js.map
1.58 KB
{"version":3,"sources":["assets/script/game/ui/SpecialToast.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,gEAA0D;AAE1D,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC;AAE5C,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IACxB,qEAAe,CAAA;IACf,iEAAa,CAAA;IACb,qEAAe,CAAA;AACnB,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAGD;IAAA,IAAqB,YAAY,GAAjC,MAAqB,YAAa,SAAQ,EAAE,CAAC,SAAS;QAAtD;;YAGI,eAAU,GAAc,4BAAW,CAAC;YAEpC,qBAAgB,GAAqB,EAAE,CAAC;QAK5C,CAAC;QAHG,KAAK,CAAC,OAAO,CAAC,gBAAkC;YAC5C,IAAI,CAAC,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;QAC1E,CAAC;KACJ,CAAA;IAPG;QADC,QAAQ,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;oDACtB;IAEpC;QADC,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,WAAW,CAAC,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC;0DAC/B;IALvB,YAAY;QADhC,OAAO;OACa,YAAY,CAUhC;IAAD,mBAAC;KAAA;kBAVoB,YAAY","file":"","sourceRoot":"/","sourcesContent":["import { DummySprite } from \"../../common/CCDummyObjects\";\n\nconst { ccclass, property } = cc._decorator;\n\nexport enum SpecialToastType {\n CommonValue = 0,//通用剧情数值变化\n AiErValue = 1,//艾尔专属数值变化\n GaiYinValue = 2,//该隐专属数值变化\n}\n\n@ccclass\nexport default class SpecialToast extends cc.Component {\n\n @property({ type: cc.Sprite, displayName: \"Tips sprite\" })\n tipsSprite: cc.Sprite = DummySprite;\n @property({ type: [cc.SpriteFrame], displayName: \"Tips spriteFrames\" })\n tipsSpriteFrames: cc.SpriteFrame[] = [];\n\n async setData(specialToastType: SpecialToastType) {\n this.tipsSprite.spriteFrame = this.tipsSpriteFrames[specialToastType];\n }\n}"]}