summaryrefslogtreecommitdiff
path: root/src/account-server/serverhandler.hpp
diff options
context:
space:
mode:
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