mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
21
dGame/dUtilities/SlashCommandHandler.h
Normal file
21
dGame/dUtilities/SlashCommandHandler.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Darkflame Universe
|
||||
* Copyright 2018
|
||||
*/
|
||||
|
||||
#ifndef SLASHCOMMANDHANDLER_H
|
||||
#define SLASHCOMMANDHANDLER_H
|
||||
|
||||
#include "RakNetTypes.h"
|
||||
#include <string>
|
||||
|
||||
class Entity;
|
||||
|
||||
namespace SlashCommandHandler {
|
||||
void HandleChatCommand(const std::u16string& command, Entity* entity, const SystemAddress& sysAddr);
|
||||
bool CheckIfAccessibleZone(const unsigned int zoneID);
|
||||
|
||||
void SendAnnouncement(const std::string& title, const std::string& message);
|
||||
};
|
||||
|
||||
#endif // SLASHCOMMANDHANDLER_H
|
Reference in New Issue
Block a user