public void Init(GUIBillboard baseScene, string name, BillboardChildBtn.VoidCallback cb)
 {
     this.mBaseScene = baseScene;
     this.SendMessageToServer = cb;
     this.CreateObjects();
     this.mName.text = name;
 }
 public void InitBillboard(GUIBillboard baseScene)
 {
     this.mBaseScene = baseScene;
     this.mItemsTable = GameUITools.FindGameObject("RankPanel/Contents", base.gameObject).gameObject.AddComponent<CommonRankItemTable>();
     this.mItemsTable.maxPerLine = 1;
     this.mItemsTable.arrangement = UICustomGrid.Arrangement.Vertical;
     this.mItemsTable.cellWidth = 598f;
     this.mItemsTable.cellHeight = 87f;
     this.mItemsTable.scrollBar = GameUITools.FindGameObject("ScrollBar", base.gameObject).GetComponent<UIScrollBar>();
     this.mItemsTable.InitWithBaseScene(this);
     this.mLabel1 = GameUITools.FindUILabel("Label1", base.gameObject);
     this.mLabel2 = GameUITools.FindUILabel("Label2", base.gameObject);
     this.mFighting = GameUITools.FindUILabel("Fighting", base.gameObject);
     this.mValue = GameUITools.FindUILabel("Value", base.gameObject);
     this.mLabel1.gameObject.SetActive(false);
     this.mLabel2.gameObject.SetActive(false);
     this.mFighting.gameObject.SetActive(false);
     this.mValue.gameObject.SetActive(false);
 }
 public void Init(GUIBillboard baseScene, string name)
 {
     this.mBaseScene = baseScene;
     this.CreateObjects();
     this.mName.text = name;
 }