Skip to content

Commit

Permalink
Add RunCommand for player objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Niam5 committed Nov 17, 2024
1 parent d2d805a commit f45ea8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Chat/Chat.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class ChatHandler

bool ParseCommands(const char* text);
ChatCommand const* FindCommand(char const* text);
void ExecuteCommand(const char* text);

static bool HasEscapeSequences(const char* message);
static bool CheckEscapeSequences(const char* message);
Expand Down Expand Up @@ -186,7 +187,6 @@ class ChatHandler
void SendGlobalSysMessage(const char* str) const;

bool SetDataForCommandInTable(ChatCommand* commandTable, const char* text, uint32 security, std::string const& help);
void ExecuteCommand(const char* text);
void LogCommand(char const* fullcmd) const;

bool ShowHelpForCommand(ChatCommand* table, const char* cmd);
Expand Down

0 comments on commit f45ea8f

Please sign in to comment.