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

#include <voting.h>

Public Attributes

int caller_id
 
int command_id
 
char cmdline [512]
 
int turn_count
 
struct vote_cast_list * votes_cast
 
int vote_no
 
int yes
 
int no
 
int abstain
 
int flags
 
double need_pc
 

Detailed Description

Definition at line 43 of file voting.h.

Member Data Documentation

◆ abstain

int vote::abstain

Definition at line 52 of file voting.h.

Referenced by check_vote(), and lsend_vote_update().

◆ caller_id

int vote::caller_id

◆ cmdline

char vote::cmdline[512]

Definition at line 46 of file voting.h.

Referenced by cancelvote_command(), check_vote(), describe_vote(), vote_command(), and vote_new().

◆ command_id

int vote::command_id

Definition at line 45 of file voting.h.

Referenced by vote_new().

◆ flags

int vote::flags

◆ need_pc

double vote::need_pc

Definition at line 54 of file voting.h.

Referenced by check_vote(), describe_vote(), lsend_vote_new(), and vote_new().

◆ no

int vote::no

Definition at line 51 of file voting.h.

Referenced by check_vote(), and lsend_vote_update().

◆ turn_count

int vote::turn_count

Definition at line 47 of file voting.h.

Referenced by check_vote(), and vote_new().

◆ vote_no

◆ votes_cast

struct vote_cast_list* vote::votes_cast

◆ yes

int vote::yes

Definition at line 50 of file voting.h.

Referenced by check_vote(), and lsend_vote_update().