Class CBool
- Namespace
- ReFuel.CVarScript
- Assembly
- ReFuel.dll
public class CBool : CValue<bool>, IConvertible, ICValue<bool>
- Inheritance
-
CBool
- Implements
- Inherited Members
Fields
False
public static readonly CBool False
Field Value
True
public static readonly CBool True
Field Value
Properties
Value
public override bool Value { get; }
Property Value
Methods
Falsey()
public override bool Falsey()
Returns
Plus(CValue)
public override CValue Plus(CValue right)
Parameters
right
CValue
Returns
Times(CValue)
public override CValue Times(CValue right)
Parameters
right
CValue
Returns
ToFloat()
public override float ToFloat()
Returns
ToInteger()
public override int ToInteger()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Truthy()
public override bool Truthy()
Returns
UnaryMinus()
public override CValue UnaryMinus()
Returns
UnaryPlus()
public override CValue UnaryPlus()
Returns
Operators
explicit operator CBool(bool)
public static explicit operator CBool(bool b)
Parameters
b
bool