using Cthangover.Core.Items; using Cthangover.Core.Settings; namespace Cthangover.Mods.Items { /// /// Item action that needs to know whom it is applied to. The core /// contract has no target, so an effect on a party /// member (healing) could not tell which member was picked in /// . Items with /// whose action implements this interface get /// with the chosen character; other actions keep receiving /// the plain . /// public interface ITargetedItemAction : IItemAction { /// /// Applies the item to . Returns false when /// nothing happened (e.g. healing at full health), so the item is not spent. /// bool UseOn(IItem item, CharacterInfoData target); } }