Definition at line 44 of file cs_wp.cpp.
◆ wp_commandscript()
wp_commandscript::wp_commandscript |
( |
| ) |
|
|
inline |
◆ GetCommands()
std::vector< ChatCommand > wp_commandscript::GetCommands |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ HandleWpAddCommand()
static bool wp_commandscript::HandleWpAddCommand |
( |
ChatHandler * |
handler, |
|
|
char const * |
args |
|
) |
| |
|
inlinestatic |
Add a waypoint to a creature.
The user can either select an npc or provide its GUID.
The user can even select a visual waypoint - then the new waypoint is placed after the selected one - this makes insertion of new waypoints possible.
eg: .wp add 12345 -> adds a waypoint to the npc with the GUID 12345
.wp add -> adds a waypoint to the currently selected creature
- Parameters
-
args | if the user did not provide a GUID, it is NULL |
- Returns
- true - command did succeed, false - something went wrong
Definition at line 87 of file cs_wp.cpp.
◆ HandleWpLoadCommand()
static bool wp_commandscript::HandleWpLoadCommand |
( |
ChatHandler * |
handler, |
|
|
char const * |
args |
|
) |
| |
|
inlinestatic |
◆ HandleWpModifyCommand()
static bool wp_commandscript::HandleWpModifyCommand |
( |
ChatHandler * |
handler, |
|
|
char const * |
args |
|
) |
| |
|
inlinestatic |
◆ HandleWpReloadCommand()
static bool wp_commandscript::HandleWpReloadCommand |
( |
ChatHandler * |
handler, |
|
|
char const * |
args |
|
) |
| |
|
inlinestatic |
◆ HandleWpShowCommand()
static bool wp_commandscript::HandleWpShowCommand |
( |
ChatHandler * |
handler, |
|
|
char const * |
args |
|
) |
| |
|
inlinestatic |
◆ HandleWpUnLoadCommand()
static bool wp_commandscript::HandleWpUnLoadCommand |
( |
ChatHandler * |
handler, |
|
|
char const * |
|
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: