mirror of
https://github.com/ornfelt/azerothcore_lua_scripts
synced 2026-08-22 06:26:03 -04:00
34 lines
No EOL
1.6 KiB
C++
34 lines
No EOL
1.6 KiB
C++
#ifndef SERVER_ANNOUNCE_H_
|
|
#define SERVER_ANNOUNCE_H_
|
|
#include "Common.h"
|
|
#include "DatabaseEnv.h"
|
|
#include "World.h"
|
|
#include "Player.h"
|
|
#include "Opcodes.h"
|
|
#include "Chat.h"
|
|
#include "ObjectAccessor.h"
|
|
#include "Language.h"
|
|
#include "AccountMgr.h"
|
|
#include "SystemConfig.h"
|
|
#include "revision.h"
|
|
#include "Util.h"
|
|
|
|
class ServerAnnounce
|
|
{
|
|
public:
|
|
/*
|
|
static void AnnounceBan(const char * tempAuthor, std::string & target, const char * tempReason);
|
|
static void AnnounceBan(const char * tempAuthor, std::string & target, const char * tempReason, std::string duration);
|
|
static void AnnounceMute(const char * tempAuthor, std::string & target, std::string & reason);
|
|
static void AnnounceMute(const char * tempAuthor, std::string & target, std::string & reason, std::string duration);
|
|
static void AnnounceKick(const char * tempAuthor, std::string & target);
|
|
static void AnnounceKick(const char * tempAuthor, std::string & target, std::string & reason);
|
|
*/
|
|
static void AnnounceBan(const char* tempAuthor, std::string target, const char* tempReason);
|
|
static void AnnounceBan(const char* tempAuthor, std::string target, const char* tempReason, std::string duration);
|
|
static void AnnounceMute(const char* tempAuthor, std::string target, std::string reason);
|
|
static void AnnounceMute(const char* tempAuthor, std::string target, std::string reason, std::string duration);
|
|
static void AnnounceKick(const char* tempAuthor, std::string target);
|
|
static void AnnounceKick(const char* tempAuthor, std::string target, std::string reason);
|
|
};
|
|
#endif |