UseProps struct
#include <GGUI/Public/UIWidgetAsset.h>
Properties of a ui.Use: which asset, its inputs and contexts, and what fills its slots and regions (a fill named after a region is built inside it, after its own children).
Public variables
- TnxName Asset
- the asset used
- GGWidgetInputs Inputs
- std::vector<GGMemberInputs> Members
- What its class's widget members give the elements built as them (an element named after the member, using an asset of the member's class).
- std::vector<GGSlotFill> Slots
- std::vector<GGWidgetAction> OnClick
- What clicking the asset's root does, as well as its own (set where an asset is used).
- uint64_t Instance
- Who built it, for the host: copied into its actions and the uses inside it. 0: none.
- std::vector<TnxName> MemberPath
- The widget member of the instance's class it is, through each nesting: copied into its actions, so a call runs on the member. Empty: the instance itself.
- std::vector<GGTokenSet> Tokens
- Token values for everything this instance builds, over the asset's own and any around it.
- std::string SiteScope
- Set where an asset uses another (code leaves them empty): the scope of the tokens written on that use.
- std::vector<GGTokenSet> SiteTokens
- the use's tokens that are formulas, worked out for this instance
- std::vector<GGLiveToken> SiteLive
- those of them that follow game data
- uint32_t SiteRank
- bool bLeaving
- It is leaving (a HUD widget being removed, kept while its "hidden" clips play).
Friends
- auto operator==(const UseProps&, const UseProps&) -> bool defaulted
- every member equal
Variable documentation
GGWidgetInputs GGUI:: UseProps:: Inputs
its inputs and contexts
std::vector<GGSlotFill> GGUI:: UseProps:: Slots
what fills its slots and regions
uint32_t GGUI:: UseProps:: SiteRank
where the use's tokens rank among the scopes