Class PDIntBool
IBool which represents comparison on a PlayerData int.
Supports IWritableBool in one direction only (direction depends on comparison operator).
Inheritance
System.Object
PDIntBool
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 PDIntBool : IWritableBool, IBool
Constructors
| Improve this Doc View SourcePDIntBool(String, Int32, ComparisonOperator)
Declaration
public PDIntBool(string intName, int amount, ComparisonOperator op = ComparisonOperator.Ge)
Parameters
Type | Name | Description |
---|---|---|
System.String | intName | |
System.Int32 | amount | |
ComparisonOperator | op |
Fields
| Improve this Doc View Sourceamount
Declaration
public int amount
Field Value
Type | Description |
---|---|
System.Int32 |
intName
Declaration
public string intName
Field Value
Type | Description |
---|---|
System.String |
op
Declaration
public ComparisonOperator op
Field Value
Type | Description |
---|---|
ComparisonOperator |
Properties
| Improve this Doc View SourceValue
Declaration
public bool Value { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceClone()
Declaration
public IBool Clone()
Returns
Type | Description |
---|---|
IBool |