|
Atrinik Server 2.5
|
#include <newserver.h>
Data Fields | |
| int | fd |
| int | login_count |
| int | mapx |
| int | mapy |
| int | mapx_2 |
| int | mapy_2 |
| char * | host |
| uint32 | socket_version |
| uint32 | update_tile |
| uint32 | below_clear:1 |
| uint32 | addme:1 |
| uint32 | sound:1 |
| uint32 | version:1 |
| uint32 | rf_settings:1 |
| uint32 | rf_skills:1 |
| uint32 | rf_spells:1 |
| uint32 | rf_anims:1 |
| uint32 | rf_bmaps:1 |
| uint32 | rf_hfiles:1 |
| uint32 | is_bot:1 |
| sint16 | look_position |
| uint8 | faceset |
| uint8 | password_fails |
| uint8 | ext_title_flag |
| enum Sock_Status | status |
| struct Map | lastmap |
| SockList | inbuf |
| SockList | readbuf |
| SockList | cmdbuf |
| socket_buffer * | buffer_front |
| socket_buffer * | buffer_back |
| uint32 | keepalive |
This contains basic information on the socket structure.
Definition at line 189 of file newserver.h.
When set, a "connect" was initialized as "player".
Definition at line 224 of file newserver.h.
Marker to map draw/draw below.
Definition at line 221 of file newserver.h.
Last socket buffer.
Definition at line 286 of file newserver.h.
Front socket buffer.
Definition at line 283 of file newserver.h.
Buffer for player commands.
Definition at line 280 of file newserver.h.
Send ext title to client.
Definition at line 265 of file newserver.h.
Faceset the client is using, default 0.
Definition at line 257 of file newserver.h.
The actual file descriptor we are using.
Definition at line 192 of file newserver.h.
| char* socket_struct::host |
Which host it is connected from (ip address).
Definition at line 212 of file newserver.h.
Holds one command to handle.
Definition at line 274 of file newserver.h.
Is the client a bot?
Definition at line 251 of file newserver.h.
Buffer for how many ticks have passed since the last keep alive command. When this reaches SOCKET_KEEPALIVE_TIMEOUT, the socket is disconnected.
Definition at line 292 of file newserver.h.
| struct Map socket_struct::lastmap |
Last map.
Definition at line 271 of file newserver.h.
If someone is too long idle in the login, he will get disconnected.
Definition at line 197 of file newserver.h.
Start of drawing of look window.
Definition at line 254 of file newserver.h.
X size of the map the client wants.
Definition at line 200 of file newserver.h.
X size of the map the client wants / 2.
Definition at line 206 of file newserver.h.
Y size of the map the client wants.
Definition at line 203 of file newserver.h.
Y size of the map the client wants / 2.
Definition at line 209 of file newserver.h.
How many times the player has failed to provide the right password.
Definition at line 262 of file newserver.h.
Raw data read in from the socket.
Definition at line 277 of file newserver.h.
Has the client requested animations file?
Definition at line 242 of file newserver.h.
Has the client requested bitmaps file?
Definition at line 245 of file newserver.h.
Has the client requested hfiles file?
Definition at line 248 of file newserver.h.
Has the client requested settings file?
Definition at line 233 of file newserver.h.
Has the client requested skills file?
Definition at line 236 of file newserver.h.
Has the client requested spells file?
Definition at line 239 of file newserver.h.
Version of the client.
Definition at line 215 of file newserver.h.
Does the client want sound?
Definition at line 227 of file newserver.h.
Current state of the socket.
Definition at line 268 of file newserver.h.
Marker to see we must update the below windows of the tile the player is.
Definition at line 218 of file newserver.h.
Has the client sent version command?
Definition at line 230 of file newserver.h.
1.7.4