#pragma once

enumflags VOTEFLAGS:int {
	NULL = 0,
	INPROGRESS,
	MAP,
	GAMEMODE,
	VARIANT,
	KICK,
	BENCH,
	FORCEREADY,
	COMPETITIVE,
	SHUFFLE,

	// server aware flags
	PESTER,
	EXECUTE,
};

typedef struct {
	int flags;
	float timeout;
	string caller;

	int result_yes;
	int result_no;

	string map;
	string mode;
	string variant;
	string name;

	entity kickee;
} vote_t;
vote_t vote_current;