Class MutablePlacement
The default placement for most use cases.
Chooses an item container for its location based on its item list.
Inheritance
System.Object
MutablePlacement
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()
Assembly: ItemChanger.dll
Syntax
public class MutablePlacement : AbstractPlacement, IContainerPlacement, ISingleCostPlacement, IPrimaryLocationPlacement
Constructors
|
Improve this Doc
View Source
MutablePlacement(String)
Declaration
public MutablePlacement(string Name)
Parameters
Type |
Name |
Description |
System.String |
Name |
|
Fields
|
Improve this Doc
View Source
containerType
Declaration
public string containerType
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Location
Declaration
public ContainerLocation Location
Field Value
Properties
|
Improve this Doc
View Source
Cost
Declaration
public Cost Cost { get; set; }
Property Value
|
Improve this Doc
View Source
MainContainerType
Declaration
public override string MainContainerType { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
|
Improve this Doc
View Source
ChooseContainerType(ISingleCostPlacement, ContainerLocation, IEnumerable<AbstractItem>)
Declaration
public static string ChooseContainerType(ISingleCostPlacement placement, ContainerLocation location, IEnumerable<AbstractItem> items)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetContainer(AbstractLocation, out GameObject, out String)
Declaration
public void GetContainer(AbstractLocation location, out GameObject obj, out string containerType)
Parameters
Type |
Name |
Description |
AbstractLocation |
location |
|
GameObject |
obj |
|
System.String |
containerType |
|
|
Improve this Doc
View Source
Declaration
public override IEnumerable<Tag> GetPlacementAndLocationTags()
Returns
Type |
Description |
IEnumerable<Tag> |
|
Overrides
|
Improve this Doc
View Source
OnLoad()
Declaration
protected override void OnLoad()
Overrides
|
Improve this Doc
View Source
OnUnload()
Declaration
protected override void OnUnload()
Overrides
Explicit Interface Implementations
|
Improve this Doc
View Source
IPrimaryLocationPlacement.Location
Declaration
AbstractLocation IPrimaryLocationPlacement.Location { get; }
Returns
Implements
Extension Methods