ILICReader.h 619 B

1234567891011121314151617181920212223
  1. /*
  2. * ILICReader.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include "JsonTreeSerializer.h"
  12. VCMI_LIB_NAMESPACE_BEGIN
  13. class DLL_LINKAGE ILICReader
  14. {
  15. protected:
  16. void readLICPart(const JsonNode & part, const JsonSerializeFormat::TDecoder & decoder, bool val, std::vector<bool> & value) const;
  17. void readLICPart(const JsonNode & part, const JsonSerializeFormat::TDecoder & decoder, std::set<si32> & value) const;
  18. };
  19. VCMI_LIB_NAMESPACE_END