diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:51:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:52:16 +0300 |
commit | 3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch) | |
tree | 80a4303b29aafa21683e90e45798283a482bf1d1 /src/playerrelations.h | |
parent | 7f607a0f58a9eba53237955c06bf445c71d57b6c (diff) | |
download | manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2 manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip |
Replace vectors with strings to short names.
Diffstat (limited to 'src/playerrelations.h')
-rw-r--r-- | src/playerrelations.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/playerrelations.h b/src/playerrelations.h index 143a82477..91f5c2e9e 100644 --- a/src/playerrelations.h +++ b/src/playerrelations.h @@ -23,10 +23,10 @@ #ifndef PLAYER_RELATIONS_H #define PLAYER_RELATIONS_H +#include "utils/stringvector.h" + #include <list> #include <map> -#include <string> -#include <vector> class Being; @@ -200,10 +200,9 @@ class PlayerRelationsManager * Retrieves a sorted vector of all players for which we have any * relations recorded. */ - std::vector<std::string> *getPlayers(); + StringVect *getPlayers(); - std::vector<std::string> *getPlayersByRelation(PlayerRelation::Relation - rel); + StringVect *getPlayersByRelation(PlayerRelation::Relation rel); /** * Removes all recorded player info. |