mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Quest API] Add SendGMCommand() to Perl/Lua. (#2527)
* [Quest API] Add SendGMCommand() to Perl/Lua. # Perl - Add `$client->SendGMCommand(message)` to Perl. - Add `$client->SendGMCommand(message, ignore_status)` to Perl. # Lua - Add `client:SendGMCommand(message)` to Lua. - Add `client:SendGMCommand(message, ignore_status)` to Lua. # Notes - `ignore_status` allows you to have players use GM commands that they are not the required status level for through the Quest API. - `ignore_status` is default false, so if you don't send it, it checks and makes sure the player can use the command you're sending before allowing it. * Typo. * Formatting.
This commit is contained in:
@@ -446,6 +446,9 @@ public:
|
||||
void SetClientMaxLevel(uint8 max_level);
|
||||
uint8 GetClientMaxLevel();
|
||||
|
||||
bool SendGMCommand(std::string message);
|
||||
bool SendGMCommand(std::string message, bool ignore_status);
|
||||
|
||||
void DialogueWindow(std::string markdown);
|
||||
|
||||
Lua_Expedition CreateExpedition(luabind::object expedition_info);
|
||||
|
||||
Reference in New Issue
Block a user