Enfusion Script API
|
Base serialization context for loading data back to the game. More...
Public Member Functions | |
proto bool | ReadValue (string name, out void value) |
![]() | |
proto external bool | IsValid () |
proto external void | EnableTypeDiscriminator (string fieldName="$type") |
Type discriminator is used to add polymorph object instance support to the serializer. | |
proto external bool | IsTypeDiscriminatorEnabled () |
proto external bool | StartObject (string name) |
proto external bool | EndObject () |
![]() | |
proto external ref Managed | Clone () |
Return shallow copy of object, or null if it is not allowed (not public constructor) | |
Base serialization context for loading data back to the game.
This class is passed parameter to SerializationBase.SerializeLoad for classes to read data from. It works as an adapter between the game logic and serialized data.