BonusParameters.cpp 539 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * BonusParameters.cpp, 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. #include "StdInc.h"
  11. #include "BonusParameters.h"
  12. #include "../json/JsonNode.h"
  13. VCMI_LIB_NAMESPACE_BEGIN
  14. std::string BonusParameters::toString() const
  15. {
  16. return toJsonNode().toCompactString();
  17. }
  18. JsonNode BonusParameters::toJsonNode() const
  19. {
  20. return JsonNode(); // TODO
  21. }
  22. VCMI_LIB_NAMESPACE_END