2021-12-05 17:54:36 +00:00
|
|
|
/*
|
|
|
|
* Darkflame Universe
|
|
|
|
* Copyright 2018
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SLASHCOMMANDHANDLER_H
|
|
|
|
#define SLASHCOMMANDHANDLER_H
|
|
|
|
|
|
|
|
#include "RakNetTypes.h"
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
class Entity;
|
|
|
|
|
|
|
|
namespace SlashCommandHandler {
|
2022-07-28 13:39:57 +00:00
|
|
|
void HandleChatCommand(const std::u16string& command, Entity* entity, const SystemAddress& sysAddr);
|
|
|
|
bool CheckIfAccessibleZone(const unsigned int zoneID);
|
2021-12-05 17:54:36 +00:00
|
|
|
|
2022-07-28 13:39:57 +00:00
|
|
|
void SendAnnouncement(const std::string& title, const std::string& message);
|
2021-12-05 17:54:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SLASHCOMMANDHANDLER_H
|