Where the sausage gets made. Unlock Expressions are the foundation of the game's gating mechanics and investment-related restrictions. They can test Unlock Flags and Unlock Values for certain states, using a sufficient amount of logical operators such that unlock expressions are effectively Turing complete.
Use UnlockExpressionParser to evaluate expressions using an IUnlockContext parsed from Babel.
- scope ↔ int
A shortcut for determining the most restrictive gating that this expression
performs. See the DestinyGatingScope enum's documentation for more details.
read / write
- hashCode → int
The hash code for this object.
- runtimeType → Type
A representation of the runtime type of the object.
Invocation invocation ) → dynamic
Invoked when a non-existent method or property is accessed.
) → String
Returns a string representation of this object.
dynamic other ) → bool
The equality operator.