TrinityCore
Loading...
Searching...
No Matches
PlayerChoice Struct Reference

#include <PlayerChoice.h>

Public Member Functions

PlayerChoiceResponse const * GetResponse (int32 responseId) const
 

Public Attributes

int32 ChoiceId = 0
 
int32 UiTextureKitId = 0
 
uint32 SoundKitId = 0
 
uint32 CloseSoundKitId = 0
 
Seconds Duration = 0s
 
std::string Question
 
std::string PendingChoiceText
 
std::vector< PlayerChoiceResponseResponses
 
bool InfiniteRange = false
 
bool HideWarboardHeader = false
 
bool KeepOpenAfterChoice = false
 
bool ShowChoicesAsList = false
 
bool ForceDontShowChoicesAsList = false
 
bool RequiresSelection = false
 
Optional< uint32MaxResponses
 
uint32 ScriptId = 0
 

Detailed Description

Definition at line 107 of file PlayerChoice.h.

Member Function Documentation

◆ GetResponse()

PlayerChoiceResponse const * PlayerChoice::GetResponse ( int32  responseId) const
inline

Definition at line 128 of file PlayerChoice.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ ChoiceId

int32 PlayerChoice::ChoiceId = 0

Definition at line 109 of file PlayerChoice.h.

◆ CloseSoundKitId

uint32 PlayerChoice::CloseSoundKitId = 0

Definition at line 112 of file PlayerChoice.h.

◆ Duration

Seconds PlayerChoice::Duration = 0s

Definition at line 113 of file PlayerChoice.h.

◆ ForceDontShowChoicesAsList

bool PlayerChoice::ForceDontShowChoicesAsList = false

Definition at line 121 of file PlayerChoice.h.

◆ HideWarboardHeader

bool PlayerChoice::HideWarboardHeader = false

Definition at line 118 of file PlayerChoice.h.

◆ InfiniteRange

bool PlayerChoice::InfiniteRange = false

Definition at line 117 of file PlayerChoice.h.

◆ KeepOpenAfterChoice

bool PlayerChoice::KeepOpenAfterChoice = false

Definition at line 119 of file PlayerChoice.h.

◆ MaxResponses

Optional<uint32> PlayerChoice::MaxResponses

Definition at line 124 of file PlayerChoice.h.

◆ PendingChoiceText

std::string PlayerChoice::PendingChoiceText

Definition at line 115 of file PlayerChoice.h.

◆ Question

std::string PlayerChoice::Question

Definition at line 114 of file PlayerChoice.h.

◆ RequiresSelection

bool PlayerChoice::RequiresSelection = false

Definition at line 122 of file PlayerChoice.h.

◆ Responses

std::vector<PlayerChoiceResponse> PlayerChoice::Responses

Definition at line 116 of file PlayerChoice.h.

◆ ScriptId

uint32 PlayerChoice::ScriptId = 0

Definition at line 126 of file PlayerChoice.h.

◆ ShowChoicesAsList

bool PlayerChoice::ShowChoicesAsList = false

Definition at line 120 of file PlayerChoice.h.

◆ SoundKitId

uint32 PlayerChoice::SoundKitId = 0

Definition at line 111 of file PlayerChoice.h.

◆ UiTextureKitId

int32 PlayerChoice::UiTextureKitId = 0

Definition at line 110 of file PlayerChoice.h.


The documentation for this struct was generated from the following file: