/// <summary> /// 检测装备是否满足进阶条件 /// </summary> bool CheckUpEquip(int levelLimit, int equipID0, int equipID1, int equipID2, int equipID3, int equipID4, int equipID5) { if (m_soldierInfo.Level < levelLimit) //等级是否满足进阶要求 //NGUIUtil.ShowFreeSizeTipWnd(string.Format(NGUIUtil.GetStringByKey("30000018"), levelLimit)); { return(false); } int eID0 = ItemDC.GetItemID2ItemType(m_soldierInfo.Equipment0); int eID1 = ItemDC.GetItemID2ItemType(m_soldierInfo.Equipment1); int eID2 = ItemDC.GetItemID2ItemType(m_soldierInfo.Equipment2); int eID3 = ItemDC.GetItemID2ItemType(m_soldierInfo.Equipment3); int eID4 = ItemDC.GetItemID2ItemType(m_soldierInfo.Equipment4); int eID5 = ItemDC.GetItemID2ItemType(m_soldierInfo.Equipment5); if (eID0 != equipID0 || eID1 != equipID1 || eID2 != equipID2 || eID3 != equipID3 || eID4 != equipID4 || eID5 != equipID5) { //NGUIUtil.ShowTipWndByKey("30000019", 1.0f, ConstantData.iDepBefore3DModel); return(false); } return(true); }