46982c7a-6398-44f3-908f-e24fd26c295b.js 2.54 KB
"use strict";
cc._RF.push(module, '46982x6Y5hE85CP4k/SbClb', 'ReviewPlotViewImpl');
// script/game/ui/view/impl/ReviewPlotViewImpl.ts

"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReviewPlotViewImpl = void 0;
const CCDummyObjects_1 = require("../../../../common/CCDummyObjects");
const CCViewBase_1 = require("../../../../common/classbase/CCViewBase");
const PresenterCCViewFactory_1 = require("../../PresenterCCViewFactory");
const ReviewPlotView_1 = require("../type/ReviewPlotView");
const { ccclass, property } = cc._decorator;
let ReviewPlotViewImpl = /** @class */ (() => {
    let ReviewPlotViewImpl = class ReviewPlotViewImpl extends CCViewBase_1.CCPureView {
        constructor() {
            super(...arguments);
            this.plotScrollView = CCDummyObjects_1.DummyScrollView;
            this.plotRichText = CCDummyObjects_1.DummyRichText;
            this.loadingNode = CCDummyObjects_1.DummyNode;
        }
        getPlotScrollView() {
            return this.plotScrollView;
        }
        getLoadingNode() {
            return this.loadingNode;
        }
        getPlotRichText() {
            return this.plotRichText;
        }
        onCloseButtonClick() {
            this._props.onCloseButtonClickCallback();
        }
    };
    __decorate([
        property({ type: cc.ScrollView, displayName: "Plot scrollView" })
    ], ReviewPlotViewImpl.prototype, "plotScrollView", void 0);
    __decorate([
        property({ type: cc.RichText, displayName: "Plot richText" })
    ], ReviewPlotViewImpl.prototype, "plotRichText", void 0);
    __decorate([
        property({ type: cc.Node, displayName: "Loading node" })
    ], ReviewPlotViewImpl.prototype, "loadingNode", void 0);
    ReviewPlotViewImpl = __decorate([
        ccclass,
        PresenterCCViewFactory_1.RegView(ReviewPlotView_1.ReviewPlotViewType, "prefab/ui/ReviewPlotView")
    ], ReviewPlotViewImpl);
    return ReviewPlotViewImpl;
})();
exports.ReviewPlotViewImpl = ReviewPlotViewImpl;

cc._RF.pop();