CDefObjInfoHandler.h 414 B

123456789101112131415161718192021222324
  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. };
  14. class CDefObjInfoHandler
  15. {
  16. public:
  17. std::vector<DefObjInfo> objs;
  18. void load();
  19. };
  20. #endif //COBJINFOECTHANDLER_H