Files
azerothcore-wotlk/src/server/game/Motd/ServerMotd.h
2021-06-16 20:40:42 +02:00

28 lines
634 B
C++

/*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
* 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_
// _