|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Public Member Functions | |
| DialogueHelper (DialogueEntry const *dialogueArray) | |
| void | DialogueUpdate (uint32 diff) |
| void | StartNextDialogueText (int32 textEntry) |
Protected Member Functions | |
| virtual Creature * | GetSpeakerByEntry (int32) |
| Will be called to get a speaker, MUST be implemented if not used in instances. | |
| virtual void | JustDidDialogueStep (int32) |
| Will be called when a dialogue step was done. | |
Private Member Functions | |
| void | DoNextDialogueStep () |
Private Attributes | |
| uint32 | _actionTimer |
| DialogueEntry const * | _currentEntry |
| DialogueEntry const * | _dialogueArray |
Definition at line 141 of file zone_winterspring.cpp.
|
inline |
Definition at line 145 of file zone_winterspring.cpp.
References _actionTimer, _currentEntry, and _dialogueArray.
Referenced by npc_ranshalla::npc_ranshallaAI::npc_ranshallaAI().
|
inline |
Definition at line 176 of file zone_winterspring.cpp.
References _actionTimer, and DoNextDialogueStep().
Referenced by npc_ranshalla::npc_ranshallaAI::UpdateEscortAI().
|
inlineprivate |
Definition at line 194 of file zone_winterspring.cpp.
References _actionTimer, _currentEntry, GetSpeakerByEntry(), and JustDidDialogueStep().
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.
Definition at line 191 of file zone_winterspring.cpp.
Referenced by DoNextDialogueStep().
|
inlineprotectedvirtual |
Will be called when a dialogue step was done.
Reimplemented in npc_ranshalla::npc_ranshallaAI.
Definition at line 189 of file zone_winterspring.cpp.
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
Definition at line 155 of file zone_winterspring.cpp.
References _currentEntry, _dialogueArray, and DoNextDialogueStep().
Referenced by npc_ranshalla::npc_ranshallaAI::SummonedMovementInform(), npc_ranshalla::npc_ranshallaAI::UpdateEscortAI(), and npc_ranshalla::npc_ranshallaAI::WaypointReached().
|
private |
Definition at line 225 of file zone_winterspring.cpp.
Referenced by DialogueHelper(), DialogueUpdate(), and DoNextDialogueStep().
|
private |
Definition at line 223 of file zone_winterspring.cpp.
Referenced by DialogueHelper(), DoNextDialogueStep(), and StartNextDialogueText().
|
private |
Definition at line 222 of file zone_winterspring.cpp.
Referenced by DialogueHelper(), and StartNextDialogueText().