◆ honor_commandscript()
| honor_commandscript::honor_commandscript |
( |
| ) |
|
|
inline |
Definition CommandScript.h:25
◆ GetCommands()
◆ HandleHonorAddCommand()
| static bool honor_commandscript::HandleHonorAddCommand |
( |
ChatHandler * |
handler, |
|
|
uint32 |
amount |
|
) |
| |
|
inlinestatic |
54 {
56 if (!target)
57 {
59 return false;
60 }
61
62
64 return false;
65
67 return true;
68 }
@ LANG_PLAYER_NOT_FOUND
Definition Language.h:548
void SendErrorMessage(uint32 entry)
Definition Chat.cpp:224
Player * getSelectedPlayer() const
Definition Chat.cpp:382
bool HasLowerSecurity(Player *target, ObjectGuid guid=ObjectGuid::Empty, bool strong=false)
Definition Chat.cpp:65
static ObjectGuid const Empty
Definition ObjectGuid.h:120
bool RewardHonor(Unit *victim, uint32 groupsize, int32 honor=-1, bool awardXP=true)
Definition Player.cpp:6097
References ObjectGuid::Empty, ChatHandler::getSelectedPlayer(), ChatHandler::HasLowerSecurity(), LANG_PLAYER_NOT_FOUND, Player::RewardHonor(), and ChatHandler::SendErrorMessage().
Referenced by GetCommands().
◆ HandleHonorAddKillCommand()
| static bool honor_commandscript::HandleHonorAddKillCommand |
( |
ChatHandler * |
handler | ) |
|
|
inlinestatic |
◆ HandleHonorUpdateCommand()
| static bool honor_commandscript::HandleHonorUpdateCommand |
( |
ChatHandler * |
handler | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: