Extend this interface on your type to receive notifications about serialization/deserialization events. If you don't have access to the type itself, then you can write an fsObjectProcessor instead.
More...
Extend this interface on your type to receive notifications about serialization/deserialization events. If you don't have access to the type itself, then you can write an fsObjectProcessor instead.
◆ OnAfterDeserialize()
| void FullSerializer.fsISerializationCallbacks.OnAfterDeserialize |
( |
Type | storageType | ) |
|
Called after deserialization.
- Parameters
-
| storageType | The field/property type that is storing the instance. |
| instance | The type of the instance. |
◆ OnAfterSerialize()
| void FullSerializer.fsISerializationCallbacks.OnAfterSerialize |
( |
Type | storageType, |
|
|
ref fsData | data ) |
Called after serialization.
- Parameters
-
| storageType | The field/property type that is storing the instance. |
| data | The data that was serialized. |
◆ OnBeforeDeserialize()
| void FullSerializer.fsISerializationCallbacks.OnBeforeDeserialize |
( |
Type | storageType, |
|
|
ref fsData | data ) |
Called before deserialization.
- Parameters
-
| storageType | The field/property type that is storing the instance. |
| data | The data that will be used for deserialization. |
The documentation for this interface was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Tracking/JSON Serializer/Source/fsISerializationCallbacks.cs