AzerothCore 3.3.5a
OpenSource WoW Emulator
|
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 |
References _actionTimer, and DoNextDialogueStep().
Referenced by npc_ranshalla::npc_ranshallaAI::UpdateEscortAI().
|
inlineprivate |
References _actionTimer, _currentEntry, GetSpeakerByEntry(), JustDidDialogueStep(), DialogueEntry::SayerEntry, DialogueEntry::SayTimer, and DialogueEntry::TextEntry.
Referenced by DialogueUpdate(), and StartNextDialogueText().
Will be called to get a speaker, MUST be implemented if not used in instances.
Reimplemented in npc_ranshalla::npc_ranshallaAI.
Referenced by DoNextDialogueStep().
|
inlineprotectedvirtual |
Will be called when a dialogue step was done.
Reimplemented in npc_ranshalla::npc_ranshallaAI.
Referenced by DoNextDialogueStep().
|
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
References _currentEntry, _dialogueArray, DoNextDialogueStep(), and DialogueEntry::TextEntry.
Referenced by npc_ranshalla::npc_ranshallaAI::SummonedMovementInform(), npc_ranshalla::npc_ranshallaAI::UpdateEscortAI(), and npc_ranshalla::npc_ranshallaAI::WaypointReached().
|
private |
Referenced by DialogueUpdate(), and DoNextDialogueStep().
|
private |
Referenced by DoNextDialogueStep(), and StartNextDialogueText().
|
private |
Referenced by StartNextDialogueText().