Class YNShinyPlacement
Variant of MutablePlacement which only uses the shiny container type.
Inheritance
YNShinyPlacement
Assembly: ItemChanger.dll
Syntax
public class YNShinyPlacement : AbstractPlacement, IContainerPlacement, ISingleCostPlacement, IPrimaryLocationPlacement
Constructors
View Source
YNShinyPlacement(string)
Declaration
public YNShinyPlacement(string Name)
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Fields
View Source
Location
Declaration
public ContainerLocation 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
AddItemWithCost(AbstractItem, Cost)
Declaration
public void AddItemWithCost(AbstractItem item, Cost cost)
Parameters
View Source
GetContainer(AbstractLocation, out GameObject, out string)
Declaration
public void GetContainer(AbstractLocation location, out GameObject obj, out string containerType)
Parameters
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