Crossfire Server, Branches 1.12  R18729
player_cmd_mapping Struct Reference
+ Collaboration diagram for player_cmd_mapping:

Data Fields

const char * cmdname
 
const func_uint8_int_pl cmdproc
 
const uint8 flag
 

Detailed Description

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

Definition at line 91 of file loop.c.

Field Documentation

const char* player_cmd_mapping::cmdname

Command name.

Definition at line 92 of file loop.c.

Referenced by handle_client().

const func_uint8_int_pl player_cmd_mapping::cmdproc

Function to call.

Definition at line 93 of file loop.c.

Referenced by handle_client().

const uint8 player_cmd_mapping::flag

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

Definition at line 94 of file loop.c.

Referenced by handle_client().


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