GGClassInfo struct
#include <GGUI/Public/UIWidgetAsset.h>
A widget class: the code behind a widget asset that names it ("class": "PlayerHud").
What the asset is given (its contexts and inputs) and what it can call ({ "call": "Buy" }) are the class's, declared in code. The host's classes are found through GGClassResolver.
Public types
Public functions
- auto FindCall(TnxName name) const -> const Call*
- Its method of that name; null if none.
- auto FindWidget(TnxName name) const -> const Widget*
- Its widget member of that name; null if none.
Public variables
- TnxName Name
- the class's name, as files write it
- std::vector<GGContextInfo> Contexts
- what its assets read
- std::vector<GGInputInfo> Inputs
- std::vector<Call> Calls
- std::vector<Widget> Widgets
Variable documentation
std::vector<GGInputInfo> GGUI:: GGClassInfo:: Inputs
what its assets are given