Show / Hide Table of Contents

Class MutablePlacement

The default placement for most use cases. Chooses an item container for its location based on its item list.

Inheritance
System.Object
TaggableObject
AbstractPlacement
MutablePlacement
Implements
IContainerPlacement
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 MutablePlacement : AbstractPlacement, IContainerPlacement, ISingleCostPlacement, IPrimaryLocationPlacement

Constructors

| Improve this Doc View Source

MutablePlacement(String)

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

Fields

| Improve this Doc View Source

containerType

Declaration
public string containerType
Field Value
Type Description
System.String
| Improve this Doc View Source

Location

Declaration
public ContainerLocation Location
Field Value
Type Description
ContainerLocation

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, ContainerLocation, IEnumerable<AbstractItem>)

Declaration
public static string ChooseContainerType(ISingleCostPlacement placement, ContainerLocation location, IEnumerable<AbstractItem> items)
Parameters
Type Name Description
ISingleCostPlacement placement
ContainerLocation location
IEnumerable<AbstractItem> items
Returns
Type Description
System.String
| Improve this Doc 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
System.String containerType
| 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

IContainerPlacement
ISingleCostPlacement
IPrimaryLocationPlacement

Extension Methods

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