Class ExistingContainerPlacement
Placement which supports modifying existing containers in place or replacing them with a container preferred by the item list.
Inheritance
ExistingContainerPlacement
Assembly: ItemChanger.dll
Syntax
public class ExistingContainerPlacement : AbstractPlacement, ISingleCostPlacement, IPrimaryLocationPlacement
Constructors
View Source
ExistingContainerPlacement(string)
Declaration
public ExistingContainerPlacement(string Name)
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Fields
View Source
Location
Declaration
public ExistingContainerLocation Location
Field Value
Properties
View Source
Cost
Declaration
public Cost? Cost { get; set; }
Property Value
View Source
MainContainerType
The container type that best describes the placement as a whole.
Declaration
public override string MainContainerType { get; }
Property Value
Overrides
Methods
View Source
ChooseContainerType(ISingleCostPlacement, ExistingContainerLocation, IEnumerable<AbstractItem>)
Declaration
public static string ChooseContainerType(ISingleCostPlacement placement, ExistingContainerLocation location, IEnumerable<AbstractItem> items)
Parameters
Returns
View Source
Declaration
public override IEnumerable<Tag> GetPlacementAndLocationTags()
Returns
Overrides
View Source
OnLoad()
Called by Load(). Dispose hooks in OnUnload.
Declaration
protected override void OnLoad()
Overrides
View Source
OnUnload()
Declaration
protected override void OnUnload()
Overrides
Implements
Extension Methods