Class ExistingContainerPlacement
Placement which supports modifying existing containers in place or replacing them with a container preferred by the item list.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ItemChanger.Placements
Assembly: ItemChanger.dll
Syntax
public class ExistingContainerPlacement : AbstractPlacement, ISingleCostPlacement, IPrimaryLocationPlacement
Constructors
| Improve this Doc View SourceExistingContainerPlacement(String)
Declaration
public ExistingContainerPlacement(string Name)
Parameters
Type | Name | Description |
---|---|---|
System.String | Name |
Fields
| Improve this Doc View SourceLocation
Declaration
public ExistingContainerLocation Location
Field Value
Type | Description |
---|---|
ExistingContainerLocation |
Properties
| Improve this Doc View SourceCost
Declaration
public Cost Cost { get; set; }
Property Value
Type | Description |
---|---|
Cost |
MainContainerType
Declaration
public override string MainContainerType { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceChooseContainerType(ISingleCostPlacement, ExistingContainerLocation, IEnumerable<AbstractItem>)
Declaration
public static string ChooseContainerType(ISingleCostPlacement placement, ExistingContainerLocation location, IEnumerable<AbstractItem> items)
Parameters
Type | Name | Description |
---|---|---|
ISingleCostPlacement | placement | |
ExistingContainerLocation | location | |
IEnumerable<AbstractItem> | items |
Returns
Type | Description |
---|---|
System.String |
GetPlacementAndLocationTags()
Declaration
public override IEnumerable<Tag> GetPlacementAndLocationTags()
Returns
Type | Description |
---|---|
IEnumerable<Tag> |
Overrides
| Improve this Doc View SourceOnLoad()
Declaration
protected override void OnLoad()
Overrides
| Improve this Doc View SourceOnUnload()
Declaration
protected override void OnUnload()
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIPrimaryLocationPlacement.Location
Declaration
AbstractLocation IPrimaryLocationPlacement.Location { get; }
Returns
Type | Description |
---|---|
AbstractLocation |