summaryrefslogtreecommitdiff
path: root/src/game-server/attributemanager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/attributemanager.hpp')
-rw-r--r--src/game-server/attributemanager.hpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/game-server/attributemanager.hpp b/src/game-server/attributemanager.hpp
index 0afac022..c5f1d870 100644
--- a/src/game-server/attributemanager.hpp
+++ b/src/game-server/attributemanager.hpp
@@ -60,10 +60,15 @@ class AttributeManager
const std::string *getTagFromInfo(unsigned int, unsigned int) const;
private:
- // attribute id -> { modifiable, { stackable type, effect type }[] }
- typedef std::map< int, std::pair< bool, std::vector<struct AttributeInfoType> > > AttributeMap;
+ // modifiable, { stackable type, effect type }[]
+ typedef std::pair< bool,
+ std::vector<struct AttributeInfoType> > AttributeInfoMap;
+
+ // Attribute id -> { modifiable, { stackable type, effect type }[] }
+ typedef std::map< int, AttributeInfoMap > AttributeMap;
// tag name -> { attribute id, layer }
- typedef std::map< std::string, std::pair<unsigned int, unsigned int> > TagMap;
+ typedef std::map< std::string,
+ std::pair<unsigned int, unsigned int> > TagMap;
// being type id -> (*{ stackable type, effect type })[]
AttributeScopes mAttributeScopes[ATTR_MAX];