Improve e7016564b1 to reduce recompilation on commit changes
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
#include "Engine/Core/Collections/Dictionary.h"
|
||||
#include "Engine/Core/Types/Guid.h"
|
||||
#include "FlaxEngine.Gen.h"
|
||||
|
||||
/// <summary>
|
||||
/// Object serialization modification base class. Allows to extend the serialization process by custom effects like object ids mapping.
|
||||
@@ -12,17 +11,18 @@
|
||||
class FLAXENGINE_API ISerializeModifier
|
||||
{
|
||||
public:
|
||||
|
||||
/// <summary>
|
||||
/// Number of engine build when data was serialized. Useful to upgrade data from the older storage format.
|
||||
/// </summary>
|
||||
uint32 EngineBuild = FLAXENGINE_VERSION_BUILD;
|
||||
uint32 EngineBuild;
|
||||
|
||||
// Utility for scene deserialization to track currently mapped in Prefab Instance object IDs into IdsMapping.
|
||||
int32 CurrentInstance = -1;
|
||||
int32 CurrentInstance;
|
||||
|
||||
/// <summary>
|
||||
/// The object IDs mapping. Key is a serialized object id, value is mapped value to use.
|
||||
/// </summary>
|
||||
Dictionary<Guid, Guid> IdsMapping;
|
||||
|
||||
ISerializeModifier();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user