Class DynamicVirtualBoolValue
An implementation of DynamicVirtualValue which stores a boolean.
Stack modes
And
: Returnslhs and rhs
, default base value istrue
Or
: Returnslhs or rhs
, default base value isfalse
Usage
local dvbv = DynamicVirtualBoolValue.new("Or") dvbv:newChild(false) dvbv:newChild(true) dvbv:newChild(false) print(dvbv:get()) --> true