Enfusion Script API
Loading...
Searching...
No Matches
BaseSerializationSaveContext Interface Reference

Base serialization context for saving data from game. More...

Inheritance diagram for BaseSerializationSaveContext:
BaseSerializationContext Managed ContainerSerializationSaveContext

Public Member Functions

proto bool WriteValue (string name, void value)
 
- Public Member Functions inherited from BaseSerializationContext
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 ()
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Detailed Description

Base serialization context for saving data from game.

It works as an adapter between the game logic and serialized data.

Member Function Documentation

◆ WriteValue()

proto bool BaseSerializationSaveContext.WriteValue ( string name,
void value )

The documentation for this interface was generated from the following file: