diff options
Diffstat (limited to 'src/game/client/components/voting.hpp')
| -rw-r--r-- | src/game/client/components/voting.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/client/components/voting.hpp b/src/game/client/components/voting.hpp index 03de629d..78e561c7 100644 --- a/src/game/client/components/voting.hpp +++ b/src/game/client/components/voting.hpp @@ -21,6 +21,8 @@ class VOTING : public COMPONENT char command[512]; int voted; + void callvote(const char *type, const char *value); + public: VOTING(); virtual void on_reset(); @@ -30,6 +32,9 @@ public: void render_bars(RECT bars, bool text); + void callvote_kick(int client_id); + void callvote_map(const char *map); + void vote(int v); // -1 = no, 1 = yes int seconds_left() { return (closetime - time_get())/time_freq(); } |