diff options
Diffstat (limited to 'src/account-server/account.hpp')
-rw-r--r-- | src/account-server/account.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/account-server/account.hpp b/src/account-server/account.hpp index a97158a7..e717e118 100644 --- a/src/account-server/account.hpp +++ b/src/account-server/account.hpp @@ -27,6 +27,18 @@ #include "defines.h" #include "playerdata.hpp" +#include "utils/countedptr.h" + +/** + * Type definition for a smart pointer to PlayerData. + */ +typedef utils::CountedPtr< PlayerData > PlayerPtr; + +/** + * Type definition for a list of Players. + */ +typedef std::vector< PlayerPtr > Players; + /** * Notes: |