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AI,CAAC;2DACe;IAtBxB,iBAAiB;QAF7B,OAAO;QACP,gCAAO,CAAC,iCAAiB,EAAE,yBAAyB,CAAC;OACzC,iBAAiB,CA8M7B;IAAD,wBAAC;KAAA;AA9MY,8CAAiB","file":"","sourceRoot":"/","sourcesContent":["import { CCPureView, CCView } from \"../../../../common/classbase/CCViewBase\";\nimport { PhoneCallViewType, PhoneCallViewProps, PhoneCallView, PhoneCallItemProps, PhoneCallListAutoNextPlot } from \"../type/PhoneCallView\";\nimport { RegView } from \"../../PresenterCCViewFactory\";\nimport { DummyScrollView, DummyLayout, DummyNode, DummyLabel, DummySprite } from \"../../../../common/CCDummyObjects\";\nimport { SentenceType, SentenceContent } from \"../../../../avg/model/PlotModel\";\nimport { richNodesToCocosString } from \"../../../../avg/utils/RichTextUtils\";\nimport { ResUtils } from \"../../../../common/utils/ResUtils\";\nimport { AudioManager } from \"../../../../common/gameplay/managers/AudioManager\";\n\nconst { ccclass, property } = cc._decorator;\n\n\n\n@ccclass\n@RegView(PhoneCallViewType, \"prefab/ui/PhoneCallView\")\nexport class PhoneCallViewImpl extends CCPureView<PhoneCallViewProps> implements PhoneCallView {\n //#region editor bindings\n @property(cc.ScrollView)\n private scrollView = DummyScrollView;\n @property(cc.Layout)\n private contentLayout = DummyLayout;\n @property(cc.Node)\n private callingNode = DummyNode;\n @property(cc.Node)\n private messageNode = DummyNode;\n @property(cc.Label)\n private nameLabel1 = DummyLabel;\n @property(cc.Label)\n private nameLabel2 = DummyLabel;\n @property(cc.Sprite)\n private headIcon1 = DummySprite;\n @property(cc.Sprite)\n private headIcon2 = DummySprite;\n\n @property(cc.Node)\n private rejectTipNode = DummyNode;\n @property(cc.Node)\n private nextPlotNode = DummyNode;\n\n onRejectCall() {\n this.node.children[1].active = true;\n this.rejectTipNode.runAction(cc.sequence(cc.fadeIn(0.3), cc.delayTime(0.3), cc.callFunc(() => {\n this.rejectTipNode.opacity = 0;\n this.node.children[0].opacity = 0;\n this.stopPhoneMusic();\n this.scheduleOnce(() => {\n this.node.children[0].opacity = 255;\n this.node.children[1].active = false;\n this.playPhoneMusic();\n }, 0.8);\n })));\n }\n\n playPhoneMusic = () => {\n const PhoneBgmCallSound = \"/audio/bgm/iPhoneXSCallSound\";\n AudioManager.playMusic(PhoneBgmCallSound)\n }\n\n stopPhoneMusic = () => {\n AudioManager.stopMusic();\n }\n\n onAcceptCall() {\n this.callingNode.active = false;\n this.messageNode.active = true;\n this.stopPhoneMusic();\n if (PhoneCallListAutoNextPlot) {\n this.scheduleOnce(() => {\n this._props.onCompletePlot();\n }, 0.6);\n }\n }\n\n onNextPlotBtnClick() {\n if (!PhoneCallListAutoNextPlot) {\n this._props.onCompletePlot(this._selectIndex);\n this._selectIndex = undefined;\n }\n }\n //#endregion\n\n private _newCall = true;\n private _selectIndex?: number;\n\n onLoad() {\n this.bindProp(\"name\", this.nameLabel1, \"string\");\n this.bindProp(\"name\", this.nameLabel2, \"string\");\n this.bindProp(\"icon\", async (v) => {\n if (v) {\n let sf = await ResUtils.loadRes(v, cc.SpriteFrame, 2);\n // if (v === this._props.icon) { // 理论上这里没必要\n this.headIcon1.spriteFrame = sf;\n this.headIcon2.spriteFrame = sf;\n // }\n }\n });\n\n // this.bindProp(\"select\", (value) => {\n // if (value >= 0) {\n // let item = this._props.items[this._props.items.length - 1];\n // item.select = value;\n // this.processItem(item);\n // }\n // });\n\n }\n\n select(value: number) {\n if (value >= 0) {\n let item = this._props.items[this._props.items.length - 1];\n item.select = value;\n this.processItem(item);\n }\n }\n\n scrollToTop(): void {\n this.scrollView.scrollToTop();\n }\n\n scrollToBottom(animate = true): void {\n if (this.contentLayout.node.height > this.scrollView.node.height) {\n this.scrollView.scrollToBottom(animate ? 0.3 : undefined);\n }\n }\n\n open(parent: CCView) {\n super.open(parent);\n\n this.callingNode.active = true;\n this.messageNode.active = false;\n this.node.children[0].opacity = 0;\n this.node.children[1].active = true;\n this.stopPhoneMusic();\n this.node.children[0].runAction(cc.sequence(cc.delayTime(0.2), cc.fadeIn(0.1), cc.callFunc(() => {\n this.node.children[0].opacity = 255;\n this.node.children[1].active = false;\n this.playPhoneMusic();\n })));\n }\n\n close(clean?: boolean) {\n super.close(clean);\n // 清除内容,防止下次打开的时候先显示上次的内容\n this.contentLayout.node.removeAllChildren();\n this.headIcon1.spriteFrame = undefined as any;\n this.nameLabel1.string = \"\";\n this.stopPhoneMusic();\n delete this._props;\n }\n\n onPropsLoad(props: PhoneCallViewProps) {\n super.onPropsLoad(props);\n for (let item of this._props.items) { // 应该只有一条\n this.processItem(item);\n }\n }\n\n onPropChange(propName: keyof PhoneCallViewProps) {\n super.onPropChange(propName);\n if (propName === \"items\") {\n for (let i = this.contentLayout.node.children.length; i < this._props.items.length; i++) {\n this.processItem(this._props.items[i]);\n }\n }\n }\n\n processItem(item: PhoneCallItemProps) {\n let content = item.sentence.content!;\n if (item.isSelf && content.type === SentenceType.SELECT && item.select === undefined) { // show selector\n this._props.onSetContent(content);\n this.nextPlotNode.active = false;\n } else {\n this.nextPlotNode.active = true;\n if (content.type === SentenceType.SELECT && item.select === undefined) {\n console.error(\"Something went wrong. \", item.sentence);\n return;\n }\n let node = new cc.Node;\n let richLabel = node.addComponent(cc.RichText);\n richLabel.fontSize = 32;\n richLabel.maxWidth = 585;\n if (item.isSelf) {\n node.anchorX = 1;\n node.x = 300;\n node.color = cc.color(62, 46, 198);\n richLabel.horizontalAlign = cc.macro.TextAlignment.RIGHT;\n } else {\n node.anchorX = 0;\n node.x = -300;\n richLabel.horizontalAlign = cc.macro.TextAlignment.LEFT;\n }\n\n if (content.type === SentenceType.SELECT) {\n let option = content.value[item.select!];\n if (option.content) {\n if (option.content.type === SentenceType.TEXT) {\n richLabel.string = richNodesToCocosString(option.content.value);\n } else {\n richLabel.string = `SentenceType(${option.content.type}) not supported in phone call.`;\n }\n } else {\n richLabel.string = option.summary;\n }\n } else if (content.type === SentenceType.TEXT) {\n richLabel.string = richNodesToCocosString(content.value);\n } else {\n richLabel.string = `SentenceType(${content.type}) not supported in phone call.`;\n }\n node.parent = this.contentLayout.node;\n }\n\n if (PhoneCallListAutoNextPlot && this.messageNode.active && !this._props.isSentenceSelectVisible()) {\n this.scheduleOnce(() => {\n this._props.onCompletePlot(item.select);\n }, 1);\n } else {\n this._selectIndex = item.select;\n }\n this.contentLayout.updateLayout();\n this.scrollToBottom();\n }\n}"]}