Phasor  01.00.10.059
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
halo::server::mapvote Namespace Reference

Classes

struct  s_mapvote_entry
 
struct  PlayerVoteHandler
 

Functions

bool is_valid_vote_index (int vote)
 
PlayerVoteHandlerGetPlayerVoteHandler (const halo::s_player &player)
 
bool GetVoteDecision (maploader::s_phasor_mapcycle_entry &out)
 
bool OnServerChat (const halo::s_player &player, const std::wstring &msg)
 
void BeginVote ()
 
e_command_result sv_mapvote (void *, commands::CArgParser &args, COutStream &out)
 
e_command_result sv_mapvote_size (void *, commands::CArgParser &args, COutStream &out)
 
e_command_result sv_mapvote_begin (void *, commands::CArgParser &args, COutStream &out)
 
e_command_result sv_mapvote_add (void *, commands::CArgParser &args, COutStream &out)
 
e_command_result sv_mapvote_del (void *, commands::CArgParser &args, COutStream &out)
 
e_command_result sv_mapvote_list (void *, commands::CArgParser &args, COutStream &out)
 

Variables

std::vector< s_mapvote_entrymapvote_list
 
std::vector< PlayerVoteHandlerplayer_votes
 
std::vector< s_mapvote_entrycurrent_vote_options
 

Function Documentation

void halo::server::mapvote::BeginVote ( )
PlayerVoteHandler* halo::server::mapvote::GetPlayerVoteHandler ( const halo::s_player player)
bool halo::server::mapvote::GetVoteDecision ( maploader::s_phasor_mapcycle_entry &  out)
bool halo::server::mapvote::is_valid_vote_index ( int  vote)
bool halo::server::mapvote::OnServerChat ( const halo::s_player player,
const std::wstring &  msg 
)
e_command_result halo::server::mapvote::sv_mapvote ( void *  ,
commands::CArgParser args,
COutStream out 
)
e_command_result halo::server::mapvote::sv_mapvote_add ( void *  ,
commands::CArgParser args,
COutStream out 
)
e_command_result halo::server::mapvote::sv_mapvote_begin ( void *  ,
commands::CArgParser args,
COutStream out 
)
e_command_result halo::server::mapvote::sv_mapvote_del ( void *  ,
commands::CArgParser args,
COutStream out 
)
e_command_result halo::server::mapvote::sv_mapvote_list ( void *  ,
commands::CArgParser args,
COutStream out 
)
e_command_result halo::server::mapvote::sv_mapvote_size ( void *  ,
commands::CArgParser args,
COutStream out 
)

Variable Documentation

std::vector<s_mapvote_entry> halo::server::mapvote::current_vote_options
std::vector<s_mapvote_entry> halo::server::mapvote::mapvote_list
std::vector<PlayerVoteHandler> halo::server::mapvote::player_votes