Class DualPlacement
Placement which handles switching between two possible locations according to a test.
Inheritance
System.Object
DualPlacement
Inherited Members
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()
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
|
Improve this Doc
View Source
Test
Declaration
Field Value
|
Improve this Doc
View Source
trueLocation
Declaration
public AbstractLocation trueLocation
Field Value
Properties
|
Improve this Doc
View Source
Cost
Declaration
public Cost Cost { get; set; }
Property Value
|
Improve this Doc
View Source
Location
Declaration
public AbstractLocation Location { get; }
Property Value
|
Improve this Doc
View Source
MainContainerType
Declaration
public override string MainContainerType { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
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
Declaration
public override IEnumerable<Tag> GetPlacementAndLocationTags()
Returns
Type |
Description |
IEnumerable<Tag> |
|
Overrides
|
Improve this Doc
View Source
OnLoad()
Declaration
protected override void OnLoad()
Overrides
|
Improve this Doc
View Source
OnUnload()
Declaration
protected override void OnUnload()
Overrides
Implements
Extension Methods