Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
ScriptedComponentSerializer.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
12class ScriptedComponentSerializer: PersistenceSerializerBase
13{
14 /*
15 Select when the deserialization should happen. Can be applied early to make the data available before default creation logic in OnPostInit or EOnInit
16 Called once and return value is cached for all serializer instances of this type!
17 */
18 static event EComponentDeserializeEvent GetDeserializeEvent()
19 {
20 return EComponentDeserializeEvent.AFTER_ENTITY_FINALIZE;
21 }
22
24 proto external protected ESerializeResult SerializeNative(notnull IEntity owner, notnull GenericComponent component, notnull SaveContext context, ESerializeMode mode = ESerializeMode.NATIVE);
26 proto external protected bool DeserializeNative(notnull IEntity owner, notnull GenericComponent component, notnull LoadContext context, ESerializeMode mode = ESerializeMode.NATIVE);
27
28 // callbacks
29
34 event protected ESerializeResult Serialize(notnull IEntity owner, notnull GenericComponent component, notnull SaveContext context) { return SerializeNative(owner, component, context); };
39 event protected bool Deserialize(notnull IEntity owner, notnull GenericComponent component, notnull LoadContext context) { return DeserializeNative(owner, component, context); };
40}
41
ESerializeResult Serialize(notnull IEntity owner, notnull GenericComponent component, notnull SaveContext context)
ESerializeResult SerializeNative(notnull IEntity owner, notnull GenericComponent component, notnull SaveContext context, ESerializeMode mode=ESerializeMode.NATIVE)
Native serialization logic used by the game. Can be called by scripts before or after custom data or ...
bool Deserialize(notnull IEntity owner, notnull GenericComponent component, notnull LoadContext context)
bool DeserializeNative(notnull IEntity owner, notnull GenericComponent component, notnull LoadContext context, ESerializeMode mode=ESerializeMode.NATIVE)
Native deserialization logic used by the game. Can be called by scripts before or after custom data o...
ESerializeResult
ESerializeMode