18#ifndef TRINITYCORE_PLAYER_CHOICE_H
19#define TRINITYCORE_PLAYER_CHOICE_H
58 std::vector<PlayerChoiceResponseRewardItem>
Items;
59 std::vector<PlayerChoiceResponseRewardEntry>
Currency;
60 std::vector<PlayerChoiceResponseRewardEntry>
Faction;
131 return itr !=
Responses.end() ? &(*itr) :
nullptr;
std::chrono::seconds Seconds
Seconds shorthand typedef.
#define DEFINE_ENUM_FLAG(enumType)
std::optional< T > Optional
Optional helper class to wrap optional values within.
PlayerChoiceResponseFlags
PlayerChoiceResponseRewardEntry(uint32 id, int32 quantity)
PlayerChoiceResponseRewardEntry()
std::vector< int32 > BonusListIDs
PlayerChoiceResponseRewardItem(uint32 id, std::vector< int32 > &&bonusListIDs, int32 quantity)
PlayerChoiceResponseRewardItem()
std::vector< PlayerChoiceResponseRewardItem > Items
std::vector< PlayerChoiceResponseRewardEntry > Faction
std::vector< PlayerChoiceResponseRewardItem > ItemChoices
std::vector< PlayerChoiceResponseRewardEntry > Currency
std::string ButtonTooltip
uint32 UiTextureAtlasElementID
Optional< uint32 > RewardQuestID
Optional< PlayerChoiceResponseReward > Reward
Optional< PlayerChoiceResponseMawPower > MawPower
EnumFlag< PlayerChoiceResponseFlags > Flags
bool ForceDontShowChoicesAsList
std::vector< PlayerChoiceResponse > Responses
Optional< uint32 > MaxResponses
std::string PendingChoiceText
PlayerChoiceResponse const * GetResponse(int32 responseId) const