Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_AmbientPatrolSpawnPointComponentSerializer Interface Reference
Inheritance diagram for SCR_AmbientPatrolSpawnPointComponentSerializer:
ScriptedComponentSerializer PersistenceSerializerBase

Static Public Member Functions

static override TypeName GetTargetType ()
 Delcare the type this serializer can handle so it can automatically find matching data instances. MUST be implemented!
 
- Static Public Member Functions inherited from ScriptedComponentSerializer
static EComponentDeserializeEvent GetDeserializeEvent ()
 
- Static Public Member Functions inherited from PersistenceSerializerBase
static EDeserializeFailHandling GetDeserializeFailHandling ()
 Optinally override this if a failure in deserialization logic requires the entity/scripted state to be deleted as it would not be useable at all.
 

Protected Member Functions

override ESerializeResult Serialize (notnull IEntity owner, notnull GenericComponent component, notnull BaseSerializationSaveContext context)
 Custom implementation for writing the component data into into the save context.
 
override bool Deserialize (notnull IEntity owner, notnull GenericComponent component, notnull BaseSerializationLoadContext context)
 Custom implementation for deserialzing the component data from the load context.
 
- Protected Member Functions inherited from ScriptedComponentSerializer
proto external ESerializeResult SerializeNative (notnull IEntity owner, notnull GenericComponent component, notnull BaseSerializationSaveContext context, ENativeSerializerMode mode=ENativeSerializerMode.NATIVE)
 Native serialization logic used by the game. Can be called by scripts before or after custom data or not all.
 
proto external bool DeserializeNative (notnull IEntity owner, notnull GenericComponent component, notnull BaseSerializationLoadContext context, ENativeSerializerMode mode=ENativeSerializerMode.NATIVE)
 Native deserialization logic used by the game. Can be called by scripts before or after custom data or not all.
 
- Protected Member Functions inherited from PersistenceSerializerBase
void Setup ()
 Do any inital configuration of the serializer once it is linked to the system.
 

Static Protected Member Functions

static void OnGroupAvailable (Managed instance, PersistenceDeferredDeserializeTask task, bool expired, Managed context)
 
static void OnWaypointAvailable (Managed instance, PersistenceDeferredDeserializeTask task, bool expired, Managed context)
 

Additional Inherited Members

- Public Member Functions inherited from PersistenceSerializerBase
proto external PersistenceSystem GetSystem ()
 Get persistence system the serializer is linked to.
 

Member Function Documentation

◆ Deserialize()

override bool SCR_AmbientPatrolSpawnPointComponentSerializer.Deserialize ( notnull IEntity owner,
notnull GenericComponent component,
notnull BaseSerializationLoadContext context )
protected

Custom implementation for deserialzing the component data from the load context.

Returns
True for success. False for data/state errors which will abort the process and use configured fault handling

Implements ScriptedComponentSerializer.

◆ GetTargetType()

static override TypeName SCR_AmbientPatrolSpawnPointComponentSerializer.GetTargetType ( )
static

Delcare the type this serializer can handle so it can automatically find matching data instances. MUST be implemented!

Implements PersistenceSerializerBase.

◆ OnGroupAvailable()

static void SCR_AmbientPatrolSpawnPointComponentSerializer.OnGroupAvailable ( Managed instance,
PersistenceDeferredDeserializeTask task,
bool expired,
Managed context )
staticprotected

◆ OnWaypointAvailable()

static void SCR_AmbientPatrolSpawnPointComponentSerializer.OnWaypointAvailable ( Managed instance,
PersistenceDeferredDeserializeTask task,
bool expired,
Managed context )
staticprotected

◆ Serialize()

override ESerializeResult SCR_AmbientPatrolSpawnPointComponentSerializer.Serialize ( notnull IEntity owner,
notnull GenericComponent component,
notnull BaseSerializationSaveContext context )
protected

Custom implementation for writing the component data into into the save context.

Returns
True for success. False for data/state errors which will abort the process and use configured fault handling

Implements ScriptedComponentSerializer.


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