mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-24 00:36:29 +02:00
Creature set serialization
This commit is contained in:
@@ -135,10 +135,12 @@ CBonusSystemNode * CArmedInstance::whatShouldBeAttached()
|
||||
|
||||
void CArmedInstance::writeJsonOptions(JsonNode& json) const
|
||||
{
|
||||
|
||||
CGObjectInstance::writeJsonOptions(json);
|
||||
CCreatureSet::writeJson(json);
|
||||
}
|
||||
|
||||
void CArmedInstance::readJsonOptions(const JsonNode& json)
|
||||
{
|
||||
|
||||
CGObjectInstance::readJsonOptions(json);
|
||||
CCreatureSet::readJson(json);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user