Freeciv-3.1: command Struct Reference

Freeciv-3.1

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

## Data Fields

const char * | name
enum cmdlevel | level
const char * | synopsis
const char * | short_help
const char * | extra_help
char *(* | extra_help_func )(const char *cmdname)
enum cmd_echo | echo
int | vote_flags
int | vote_percent

## Detailed Description

Definition at line 37 of file commands.c.

## Field Documentation

## ◆ echo

enum cmd_echo command::echo

Definition at line 46 of file commands.c.

Referenced by command_echo().

## ◆ extra_help

const char* command::extra_help

Definition at line 42 of file commands.c.

Referenced by command_extra_help().

## ◆ extra_help_func

char *(* command::extra_help_func) (const char *cmdname)

Definition at line 43 of file commands.c.

Referenced by command_extra_help().

## ◆ level

enum cmdlevel command::level

Definition at line 39 of file commands.c.

Referenced by command_level().

## ◆ name

const char* command::name

Definition at line 38 of file commands.c.

Referenced by command_extra_help(), command_name(), and command_name_by_number().

## ◆ short_help

const char* command::short_help

Definition at line 41 of file commands.c.

Referenced by command_short_help().

## ◆ synopsis

const char* command::synopsis

Definition at line 40 of file commands.c.

Referenced by command_synopsis().

## ◆ vote_flags

int command::vote_flags

Definition at line 47 of file commands.c.

Referenced by command_vote_flags().

## ◆ vote_percent

int command::vote_percent

Definition at line 48 of file commands.c.

Referenced by command_vote_percent().