Atrinik Client  4.0
Functions
menu.c File Reference
#include <global.h>
#include <toolkit/packet.h>
#include <toolkit/string.h>

Go to the source code of this file.

Functions

int client_command_check (const char *cmd)
 
int send_command_check (const char *cmd)
 

Detailed Description

Menu related functions.

Definition in file menu.c.

Function Documentation

int client_command_check ( const char *  cmd)

Analyze /cmd type commands the player has typed in the console or bound to a key. Sort out the "client intern" commands and expand or pre process them for the server.

Parameters
cmdCommand to check
Returns
0 to send command to server, 1 to not send it

Definition at line 44 of file menu.c.

int send_command_check ( const char *  cmd)

Same as send_command(), but also check client commands.

Parameters
cmdCommand to send.

Definition at line 376 of file menu.c.