mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 11:38:19 +00:00
19 lines
322 B
C++
19 lines
322 B
C++
#include <game/client/component.hpp>
|
|
|
|
class MOTD : public COMPONENT
|
|
{
|
|
// motd
|
|
int64 server_motd_time;
|
|
public:
|
|
char server_motd[900];
|
|
|
|
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);
|
|
};
|
|
|