CDefObjInfoHandler.h 442 B

12345678910111213141516171819202122232425
  1. #ifndef COBJINFOECTHANDLER_H
  2. #define COBJINFOECTHANDLER_H
  3. #include <vector>
  4. struct DefObjInfo
  5. {
  6. std::string defName;
  7. int priority;
  8. int type, subtype;
  9. int objType;
  10. unsigned char visitMap[6];
  11. unsigned char blockMap[6];
  12. bool operator==(const std::string & por) const;
  13. bool isVisitable() const;
  14. };
  15. class CDefObjInfoHandler
  16. {
  17. public:
  18. std::vector<DefObjInfo> objs;
  19. void load();
  20. };
  21. #endif //COBJINFOECTHANDLER_H