window.__require=function e(t,n,o){function r(c,a){if(!n[c]){if(!t[c]){var s=c.split("/");if(s=s[s.length-1],!t[s]){var p="function"==typeof __require&&__require;if(!a&&p)return p(s,!0);if(i)return i(s,!0);throw new Error("Cannot find module '"+c+"'")}}var u=n[c]={exports:{}};t[c][0].call(u.exports,function(e){return r(t[c][1][e]||e)},u,u.exports,e,t,n,o)}return n[c].exports}for(var i="function"==typeof __require&&__require,c=0;c<o.length;c++)r(o[c]);return r}({UIMyRankingInfo:[function(e,t,n){"use strict";cc._RF.push(t,"abf37vOHspDVIYubvVOSjuz","UIMyRankingInfo"),Object.defineProperty(n,"__esModule",{value:!0});var o=cc._decorator.ccclass,r=cc._decorator.property,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.updateItem=function(e){var t=e;this.Name.string=t.nickname,this.Score.string="x "+t.score,this.ScoreName.string=t.scoreName,this.RankingLabel.string=t.number>0?""+t.number:"\u672a\u5165\u699c"},__decorate([r(cc.Label)],t.prototype,"RankingLabel",void 0),__decorate([r(cc.Label)],t.prototype,"Name",void 0),__decorate([r(cc.Label)],t.prototype,"Score",void 0),__decorate([r(cc.Label)],t.prototype,"ScoreName",void 0),t=__decorate([o("UI/Ranking/UIMyRankingInfo")],t)}(cc.Component);n.UIMyRankingInfo=i,cc._RF.pop()},{}],wechatFriendsRankingList:[function(e,t,n){"use strict";cc._RF.push(t,"a89d2Bu59tAj6HenFSMMHeI","wechatFriendsRankingList"),Object.defineProperty(n,"__esModule",{value:!0});var o=cc._decorator.ccclass,r=cc._decorator.property,i=e("./UIMyRankingInfo"),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rankKeys=["dmScore","dmScoreName"],t._itemList=[],t}return __extends(t,e),t.prototype.onLoad=function(){this.rankKeys&&this.updateList()},t.prototype.updateList=function(){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){for(console.info("updateList!!!"),e=0;e<10;e++)this.createItem();return this.ScrollView.scrollToTop(),[2]})})},t.prototype.createItem=function(){var e=cc.instantiate(this.Template);e.active=!0,this.Container.addChild(e),this._itemList.push(e)},__decorate([r(cc.Node)],t.prototype,"Template",void 0),__decorate([r(cc.Node)],t.prototype,"Container",void 0),__decorate([r(cc.ScrollView)],t.prototype,"ScrollView",void 0),__decorate([r(i.UIMyRankingInfo)],t.prototype,"MyRanking",void 0),t=__decorate([o("UI/Ranking/wechatFriendsRankingList")],t)}(cc.Component);n.wechatFriendsRankingList=c,cc._RF.pop()},{"./UIMyRankingInfo":"UIMyRankingInfo"}]},{},["UIMyRankingInfo","wechatFriendsRankingList"]);