Freeciv-3.2: vote Struct Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Data Fields
vote Struct Reference

`#include <voting.h>`

## Data Fields

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 46 of file voting.h.

## Field Documentation

## ◆ abstain

int vote::abstain

Definition at line 55 of file voting.h.

## ◆ caller_id

int vote::caller_id

Definition at line 47 of file voting.h.

## ◆ cmdline

char vote::cmdline[512]

Definition at line 49 of file voting.h.

## ◆ command_id

int vote::command_id

Definition at line 48 of file voting.h.

## ◆ flags

int vote::flags

Definition at line 56 of file voting.h.

## ◆ need_pc

double vote::need_pc

Definition at line 57 of file voting.h.

## ◆ no

int vote::no

Definition at line 54 of file voting.h.

## ◆ turn_count

int vote::turn_count

Definition at line 50 of file voting.h.

## ◆ vote_no

int vote::vote_no

Definition at line 52 of file voting.h.

Referenced by cancelvote_command(), get_vote_by_no(), handle_stdin_input_real(), and handle_vote_submit().

## ◆ votes_cast

struct vote_cast_list* vote::votes_cast

Definition at line 51 of file voting.h.

## ◆ yes

int vote::yes

Definition at line 53 of file voting.h.