Atrinik Server  4.0
Data Fields
command_struct Struct Reference

#include <commands.h>

Data Fields

char * name
command_func handle_func
double delay
uint64_t flags
UT_hash_handle hh

Detailed Description

A single command.

Definition at line 49 of file commands.h.

Field Documentation

double command_struct::delay

Time the player must wait before doing another command.

Definition at line 63 of file commands.h.

uint64_t command_struct::flags

A combination of Command flags.

Definition at line 68 of file commands.h.

command_func command_struct::handle_func

Handler function.

Definition at line 58 of file commands.h.

UT_hash_handle command_struct::hh

Hash handle.

Definition at line 73 of file commands.h.

char* command_struct::name

Name of the command.

Definition at line 53 of file commands.h.

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