Show / Hide Table of Contents

Class ExistingContainerPlacement

Placement which supports modifying existing containers in place or replacing them with a container preferred by the item list.

Inheritance
object
TaggableObject
AbstractPlacement
ExistingContainerPlacement
Implements
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 ExistingContainerPlacement : AbstractPlacement, ISingleCostPlacement, IPrimaryLocationPlacement

Constructors

View Source

ExistingContainerPlacement(string)

Declaration
public ExistingContainerPlacement(string Name)
Parameters
Type Name Description
string Name

Fields

View Source

Location

Declaration
public ExistingContainerLocation Location
Field Value
Type Description
ExistingContainerLocation

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

ChooseContainerType(ISingleCostPlacement, ExistingContainerLocation, IEnumerable<AbstractItem>)

Declaration
public static string ChooseContainerType(ISingleCostPlacement placement, ExistingContainerLocation location, IEnumerable<AbstractItem> items)
Parameters
Type Name Description
ISingleCostPlacement placement
ExistingContainerLocation location
IEnumerable<AbstractItem> items
Returns
Type Description
string
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

ISingleCostPlacement
IPrimaryLocationPlacement

Extension Methods

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