Build viewer/editor #13
1 changed files with 9 additions and 2 deletions
|
@ -121,10 +121,17 @@ auto MapPropertySerialiser::serialiseProperty(UnrealPropertyBase::ptr& prop, Uns
|
||||||
}
|
}
|
||||||
|
|
||||||
for(auto& value : pair.values) {
|
for(auto& value : pair.values) {
|
||||||
|
if(map_prop->valueType == "StructProperty") {
|
||||||
if(!serialiser.write(value, dummy_bytes_written, writer)) {
|
if(!serialiser.write(value, dummy_bytes_written, writer)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
if(!serialiser.writeItem(value, map_prop->valueType, dummy_bytes_written, writer)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bytes_written += (writer.arrayPosition() - value_start);
|
bytes_written += (writer.arrayPosition() - value_start);
|
||||||
|
|
Loading…
Reference in a new issue