TrinityCore
|
Public Member Functions | |
DialogueHelper (DialogueEntry const *dialogueArray) | |
void | StartNextDialogueText (int32 textEntry) |
void | DialogueUpdate (uint32 diff) |
Protected Member Functions | |
virtual void | JustDidDialogueStep (int32) |
Will be called when a dialogue step was done. More... | |
virtual Creature * | GetSpeakerByEntry (int32) |
Will be called to get a speaker, MUST be implemented if not used in instances. More... | |
Private Member Functions | |
void | DoNextDialogueStep () |
Private Attributes | |
DialogueEntry const * | _dialogueArray |
DialogueEntry const * | _currentEntry |
uint32 | _actionTimer |
|
inline |
|
inline |
|
inlineprivate |
Will be called to get a speaker, MUST be implemented if not used in instances.
Reimplemented in npc_ranshalla::npc_ranshallaAI.
|
inlineprotectedvirtual |
Will be called when a dialogue step was done.
Reimplemented in npc_ranshalla::npc_ranshallaAI.
|
inline |
Function to initialize the dialogue helper for instances. If not used with instances, GetSpeakerByEntry MUST be overwritten to obtain the speakers Set if take first entries or second entries
|
private |
|
private |
|
private |