fix: server motd

This commit is contained in:
FrancescoBorzi
2019-01-19 02:48:00 +01:00
parent ccaa74a9a7
commit 97ae1496a7
10 changed files with 101 additions and 83 deletions

View 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_
// _