public static Dictionary <DamageTypeEnum, float> GetBaseSlotDefences(InventorySpecialSlotEnum slot) { if (SlotMultipliers.Count == 0) { ReadData(); } return(SlotMultipliers[slot]); }
public InventoryItem this [InventorySpecialSlotEnum item] { get { return(this[(byte)item]); } set { this[(byte)item] = value; } }
/***/ public static void SetReloadingStatus(this Entity entity, InventorySpecialSlotEnum weapon, bool value) { switch (weapon) { case InventorySpecialSlotEnum.PrimaryWeapon: entity.SetReloadingPrimary(value); break; case InventorySpecialSlotEnum.SecondaryWeapon: entity.SetReloadingSecondary(value); break; } }
public UpdateVisibleItems(InventorySpecialSlotEnum targetFrom, GameEntityPropertyEnum targetTo) { _slotId = targetFrom; _entityProperty = targetTo; }
public MaterialModification(InventorySpecialSlotEnum slot) { _slot = slot; }