27 #ifndef __EVE_ATTRIBUTE_MGR__H__INCL__
28 #define __EVE_ATTRIBUTE_MGR__H__INCL__
34 typedef std::map<uint16, EvilNumber>
AttrMap;
61 bool Load(
bool reset=
false);
bool Change(uint16 attrID, EvilNumber &old_val, EvilNumber &new_val)
internal function to handle the change.
void SetAttribute(uint16 attrID, EvilNumber &num, bool notify=true)
void MultiplyAttribute(uint16 attrID, EvilNumber &num, bool notify=false)
bool Add(uint16 attrID, EvilNumber &num)
internal function to handle adding attributes.
AttrMapItr begin()
return the begin iterator of the AttributeMap
this is a class that kinda mimics how python polymorph's numbers.
void DeleteAttribute(uint16 attrID)
itemID[count] Create count or of the specified item(from Insider)" ) COMMAND( goto
EvilNumber GetAttribute(const uint16 attrID) const
void ResetAttribute(uint16 attrID, bool notify=false)
AttrMap::iterator AttrMapItr
bool HasAttribute(const uint16 attrID) const
AttrMap::const_iterator AttrMapConstItr
bool Load(bool reset=false)
std::map< uint16, EvilNumber > AttrMap
AttributeMap(InventoryItem &item)
AttrMapItr end()
return the end iterator of the AttributeMap
void CopyAttributes(std::map< uint16, EvilNumber > &attrMap)
bool SendChanges(PyTuple *attrChange)
queue the attribute changes into the QueueDestinyEvent system.