More work on vote kick. Some network packets are exchanged, but still not functional.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#define _GAMEDATA_H_
|
||||
|
||||
#include <playerdata.h>
|
||||
#include <third_party/boost/timers.hpp>
|
||||
|
||||
#define SERVER_COMPUTER_PLAYER_NAME "Computer"
|
||||
|
||||
@@ -87,5 +88,14 @@ struct StartData
|
||||
int numberOfPlayers;
|
||||
};
|
||||
|
||||
struct VoteKickData
|
||||
{
|
||||
unsigned petitionId;
|
||||
unsigned kickPlayerId;
|
||||
unsigned numVotesToKick;
|
||||
boost::timers::portable::microsec_timer voteTimer;
|
||||
std::list<unsigned> votedPlayerIds;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user