Crossfire Server, Trunk
player_cmd_mapping Struct Reference
+ Collaboration diagram for player_cmd_mapping:

Data Fields

const char * cmdname
 
const func_uint8_int_pl cmdproc
 
const uint8_t flag
 

Detailed Description

Definition of a function called in reaction to player's action.

Definition at line 76 of file loop.cpp.

Field Documentation

◆ cmdname

const char* player_cmd_mapping::cmdname

Command name.

Definition at line 77 of file loop.cpp.

Referenced by handle_cmd().

◆ cmdproc

const func_uint8_int_pl player_cmd_mapping::cmdproc

Function to call.

Definition at line 78 of file loop.cpp.

Referenced by handle_cmd().

◆ flag

const uint8_t player_cmd_mapping::flag

If set, the player must be in the ST_PLAYING state for this command to be available.

Definition at line 79 of file loop.cpp.

Referenced by handle_cmd().


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