diff options
Diffstat (limited to 'src/game/client/components/motd.hpp')
| -rw-r--r-- | src/game/client/components/motd.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/game/client/components/motd.hpp b/src/game/client/components/motd.hpp new file mode 100644 index 00000000..e26dff9b --- /dev/null +++ b/src/game/client/components/motd.hpp @@ -0,0 +1,15 @@ +#include <game/client/component.hpp> + +class MOTD : public COMPONENT +{ +public: + // motd + int64 server_motd_time; + char server_motd[900]; // FUGLY + + virtual void on_reset(); + virtual void on_render(); + virtual void on_message(int msgtype, void *rawmsg); + virtual bool on_input(INPUT_EVENT e); +}; + |