02025066-b348-4cf3-ad25-ce300d1c5a34.js
4.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
"use strict";
cc._RF.push(module, '02025Bms0hM860lzjANHFo0', 'SpecialPlotViewImpl');
// script/game/ui/view/impl/bedroom/SpecialPlotViewImpl.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.SpecialPlotViewImpl = void 0;
const CCDummyObjects_1 = require("../../../../../common/CCDummyObjects");
const CCViewBase_1 = require("../../../../../common/classbase/CCViewBase");
const PresenterCCViewFactory_1 = require("../../../PresenterCCViewFactory");
const SpecialPlotView_1 = require("../../type/SpecialPlotView");
const { ccclass, property } = cc._decorator;
let SpecialPlotViewImpl = /** @class */ (() => {
let SpecialPlotViewImpl = class SpecialPlotViewImpl extends CCViewBase_1.CCPureView {
constructor() {
super(...arguments);
this.specialPlotScrollView = CCDummyObjects_1.DummyScrollView;
this.specialPlotTitleNode = CCDummyObjects_1.DummyNode;
this.specialPlotNode = CCDummyObjects_1.DummyNode;
this.leftBtn = CCDummyObjects_1.DummyNode;
this.rightBtn = CCDummyObjects_1.DummyNode;
this.rightBtnRedDot = CCDummyObjects_1.DummyNode;
this.forumBtn = CCDummyObjects_1.DummyNode;
this.shopBtn = CCDummyObjects_1.DummyNode;
}
onLoad() {
}
getSpecialPlotScrollView() {
return this.specialPlotScrollView;
}
getSpecialPlotTitleNode() {
return this.specialPlotTitleNode;
}
getSpecialPlotNode() {
return this.specialPlotNode;
}
onLeftBtnClickCallBack() {
this._props.onLeftBtnClick();
}
onRightBtnClickCallBack() {
this._props.onRightBtnClick();
}
showLeftBtn(isShow) {
this.leftBtn.active = isShow;
}
showRightBtn(isShow) {
this.rightBtn.active = isShow;
}
getViewNode() {
return this.node;
}
getForumBtnNode() {
return this.forumBtn;
}
onCloseClickCallBack() {
this._props.onCloseBtnClick();
}
onShopBtnClickCallBack() {
this._props.onShopBtnClick();
}
showRedDot(isShow) {
this.rightBtnRedDot.active = isShow;
}
};
__decorate([
property(cc.ScrollView)
], SpecialPlotViewImpl.prototype, "specialPlotScrollView", void 0);
__decorate([
property(cc.Node)
], SpecialPlotViewImpl.prototype, "specialPlotTitleNode", void 0);
__decorate([
property(cc.Node)
], SpecialPlotViewImpl.prototype, "specialPlotNode", void 0);
__decorate([
property(cc.Node)
], SpecialPlotViewImpl.prototype, "leftBtn", void 0);
__decorate([
property(cc.Node)
], SpecialPlotViewImpl.prototype, "rightBtn", void 0);
__decorate([
property(cc.Node)
], SpecialPlotViewImpl.prototype, "rightBtnRedDot", void 0);
__decorate([
property({ type: cc.Node, tooltip: "论坛按钮" })
], SpecialPlotViewImpl.prototype, "forumBtn", void 0);
__decorate([
property({ type: cc.Node, tooltip: "商城按钮" })
], SpecialPlotViewImpl.prototype, "shopBtn", void 0);
SpecialPlotViewImpl = __decorate([
ccclass,
PresenterCCViewFactory_1.RegView(SpecialPlotView_1.SpecialPlotViewType, "prefab/ui/SpecialPlotView")
], SpecialPlotViewImpl);
return SpecialPlotViewImpl;
})();
exports.SpecialPlotViewImpl = SpecialPlotViewImpl;
cc._RF.pop();