src/ai/api/ai_abstractlist.hpp
branchnoai
changeset 9752 bd87e54186f2
parent 9681 3997f1ce203a
child 9772 c1035f0ac732
equal deleted inserted replaced
9751:556f25efbc54 9752:bd87e54186f2
    24 
    24 
    25 private:
    25 private:
    26 	AIAbstractListSorter *sorter;
    26 	AIAbstractListSorter *sorter;
    27 	SorterType sorter_type;
    27 	SorterType sorter_type;
    28 	bool sort_ascending;
    28 	bool sort_ascending;
       
    29 	bool initialized;
    29 
    30 
    30 public:
    31 public:
    31 	typedef std::set<int32> AIItemList;               ///< The list of items inside the bucket
    32 	typedef std::set<int32> AIItemList;               ///< The list of items inside the bucket
    32 	typedef std::map<int32, AIItemList> AIAbstractListBucket; ///< The bucket list per value
    33 	typedef std::map<int32, AIItemList> AIAbstractListBucket; ///< The bucket list per value
    33 	typedef std::map<int32, int32> AIAbstractListMap;         ///< List per item
    34 	typedef std::map<int32, int32> AIAbstractListMap;         ///< List per item