Crossfire Server, Trunk
command_array_struct Struct Reference

#include <commands.h>

+ Collaboration diagram for command_array_struct:

Data Fields

command_function func
 
const char * name
 
float time
 

Detailed Description

Represents one command.

Definition at line 37 of file commands.h.

Field Documentation

◆ func

command_function command_array_struct::func

Pointer to command function.

Definition at line 39 of file commands.h.

Referenced by execute_newserver_command(), and getPluginProperty().

◆ name

const char* command_array_struct::name

Command name.

Definition at line 38 of file commands.h.

Referenced by find_command_element(), and getPluginProperty().

◆ time

float command_array_struct::time

How long it takes to execute this command.

Definition at line 40 of file commands.h.

Referenced by execute_newserver_command(), and getPluginProperty().


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