mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 01:23:47 +00:00
fix: server motd
This commit is contained in:
26
src/server/game/Motd/ServerMotd.h
Normal file
26
src/server/game/Motd/ServerMotd.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2019 TrinityCore <https://www.trinitycore.org>
|
||||
*/
|
||||
|
||||
#ifndef ServerMotd_h__
|
||||
#define ServerMotd_h__
|
||||
|
||||
#include "Define.h"
|
||||
#include <string>
|
||||
|
||||
class WorldPacket;
|
||||
|
||||
namespace Motd
|
||||
{
|
||||
/// Set a new Message of the Day
|
||||
void SetMotd(std::string motd);
|
||||
|
||||
/// Get the current Message of the Day
|
||||
char const* GetMotd();
|
||||
|
||||
/// Get the motd packet to send at login
|
||||
WorldPacket const* GetMotdPacket();
|
||||
}
|
||||
|
||||
#endif //ServerMotd_h_
|
||||
// _
|
||||
Reference in New Issue
Block a user