ddnet/src/game/client/components/motd.hpp

18 lines
330 B
C++
Raw Normal View History

#include <game/client/component.hpp>
class MOTD : public COMPONENT
{
// motd
int64 server_motd_time;
char server_motd[900]; // FUGLY
2008-08-30 08:26:36 +00:00
public:
void clear();
bool is_active();
virtual void on_reset();
virtual void on_render();
virtual void on_message(int msgtype, void *rawmsg);
virtual bool on_input(INPUT_EVENT e);
};