]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/vote.qh
a5b25584fca6d7131bf403a080d3564afa965492
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / vote.qh
1 float votecalled;
2 string votecalledvote;
3 string votecalledvote_display;
4 float votecalledmaster;
5 entity votecaller;
6 float votefinished;
7 .float vote_master;
8 .float vote_next;
9 .float vote_selection;
10 float vote_yescount;
11 float vote_nocount;
12 float vote_abstaincount;
13 float vote_needed_absolute;
14 float vote_needed_simple;
15
16 string VoteCommand_getname(entity caller);
17 entity GetKickVoteVictim(string vote, string cmd, entity caller);
18 void VoteCommand(float request, entity caller, float argc, string vote_command);
19 void VoteHelp(entity e);
20 string ValidateMap(string m, entity e);
21 void VoteThink();
22 float VoteAllowed(string vote, string cmd);
23 void VoteReset();
24 void VoteAccept();
25 void VoteReject();
26 void VoteTimeout();
27 void VoteStop(entity stopper);
28 void VoteSpam(float notvoters, float mincount, string result);
29 void VoteCount();
30
31 entity nagger;
32 float readycount;
33 float readyrestart_happened;
34 void ReadyCount();