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
System.Object
TaggableObject
AbstractPlacement
ExistingContainerPlacement
Implements
ISingleCostPlacement
IPrimaryLocationPlacement
Inherited Members
AbstractPlacement.Name
AbstractPlacement.Items
AbstractPlacement.Visited
AbstractPlacement.GiveAll(GiveInfo, Nullable<Action>)
AbstractPlacement.OnObtainedItem(AbstractItem)
AbstractPlacement.OnPreview(String)
AbstractPlacement.GetUIName()
AbstractPlacement.GetUIName(Int32)
AbstractPlacement.AllObtained()
AbstractPlacement.AddVisitFlag(VisitState)
AbstractPlacement.CheckVisitedAny(VisitState)
AbstractPlacement.CheckVisitedAll(VisitState)
AbstractPlacement.Load()
AbstractPlacement.Unload()
AbstractPlacement.OnVisitStateChangedGlobal
AbstractPlacement.OnVisitStateChanged
AbstractPlacement.Add(AbstractItem)
AbstractPlacement.Add(IEnumerable<AbstractItem>)
AbstractPlacement.Add(AbstractItem[])
TaggableObject.tags
TaggableObject.LoadTags()
TaggableObject.UnloadTags()
TaggableObject.AddTag<T>()
TaggableObject.AddTag(Tag)
TaggableObject.AddTags(IEnumerable<Tag>)
TaggableObject.GetTag<T>()
TaggableObject.GetTag<T>(T)
TaggableObject.GetTags<T>()
TaggableObject.GetOrAddTag<T>()
TaggableObject.HasTag<T>()
TaggableObject.RemoveTags<T>()
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 ExistingContainerPlacement : AbstractPlacement, ISingleCostPlacement, IPrimaryLocationPlacement

Constructors

| Improve this Doc View Source

ExistingContainerPlacement(String)

Declaration
public ExistingContainerPlacement(string Name)
Parameters
Type Name Description
System.String Name

Fields

| Improve this Doc View Source

Location

Declaration
public ExistingContainerLocation Location
Field Value
Type Description
ExistingContainerLocation

Properties

| Improve this Doc View Source

Cost

Declaration
public Cost Cost { get; set; }
Property Value
Type Description
Cost
| Improve this Doc View Source

MainContainerType

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

Methods

| Improve this Doc 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
System.String
| Improve this Doc View Source

GetPlacementAndLocationTags()

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

OnLoad()

Declaration
protected override void OnLoad()
Overrides
AbstractPlacement.OnLoad()
| Improve this Doc View Source

OnUnload()

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

Explicit Interface Implementations

| Improve this Doc View Source

IPrimaryLocationPlacement.Location

Declaration
AbstractLocation IPrimaryLocationPlacement.Location { get; }
Returns
Type Description
AbstractLocation

Implements

ISingleCostPlacement
IPrimaryLocationPlacement

Extension Methods

Extensions.Yield<T>(T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX