TrinityCore
Loading...
Searching...
No Matches
playerchoice_a_weapon_you_can_hold_priest Class Reference
+ Inheritance diagram for playerchoice_a_weapon_you_can_hold_priest:

Public Member Functions

 playerchoice_a_weapon_you_can_hold_priest ()
 
void OnResponse (WorldObject *, Player *player, PlayerChoice const *, PlayerChoiceResponse const *response, uint16)
 
- Public Member Functions inherited from PlayerChoiceScript
 ~PlayerChoiceScript ()
 
- Public Member Functions inherited from ScriptObject
 ScriptObject (ScriptObject const &right)=delete
 
 ScriptObject (ScriptObject &&right)=delete
 
ScriptObjectoperator= (ScriptObject const &right)=delete
 
ScriptObjectoperator= (ScriptObject &&right)=delete
 
std::string const & GetName () const
 

Additional Inherited Members

- Protected Member Functions inherited from PlayerChoiceScript
 PlayerChoiceScript (char const *name) noexcept
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (char const *name) noexcept
 
virtual ~ScriptObject ()
 

Detailed Description

Definition at line 37 of file zone_tirisfal_glades.cpp.

Constructor & Destructor Documentation

◆ playerchoice_a_weapon_you_can_hold_priest()

playerchoice_a_weapon_you_can_hold_priest::playerchoice_a_weapon_you_can_hold_priest ( )
inline

Definition at line 40 of file zone_tirisfal_glades.cpp.

Member Function Documentation

◆ OnResponse()

void playerchoice_a_weapon_you_can_hold_priest::OnResponse ( WorldObject object,
Player player,
PlayerChoice const *  choice,
PlayerChoiceResponse const *  response,
uint16  clientIdentifier 
)
inlinevirtual
Parameters
objectSource object of the PlayerChoice (can be nullptr)
playerPlayer making the choice
choiceDatabase template of PlayerChoice
responseDatabase template of selected PlayerChoice response
clientIdentifierDynamically generated identifier of the response, changes every time PlayerChoice is sent to player

Reimplemented from PlayerChoiceScript.

Definition at line 42 of file zone_tirisfal_glades.cpp.

+ Here is the call graph for this function:

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