private void OnClickBtnCompose(GameObject go) { if (!GemGlobal.IsGemEnoughLv(this.rootTypeId)) { string text = string.Format(GameDataUtils.GetChineseContent(621005, false), new object[0]); UIManagerControl.Instance.ShowToastText(text, 2f, 2f); return; } if (!this.IsEnoughGemToCompose(this.rootTypeId)) { int gemLv = GemGlobal.GetGemLv(this.branchTypeId); string gemColor = GemGlobal.GetGemColor(this.branchTypeId); string text2 = string.Format(GameDataUtils.GetChineseContent(621008, false), gemLv, gemColor); UIManagerControl.Instance.ShowToastText(text2, 2f, 2f); return; } int arg_B7_0 = (!this.IsComposeGemtoSlot(this.rootTypeId)) ? 0 : GemUI.instance.slotCurr; GemManager.Instance.SendGemSysCompositeReq(this.rootTypeId, 1); if (this.IsComposeGemtoSlot(this.rootTypeId)) { GemSingleUI gemSingleUI = UIManagerControl.Instance.GetUIIfExist("GemSingleUI") as GemSingleUI; if (gemSingleUI != null) { gemSingleUI.Show(false); } this.Show(false); } }