Show / Hide Table of Contents

Class DualPlacement

Placement which handles switching between two possible locations according to a test.

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

Constructors

| Improve this Doc View Source

DualPlacement(String)

Declaration
public DualPlacement(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

falseLocation

Declaration
public AbstractLocation falseLocation
Field Value
Type Description
AbstractLocation
| Improve this Doc View Source

Test

Declaration
public IBool Test
Field Value
Type Description
IBool
| Improve this Doc View Source

trueLocation

Declaration
public AbstractLocation trueLocation
Field Value
Type Description
AbstractLocation

Properties

| Improve this Doc View Source

Cost

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

Location

Declaration
public AbstractLocation Location { get; }
Property Value
Type Description
AbstractLocation
| 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

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()

Implements

IContainerPlacement
ISingleCostPlacement
IPrimaryLocationPlacement

Extension Methods

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