Show / Hide Table of Contents

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
IBool
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 Source

PlacementVisitStateBool(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 Source

missingPlacementTest

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

placementName

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

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
| Improve this Doc View Source

requiredFlags

Declaration
public VisitState requiredFlags
Field Value
Type Description
VisitState

Properties

| Improve this Doc View Source

Value

Declaration
public bool Value { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Clone()

Declaration
public IBool Clone()
Returns
Type Description
IBool

Implements

IBool

Extension Methods

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