Angband
Data Fields
cmd_info Struct Reference

Holds a generic command - if cmd is set to other than CMD_NULL it simply pushes that command to the game, otherwise the hook function will be called. More...

#include <ui-input.h>

Data Fields

const char * desc
 
keycode_t key [2]
 
cmd_code cmd
 
void(* hook )(void)
 
bool(* prereq )(void)
 

Detailed Description

Holds a generic command - if cmd is set to other than CMD_NULL it simply pushes that command to the game, otherwise the hook function will be called.

Field Documentation

◆ cmd

cmd_code cmd

◆ desc

const char* desc

◆ hook

void(* hook) (void)

Referenced by textui_process_command().

◆ key

keycode_t key[2]

◆ prereq

bool(* prereq) (void)

Referenced by textui_process_command().


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