summaryrefslogtreecommitdiff
path: root/src/account-server/serverhandler.hpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-01-04 17:36:52 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-01-04 17:36:52 +0000
commitbbdbb95d5d477b9934bf27cb45c53afbabb2db78 (patch)
treedfb4c50bc1fe530be28434dc096e854ab9db43d8 /src/account-server/serverhandler.hpp
parent8904c9451e4caf22ca81c5bb38e51d6efb0c6355 (diff)
downloadmanaserv-bbdbb95d5d477b9934bf27cb45c53afbabb2db78.tar.gz
manaserv-bbdbb95d5d477b9934bf27cb45c53afbabb2db78.tar.bz2
manaserv-bbdbb95d5d477b9934bf27cb45c53afbabb2db78.tar.xz
manaserv-bbdbb95d5d477b9934bf27cb45c53afbabb2db78.zip
Started serializing character possessions. Reduced their memory footprint.
Diffstat (limited to 'src/account-server/serverhandler.hpp')
-rw-r--r--src/account-server/serverhandler.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/account-server/serverhandler.hpp b/src/account-server/serverhandler.hpp
index 1325b065..30dadd65 100644
--- a/src/account-server/serverhandler.hpp
+++ b/src/account-server/serverhandler.hpp
@@ -28,6 +28,12 @@
#include "playerdata.hpp"
#include "net/connectionhandler.hpp"
+#include "utils/countedptr.h"
+
+/**
+ * Type definition for a smart pointer to PlayerData.
+ */
+typedef utils::CountedPtr< PlayerData > PlayerPtr;
/**
* Manages communications with all the game servers. This class also keeps