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

◆ arg

struct cmd_arg arg[CMD_MAX_ARGS]

Referenced by cmd_get_arg(), and cmd_set_arg().

◆ code

cmd_code code

◆ context

cmd_context context

◆ nrepeats

int nrepeats

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