| | |
| | | m_ItemCell.button.enabled = false; |
| | | m_Description1.text = item.config.ItemName; |
| | | m_Description1.color = UIHelper.GetUIColor(item.config.ItemColor, true); |
| | | m_Description2.text = string.Format("洗练等级:{0}级", this.candidate.trainLevel.Fetch()); |
| | | m_Description2.text = string.Format("洗炼等级:{0}级", this.candidate.trainLevel.Fetch()); |
| | | m_Description2.color = UIHelper.GetUIColor(TextColType.NavyBrown, true); |
| | | |
| | | var starLevel = this.candidate.starLevel.Fetch(); |
| | |
| | | var trainLevel = this.candidate.trainLevel.Fetch(); |
| | | if (!string.IsNullOrEmpty(this.candidate.equipGuid.value)) |
| | | { |
| | | m_Description2.text = string.Format("洗练等级:{0}级", trainLevel); |
| | | m_Description2.text = string.Format("洗炼等级:{0}级", trainLevel); |
| | | m_Description2.color = UIHelper.GetUIColor(TextColType.NavyBrown, true); |
| | | } |
| | | } |
| | |
| | | if (force || model.equipTrainLevel.dirty) |
| | | { |
| | | var trainLevel = model.equipTrainLevel.Fetch(); |
| | | m_TrainLevel.text = string.Format("{0}级洗练", trainLevel); |
| | | m_TrainLevel.text = string.Format("{0}级洗炼", trainLevel); |
| | | } |
| | | |
| | | if (force || model.equipTrainMaxLevel.dirty) |
| | |
| | | |
| | | if (maxTrain < 0) |
| | | { |
| | | m_MaxTrainLevel.text = "穿戴装备可洗练"; |
| | | m_MaxTrainLevel.text = "穿戴装备可洗炼"; |
| | | } |
| | | else if (maxTrain > 0) |
| | | { |
| | | var star = starModel.GetEquipStarLevel(equipPosition); |
| | | m_MaxTrainLevel.text = string.Format("{0}星装备最高可洗练至{1}级", star, maxTrain); |
| | | m_MaxTrainLevel.text = string.Format("{0}星装备最高可洗炼至{1}级", star, maxTrain); |
| | | } |
| | | else |
| | | { |
| | | m_MaxTrainLevel.text = "提升装备星级可洗练"; |
| | | m_MaxTrainLevel.text = "提升装备星级可洗炼"; |
| | | } |
| | | } |
| | | |
| | |
| | |
|
| | | [XLua.LuaCallCSharp]
|
| | | public class MainRedDot : Singleton<MainRedDot> {
|
| | | |
| | |
|
| | |
|
| | | public const int RedPoint_key = 1;
|
| | | public const int FAIRY_REDPOINT_KEY1 = 107;
|
| | |
| | | public Redpoint redPointDepotFunc = new Redpoint(RedPoint_MainPackKey, RedPoint_DepotFuncKey);
|
| | | #endregion
|
| | |
|
| | | #region 洗练红点
|
| | | #region 洗炼红点
|
| | | public const int RedPoint_WashFuncKey = 10605;
|
| | | public Redpoint redPointWashFunc = new Redpoint(RedPoint_key1,RedPoint_WashFuncKey);
|
| | | #endregion
|
| | |
| | | }
|
| | | #endregion
|
| | |
|
| | | #region 洗练
|
| | | #region 洗炼
|
| | |
|
| | | #endregion
|
| | |
|
| | |
| | | StrengthFunc4 = 15,//洗炼
|
| | | EquipLowSuit = 241, //普通套装界面
|
| | | StrengthFunc5 = 16,
|
| | | EquipWashType2 = 239, //装备洗练界面
|
| | | EquipWashType2 = 239, //装备洗炼界面
|
| | | ComposeFunc1 = 17,
|
| | | ComposeFunc2 = 18,
|
| | | ComposeFunc3 = 19,
|
| | |
| | | Stone,//宝石
|
| | | Suit,//套装
|
| | | Wing,//翅膀
|
| | | Wash,//洗练
|
| | | Wash,//洗炼
|
| | | Pet,//灵宠
|
| | | Horse,//坐骑
|
| | | Prestige,//境界
|
| | |
| | |
|
| | | strength, //强化
|
| | | inlay, //镶嵌
|
| | | train,//洗练
|
| | | train,//洗炼
|
| | | star,//升星
|
| | | }
|
| | |
|