cc.Class({ extends: cc.BaseClass, properties: { }, ctor:function(){ this.m_ItemControl = new Array(); }, // use this for initialization onLoad: function () { this.m_pEndInfo = null; }, SetEndInfo(pRoomEnd){ this.m_pEndInfo = pRoomEnd; if(this.m_ListCtrl == null) this.m_ListCtrl = this.node.getComponent('CustomListCtrl'); this.m_ListCtrl.InitList(0, 'BigResultItem_'+GameDef.KIND_ID); for(var i=0;i= 0?'+':'')+this.m_pEndInfo.lTotalScore[i]; } ShareInfo.link = cc.share.MakeLink_GameEnd(); return ShareInfo; }, });