12345678910111213141516 |
-
- namespace XGame.Database
- {
- public partial class EquipmentBaseAttrTableRepo
- {
- /***
- * 品质*100000+部位(1_武器 2_其他)*1000+等级
- */
- public static EquipmentBaseAttrTable GetEquipmentBaseAttrTable(EQualityLevel quality, int level, bool bWeapon)
- {
- int tableId = (int)quality * 100000 + (bWeapon ? 1 : 2) * 1000 + level;
- return Get(tableId);
- }
- }
- }
|