Class ExistingContainerLocation
An abstract location which can be optionally replaced with a container, but has a natural way of giving items if not replaced.
Inheritance
ExistingContainerLocation
Assembly: ItemChanger.dll
Syntax
public abstract class ExistingContainerLocation : AbstractLocation
Constructors
View Source
ExistingContainerLocation()
Declaration
protected ExistingContainerLocation()
Fields
View Source
containerType
Declaration
public string containerType
Field Value
View Source
nonreplaceable
Declaration
public bool nonreplaceable
Field Value
Properties
View Source
HandlesCostBeforeContainer
Returns true if the placement does not need to choose a container that supports costs because the location will manage the cost separately.
Declaration
public virtual bool HandlesCostBeforeContainer { get; }
Property Value
Methods
View Source
AsContainerLocation()
Converts the location to a ContainerLocation. The new location will always replace its container, instead of conditionally modifying it in place.
Declaration
public abstract ContainerLocation AsContainerLocation()
Returns
Exceptions
View Source
WillBeReplaced()
Declaration
public virtual bool WillBeReplaced()
Returns
View Source
Wrap()
Creates a default placement for this location.
Declaration
public override AbstractPlacement Wrap()
Returns
Overrides
Extension Methods