mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Drafts for hero serialization
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "mapObjects/MapObjects.h"
|
||||
#include "NetPacksBase.h"
|
||||
#include "GameConstants.h"
|
||||
#include "StringConstants.h"
|
||||
#include "CRandomGenerator.h"
|
||||
|
||||
#include "mapObjects/CObjectClassesHandler.h"
|
||||
@@ -1258,3 +1259,13 @@ void CArtifactSet::artDeserializationFix(CBonusSystemNode *node)
|
||||
if(elem.second.artifact && !elem.second.locked)
|
||||
node->attachTo(elem.second.artifact);
|
||||
}
|
||||
|
||||
void CArtifactSet::writeJson(JsonNode& json) const
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CArtifactSet::readJson(const JsonNode& json)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user