![]() |
Plasma Engine
2.0
|
Base class for serialization contexts. A serialization context can be used to add high level logic to serialization, e.g. de-duplicating objects. More...
#include <SerializationContext.h>
Public Member Functions | |
void | SetActive (bool bActive) |
Set the context as active which means it can be accessed via GetContext in serialization methods. | |
Base class for serialization contexts. A serialization context can be used to add high level logic to serialization, e.g. de-duplicating objects.
Typically a context is created before any serialization happens and can then be accessed anywhere through the GetContext method.
|
inline |
Set the context as active which means it can be accessed via GetContext in serialization methods.
It can be useful to manually set a context as active if a serialization process is spread across multiple scopes and other serialization can happen in between.