Class PlacementVisitStateBool
IBool which searches for a placement by name and checks whether its VisitState includes specified flags.
If the placement does not exist, defaults to the value of missingPlacementTest, or true if missingPlacementTest is null.
Inheritance
System.Object
PlacementVisitStateBool
Implements
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()
Namespace: ItemChanger
Assembly: ItemChanger.dll
Syntax
public class PlacementVisitStateBool : IBool
Constructors
| Improve this Doc View SourcePlacementVisitStateBool(String, VisitState, IBool)
Declaration
public PlacementVisitStateBool(string placementName, VisitState requiredFlags, IBool missingPlacementTest)
Parameters
Type | Name | Description |
---|---|---|
System.String | placementName | |
VisitState | requiredFlags | |
IBool | missingPlacementTest |
Fields
| Improve this Doc View SourcemissingPlacementTest
Declaration
public IBool missingPlacementTest
Field Value
Type | Description |
---|---|
IBool |
placementName
Declaration
public string placementName
Field Value
Type | Description |
---|---|
System.String |
requireAny
If true, requires any flag in requiredFlags to be contained in the VisitState. If false, requires all flags in requiredFlags to be contained in VisitState. Defaults to false.
Declaration
public bool requireAny
Field Value
Type | Description |
---|---|
System.Boolean |
requiredFlags
Declaration
public VisitState requiredFlags
Field Value
Type | Description |
---|---|
VisitState |
Properties
| Improve this Doc View SourceValue
Declaration
public bool Value { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceClone()
Declaration
public IBool Clone()
Returns
Type | Description |
---|---|
IBool |