Freeciv21
Develop your civilization from humble roots to a global empire
voteinfo Struct Reference

#include <voteinfo.h>

Public Attributes

int vote_no
 
char user [MAX_LEN_NAME]
 
char desc [512]
 
int percent_required
 
int flags
 
int yes
 
int no
 
int abstain
 
int num_voters
 
bool resolved
 
bool passed
 
enum client_vote_type client_vote
 
time_t remove_time
 

Detailed Description

Definition at line 19 of file voteinfo.h.

Member Data Documentation

◆ abstain

int voteinfo::abstain

Definition at line 28 of file voteinfo.h.

Referenced by handle_vote_update(), and pregamevote::update_vote().

◆ client_vote

enum client_vote_type voteinfo::client_vote

Definition at line 31 of file voteinfo.h.

Referenced by voteinfo_do_vote().

◆ desc

char voteinfo::desc[512]

Definition at line 23 of file voteinfo.h.

Referenced by pregamevote::update_vote(), and voteinfo_queue_add().

◆ flags

int voteinfo::flags

Definition at line 25 of file voteinfo.h.

Referenced by voteinfo_queue_add().

◆ no

int voteinfo::no

Definition at line 27 of file voteinfo.h.

Referenced by handle_vote_update(), and pregamevote::update_vote().

◆ num_voters

int voteinfo::num_voters

Definition at line 29 of file voteinfo.h.

Referenced by handle_vote_update(), and pregamevote::update_vote().

◆ passed

bool voteinfo::passed

Definition at line 31 of file voteinfo.h.

Referenced by handle_vote_resolve(), and pregamevote::update_vote().

◆ percent_required

int voteinfo::percent_required

Definition at line 24 of file voteinfo.h.

Referenced by voteinfo_queue_add().

◆ remove_time

time_t voteinfo::remove_time

Definition at line 35 of file voteinfo.h.

Referenced by pregamevote::update_vote(), and voteinfo_queue_delayed_remove().

◆ resolved

bool voteinfo::resolved

Definition at line 30 of file voteinfo.h.

Referenced by handle_vote_resolve(), and pregamevote::update_vote().

◆ user

char voteinfo::user[MAX_LEN_NAME]

Definition at line 22 of file voteinfo.h.

Referenced by pregamevote::update_vote(), and voteinfo_queue_add().

◆ vote_no

◆ yes

int voteinfo::yes

Definition at line 26 of file voteinfo.h.

Referenced by handle_vote_update(), and pregamevote::update_vote().