Show / Hide Table of Contents

Class YNShinyPlacement

Variant of MutablePlacement which only uses the shiny container type.

Inheritance
object
TaggableObject
AbstractPlacement
YNShinyPlacement
Implements
IContainerPlacement
ISingleCostPlacement
IPrimaryLocationPlacement
Inherited Members
AbstractPlacement.GiveAll(GiveInfo, Action)
AbstractPlacement.OnObtainedItem(AbstractItem)
AbstractPlacement.OnPreview(string)
AbstractPlacement.GetUIName()
AbstractPlacement.GetUIName(int)
AbstractPlacement.AllObtained()
AbstractPlacement.AddVisitFlag(VisitState)
AbstractPlacement.CheckVisitedAny(VisitState)
AbstractPlacement.CheckVisitedAll(VisitState)
AbstractPlacement.Load()
AbstractPlacement.Unload()
AbstractPlacement.Add(AbstractItem)
AbstractPlacement.Add(IEnumerable<AbstractItem>)
AbstractPlacement.Add(params AbstractItem[])
AbstractPlacement.Name
AbstractPlacement.Items
AbstractPlacement.Visited
AbstractPlacement.OnVisitStateChangedGlobal
AbstractPlacement.OnVisitStateChanged
TaggableObject.tags
TaggableObject.LoadTags()
TaggableObject.UnloadTags()
TaggableObject.AddTag<T>()
TaggableObject.AddTag(Tag)
TaggableObject.AddTags(IEnumerable<Tag>)
TaggableObject.GetTag<T>()
TaggableObject.GetTag<T>(out T)
TaggableObject.GetTags<T>()
TaggableObject.GetOrAddTag<T>()
TaggableObject.HasTag<T>()
TaggableObject.RemoveTags<T>()
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: ItemChanger.Placements
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
Type Description
ContainerLocation

Properties

View Source

Cost

Declaration
public Cost? Cost { get; set; }
Property Value
Type Description
Cost
View Source

MainContainerType

The container type that best describes the placement as a whole.

Declaration
public override string MainContainerType { get; }
Property Value
Type Description
string
Overrides
AbstractPlacement.MainContainerType

Methods

View Source

AddItemWithCost(AbstractItem, Cost)

Declaration
public void AddItemWithCost(AbstractItem item, Cost cost)
Parameters
Type Name Description
AbstractItem item
Cost cost
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
string containerType
View Source

GetPlacementAndLocationTags()

Declaration
public override IEnumerable<Tag> GetPlacementAndLocationTags()
Returns
Type Description
IEnumerable<Tag>
Overrides
AbstractPlacement.GetPlacementAndLocationTags()
View Source

OnLoad()

Called by Load(). Dispose hooks in OnUnload.

Declaration
protected override void OnLoad()
Overrides
AbstractPlacement.OnLoad()
View Source

OnUnload()

Called by Unload().

Declaration
protected override void OnUnload()
Overrides
AbstractPlacement.OnUnload()

Implements

IContainerPlacement
ISingleCostPlacement
IPrimaryLocationPlacement

Extension Methods

Extensions.Yield<T>(T)
  • View Source
In this article
Back to top Generated by DocFX