eoserv.hpp File Reference

#include <list>
#include <vector>
#include <ctime>
#include <string>
#include "database.hpp"
#include "util.hpp"
#include "config.hpp"
#include "eoconst.hpp"
#include "timer.hpp"
#include "socket.hpp"
#include "packet.hpp"
#include "eoclient.hpp"

Include dependency graph for eoserv.hpp:

This graph shows which files directly or indirectly include this file:


Classes

class  World
 Object which holds and manages all maps and characters on the server, as well as timed events Only one of these should exist per server. More...
struct  Map_Item
 Object representing an item on the floor of a map. More...
struct  Map_Warp
 Object representing a warp tile on a map, as well as storing door state. More...
struct  Map_Tile
 Object representing one tile on a map. More...
class  Map
 Contains all information about a map, holds reference to contained Characters and manages NPCs on it. More...
class  Player
 Object representing a player, but not a character. More...
struct  Character_Item
 One type of item in a Characters inventory. More...
struct  Character_Spell
 One spell that a Character knows. More...
class  Character
struct  NPC_Opponent
 Used by the NPC class to store information about an attacker. More...
class  NPC
 An instance of an NPC created and managed by a Map. More...
class  Guild
 Stores guild information and references to online members Created by the World object when a member of the guild logs in, and destroyed when the last member logs out. More...
class  Party
 A temporary group of Characters. More...

Functions

std::string ItemSerialize (std::list< Character_Item > list)
 Serialize a list of items in to a text format that can be restored with ItemUnserialize.
std::list< Character_ItemItemUnserialize (std::string serialized)
 Convert a string generated by ItemSerialze back to a list of items.
std::string DollSerialize (util::array< int, 15 > list)
 Serialize a paperdoll of 15 items in to a string that can be restored with DollUnserialize.
util::array< int, 15 > DollUnserialize (std::string serialized)
 Convert a string generated by DollSerialze back to a list of 15 items.

Variables

Worldthe_world
Config eoserv_config
Config admin_config

Function Documentation

std::string ItemSerialize ( std::list< Character_Item list  ) 

Serialize a list of items in to a text format that can be restored with ItemUnserialize.

std::list<Character_Item> ItemUnserialize ( std::string  serialized  ) 

Convert a string generated by ItemSerialze back to a list of items.

std::string DollSerialize ( util::array< int, 15 >  list  ) 

Serialize a paperdoll of 15 items in to a string that can be restored with DollUnserialize.

util::array<int, 15> DollUnserialize ( std::string  serialized  ) 

Convert a string generated by DollSerialze back to a list of 15 items.


Variable Documentation


Generated on Sun Apr 5 20:28:14 2009 for EOServ by  doxygen 1.5.7.1