Angband
Data Fields
command Struct Reference

The struct command type is used to return details of the command the game should carry out. More...

#include <cmd-core.h>

Data Fields

cmd_context context
cmd_code code
int nrepeats
struct cmd_arg arg [CMD_MAX_ARGS]

Detailed Description

The struct command type is used to return details of the command the game should carry out.

'command' should always have a valid cmd_code value, the other entries may or may not be significant depending on the command being returned.

Field Documentation

struct cmd_arg arg[CMD_MAX_ARGS]

Referenced by cmd_get_arg(), and cmd_set_arg().

cmd_code code
cmd_context context

Referenced by process_command().

int nrepeats

The documentation for this struct was generated from the following file: