GGUI::GGLiveToken struct

A token that follows game data: the binding's number, or for a choice IfTrue while the binding is non-zero and IfFalse otherwise (a token written "=select(Player.CHealth.Low, '@danger', '@ok')").

Public variables

GGBinding Binding
what it follows
bool bChoice
picks IfTrue or IfFalse, rather than taking the number
GGTokenSet IfTrue
also what it is until the binding is first read, when it isn't a choice: its name
GGTokenSet IfFalse
a choice's value while the binding is zero

Friends

auto operator==(const GGLiveToken&, const GGLiveToken&) -> bool defaulted
every member equal