Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_WeaponAttachmentsStorageComponentSerializer Interface Reference
Inheritance diagram for SCR_WeaponAttachmentsStorageComponentSerializer:
WeaponAttachmentsStorageComponentSerializer BaseInventoryStorageComponentSerializer 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 void HandleInsertionOrder (inout array< BaseInventoryStorageComponentSerializerSlot > slots)
 
- 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.
 
ESerializeResult Serialize (notnull IEntity owner, notnull GenericComponent component, notnull BaseSerializationSaveContext context)
 Custom implementation for writing the component data into into the save context.
 
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 PersistenceSerializerBase
void Setup ()
 Do any inital configuration of the serializer once it is linked to the system.
 

Additional Inherited Members

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

Member Function Documentation

◆ GetTargetType()

static override TypeName SCR_WeaponAttachmentsStorageComponentSerializer.GetTargetType ( )
static

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

Implements PersistenceSerializerBase.

◆ HandleInsertionOrder()

override void SCR_WeaponAttachmentsStorageComponentSerializer.HandleInsertionOrder ( inout array< BaseInventoryStorageComponentSerializerSlot > slots)
protected

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