Show / Hide Table of Contents

Class ExistingContainerLocation

An abstract location which can be optionally replaced with a container, but has a natural way of giving items if not replaced.

Inheritance
object
TaggableObject
AbstractLocation
ExistingContainerLocation
ExistingFsmContainerLocation
Inherited Members
AbstractLocation.name
AbstractLocation.sceneName
AbstractLocation.flingType
AbstractLocation.Load()
AbstractLocation.Unload()
AbstractLocation.OnLoad()
AbstractLocation.OnUnload()
AbstractLocation.Clone()
AbstractLocation.UnsafeSceneName
AbstractLocation.Placement
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.Locations
Assembly: ItemChanger.dll
Syntax
public abstract class ExistingContainerLocation : AbstractLocation

Constructors

View Source

ExistingContainerLocation()

Declaration
protected ExistingContainerLocation()

Fields

View Source

containerType

Declaration
public string containerType
Field Value
Type Description
string
View Source

nonreplaceable

Declaration
public bool nonreplaceable
Field Value
Type Description
bool

Properties

View Source

HandlesCostBeforeContainer

Returns true if the placement does not need to choose a container that supports costs because the location will manage the cost separately.

Declaration
public virtual bool HandlesCostBeforeContainer { get; }
Property Value
Type Description
bool

Methods

View Source

AsContainerLocation()

Converts the location to a ContainerLocation. The new location will always replace its container, instead of conditionally modifying it in place.

Declaration
public abstract ContainerLocation AsContainerLocation()
Returns
Type Description
ContainerLocation
Exceptions
Type Condition
InvalidOperationException

The location is nonreplaceable.

View Source

WillBeReplaced()

Declaration
public virtual bool WillBeReplaced()
Returns
Type Description
bool
View Source

Wrap()

Creates a default placement for this location.

Declaration
public override AbstractPlacement Wrap()
Returns
Type Description
AbstractPlacement
Overrides
AbstractLocation.Wrap()

Extension Methods

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