mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Advance Logical identifier condition
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "../JsonNode.h"
|
||||
|
||||
|
||||
//JsonStructSerializer
|
||||
JsonStructSerializer::JsonStructSerializer(JsonStructSerializer&& other):
|
||||
restoreState(false),
|
||||
@@ -48,7 +49,6 @@ JsonStructSerializer::JsonStructSerializer(JsonStructSerializer & parent, const
|
||||
owner.current = thisNode;
|
||||
}
|
||||
|
||||
|
||||
JsonStructSerializer JsonStructSerializer::enterStruct(const std::string & fieldName)
|
||||
{
|
||||
return JsonStructSerializer(*this, fieldName);
|
||||
@@ -64,6 +64,14 @@ JsonSerializeFormat * JsonStructSerializer::operator->()
|
||||
return &owner;
|
||||
}
|
||||
|
||||
JsonSerializeFormat::LIC::LIC(const std::vector<bool> & Standard, const TDecoder & Decoder, const TEncoder & Encoder):
|
||||
standard(Standard), decoder(Decoder), encoder(Encoder)
|
||||
{
|
||||
any = standard;
|
||||
all.resize(standard.size(), false);
|
||||
none.resize(standard.size(), false);
|
||||
}
|
||||
|
||||
|
||||
//JsonSerializeFormat
|
||||
JsonSerializeFormat::JsonSerializeFormat(JsonNode & root_, const bool saving_):
|
||||
|
||||
Reference in New Issue
Block a user