![]() |
TrinityCore
|
#include <ScriptMgr.h>
Inheritance diagram for PlayerChoiceScript:Public Member Functions | |
| ~PlayerChoiceScript () | |
| virtual void | OnResponse (WorldObject *object, Player *player, PlayerChoice const *choice, PlayerChoiceResponse const *response, uint16 clientIdentifier) |
Public Member Functions inherited from ScriptObject | |
| ScriptObject (ScriptObject const &right)=delete | |
| ScriptObject (ScriptObject &&right)=delete | |
| ScriptObject & | operator= (ScriptObject const &right)=delete |
| ScriptObject & | operator= (ScriptObject &&right)=delete |
| std::string const & | GetName () const |
Protected Member Functions | |
| PlayerChoiceScript (char const *name) noexcept | |
Protected Member Functions inherited from ScriptObject | |
| ScriptObject (char const *name) noexcept | |
| virtual | ~ScriptObject () |
Definition at line 993 of file ScriptMgr.h.
|
explicitprotectednoexcept |
|
default |
|
virtual |
| object | Source object of the PlayerChoice (can be nullptr) |
| player | Player making the choice |
| choice | Database template of PlayerChoice |
| response | Database template of selected PlayerChoice response |
| clientIdentifier | Dynamically generated identifier of the response, changes every time PlayerChoice is sent to player |
Reimplemented in playerchoice_a_weapon_you_can_hold_priest, and playerchoice_weapons_of_legend_hunter.
Definition at line 3245 of file ScriptMgr.cpp.