Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

char.h File Reference

Character Server Routines. More...

#include "common/core.h"
#include "common/socket.h"
#include "common/timer.h"
#include <mmo.h>
#include "common/version.h"
#include "common/db.h"
#include "inter.h"

Go to the source code of this file.

Data Structures

struct  mmo_map_server
 Map Server Data. More...

Defines

#define MAX_SERVERS   30
 max number of char-servers (and account_id values: 0 to max-1)
#define MAX_MAP_SERVERS   30
 max number of map-servers (and account_id values: 0 to max-1)

Functions

int search_character_index (char *character_name)
 Search for a character name.
unsigned char mapif_sendall (unsigned int len)
 Send packet to all Map Servers.
unsigned char mapif_sendallwos (int sfd, unsigned int len)
 Packet send to all map-servers, except one (wos: without our self).
void mapif_send (int fd, unsigned int len)
 Sends packet to a Map Server.
void char_log (char *fmt,...)
 Logging function.

Variables

mmo_charstatus * char_dat
signed char * online_chars
 same size of char_dat, and id value of current server (or 0)
int char_num
int server_fd [MAX_MAP_SERVERS]
 Map Server Sockets.


Detailed Description

Character Server Routines.


Generated on Fri Apr 28 10:20:05 2006 for OpenAthena by  doxygen 1.4.4