|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Public Member Functions | |
| cast_commandscript () | |
| std::vector< ChatCommand > | GetCommands () const OVERRIDE |
| Public Member Functions inherited from ScriptObject | |
| const std::string & | GetName () const |
| virtual bool | IsDatabaseBound () const |
Static Public Member Functions | |
| static bool | HandleCastBackCommand (ChatHandler *handler, char const *args) |
| static bool | HandleCastCommand (ChatHandler *handler, char const *args) |
| static bool | HandleCastDestCommand (ChatHandler *handler, char const *args) |
| static bool | HandleCastDistCommand (ChatHandler *handler, char const *args) |
| static bool | HandleCastSelfCommand (ChatHandler *handler, char const *args) |
| static bool | HandleCastTargetCommad (ChatHandler *handler, char const *args) |
Additional Inherited Members | |
| Protected Member Functions inherited from CommandScript | |
| CommandScript (const char *name) | |
| Protected Member Functions inherited from ScriptObject | |
| ScriptObject (const char *name) | |
| virtual | ~ScriptObject () |
Definition at line 19 of file cs_cast.cpp.
|
inline |
Definition at line 22 of file cs_cast.cpp.
References CommandScript::CommandScript().
|
inlinevirtual |
Implements CommandScript.
Definition at line 24 of file cs_cast.cpp.
References HandleCastBackCommand(), HandleCastCommand(), HandleCastDestCommand(), HandleCastDistCommand(), HandleCastSelfCommand(), HandleCastTargetCommad(), OVERRIDE, rbac::RBAC_PERM_COMMAND_CAST, rbac::RBAC_PERM_COMMAND_CAST_BACK, rbac::RBAC_PERM_COMMAND_CAST_DEST, rbac::RBAC_PERM_COMMAND_CAST_DIST, rbac::RBAC_PERM_COMMAND_CAST_SELF, and rbac::RBAC_PERM_COMMAND_CAST_TARGET.
|
inlinestatic |
Definition at line 90 of file cs_cast.cpp.
References Unit::CastSpell(), ChatHandler::extractSpellIdFromLink(), WorldSession::GetPlayer(), ChatHandler::getSelectedCreature(), ChatHandler::GetSession(), LANG_COMMAND_NOSPELLFOUND, LANG_SELECT_CHAR_OR_CREATURE, ChatHandler::PSendSysMessage(), ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), and sSpellMgr.
Referenced by GetCommands().
|
inlinestatic |
Definition at line 42 of file cs_cast.cpp.
References Unit::CastSpell(), ChatHandler::extractSpellIdFromLink(), WorldSession::GetPlayer(), ChatHandler::getSelectedUnit(), ChatHandler::GetSession(), SpellMgr::IsSpellValid(), LANG_COMMAND_NOSPELLFOUND, LANG_COMMAND_SPELL_BROKEN, LANG_SELECT_CHAR_OR_CREATURE, ChatHandler::PSendSysMessage(), ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), and sSpellMgr.
Referenced by GetCommands().
|
inlinestatic |
Definition at line 250 of file cs_cast.cpp.
References Unit::CastSpell(), ChatHandler::extractSpellIdFromLink(), ChatHandler::getSelectedUnit(), LANG_COMMAND_NOSPELLFOUND, LANG_SELECT_CHAR_OR_CREATURE, ChatHandler::PSendSysMessage(), ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), and sSpellMgr.
Referenced by GetCommands().
|
inlinestatic |
Definition at line 125 of file cs_cast.cpp.
References Unit::CastSpell(), ChatHandler::extractSpellIdFromLink(), WorldObject::GetClosePoint(), WorldSession::GetPlayer(), ChatHandler::GetSession(), SpellMgr::IsSpellValid(), LANG_COMMAND_NOSPELLFOUND, LANG_COMMAND_SPELL_BROKEN, ChatHandler::PSendSysMessage(), ChatHandler::SetSentErrorMessage(), and sSpellMgr.
Referenced by GetCommands().
|
inlinestatic |
Definition at line 175 of file cs_cast.cpp.
References Unit::CastSpell(), ChatHandler::extractSpellIdFromLink(), WorldSession::GetPlayer(), ChatHandler::getSelectedUnit(), ChatHandler::GetSession(), SpellMgr::IsSpellValid(), LANG_COMMAND_SPELL_BROKEN, LANG_SELECT_CHAR_OR_CREATURE, ChatHandler::PSendSysMessage(), ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), and sSpellMgr.
Referenced by GetCommands().
|
inlinestatic |
Definition at line 209 of file cs_cast.cpp.
References Unit::CastSpell(), ChatHandler::extractSpellIdFromLink(), ChatHandler::getSelectedCreature(), Unit::GetVictim(), LANG_COMMAND_NOSPELLFOUND, LANG_SELECT_CHAR_OR_CREATURE, LANG_SELECTED_TARGET_NOT_HAVE_VICTIM, ChatHandler::PSendSysMessage(), ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), and sSpellMgr.
Referenced by GetCommands().