Crossfire Client, Trunk
|
#include <client.h>
Data Fields | |
guint16 | command_received |
guint16 | command_sent |
int | command_time |
int | cs_version |
gint8 | dir [COMMAND_MAX] |
GSocketConnection * | fd |
int | sc_version |
char * | servername |
Basic support for socket communications, including the file descriptor, input buffer, server, server, version, etc. ClientSocket could probably hold more of the global values - it could probably hold most all socket/communication related values instead of globals.
guint16 ClientSocket::command_received |
These are used for the newer 'windowing' method of commands - number of last command sent, number of received confirmation
Definition at line 127 of file client.h.
Referenced by CompleteCmd(), keyfunc(), reset_vars_common(), script_process_cmd(), and send_command().
guint16 ClientSocket::command_sent |
Definition at line 127 of file client.h.
Referenced by CompleteCmd(), keyfunc(), reset_vars_common(), script_process_cmd(), and send_command().
int ClientSocket::command_time |
Time (in ms) players commands currently take to execute
Definition at line 132 of file client.h.
Referenced by CompleteCmd(), and reset_vars_common().
int ClientSocket::cs_version |
Definition at line 125 of file client.h.
Referenced by client_negotiate(), send_command(), SetupCmd(), and VersionCmd().
gint8 ClientSocket::dir[COMMAND_MAX] |
Definition at line 136 of file client.h.
Referenced by CompleteCmd(), mapdata_newmap(), and send_command().
GSocketConnection* ClientSocket::fd |
Definition at line 124 of file client.h.
Referenced by add_character_to_account(), client_connect(), client_disconnect(), client_is_connected(), client_mapsize(), client_negotiate(), client_run(), client_send_apply(), client_send_examine(), client_send_move(), cmd_raw(), command_take(), config_check(), create_character_window_show(), create_new_character(), do_account_change(), do_account_create(), do_account_login(), get_image_info(), get_new_char_info(), inscribe_magical_scroll(), look_at(), main(), map_check_resize(), metaserver_connect_to(), play_character(), ReplyInfoCmd(), requestface(), script_process_cmd(), send_command(), send_create_player_to_server(), send_mark_obj(), send_reply(), SendAddMe(), SendVersion(), SetupCmd(), SockList_ReadPacket(), and toggle_locked().
int ClientSocket::sc_version |
Server versions of these
Definition at line 125 of file client.h.
Referenced by client_negotiate(), draw_stats(), set_item_values(), and VersionCmd().
char* ClientSocket::servername |
Definition at line 135 of file client.h.
Referenced by client_connect(), keybindings_init(), save_keys(), and script_init().