Class YNShinyPlacement
Variant of MutablePlacement which only uses the shiny container type.
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 YNShinyPlacement : AbstractPlacement, IContainerPlacement, ISingleCostPlacement, IPrimaryLocationPlacement
Constructors
| Improve this Doc View SourceYNShinyPlacement(String)
Declaration
public YNShinyPlacement(string Name)
Parameters
Type | Name | Description |
---|---|---|
System.String | Name |
Fields
| Improve this Doc View SourceLocation
Declaration
public ContainerLocation Location
Field Value
Type | Description |
---|---|
ContainerLocation |
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 SourceAddItemWithCost(AbstractItem, Cost)
Declaration
public void AddItemWithCost(AbstractItem item, Cost cost)
Parameters
Type | Name | Description |
---|---|---|
AbstractItem | item | |
Cost | cost |
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 |
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 |