1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Rename toJson to toString/toCompactString for consistency

This commit is contained in:
Ivan Savenko
2024-02-12 01:22:16 +02:00
parent a2b8eaf7fb
commit 54796c7c56
22 changed files with 45 additions and 36 deletions

View File

@@ -23,7 +23,7 @@ struct Bonus;
struct Component;
class CStackBasicDescriptor;
class DLL_LINKAGE JsonRandom : public GameCallbackHolder
class JsonRandom : public GameCallbackHolder
{
public:
using Variables = std::map<std::string, int>;
@@ -46,7 +46,7 @@ private:
public:
using GameCallbackHolder::GameCallbackHolder;
struct DLL_LINKAGE RandomStackInfo
struct RandomStackInfo
{
std::vector<const CCreature *> allowedCreatures;
si32 minAmount;