Delegate HexTerrainSerializer.CustomSerializerCallback
If you want to serialize a custom component or implement a custom serialization logic for standard components,
provide this callback to the serializer.
Serializer will call this callback and if the callback returns true, serializer will not try to serialize a component by itself,
assuming you have already done it.
Assembly: fwt.hexterrains.dll
Syntax
public delegate bool HexTerrainSerializer.CustomSerializerCallback(BinaryWriter writer, object componentObject)
Parameters
| Type |
Name |
Description |
| BinaryWriter |
writer |
If you want to serialize a custom component or implement a custom serialization logic for standard components, provide this callback to the serializer. Serializer will call this callback and if the callback returns true, serializer will not try to serialize a component by itself, assuming you have already done it. |
| object |
componentObject |
If you want to serialize a custom component or implement a custom serialization logic for standard components, provide this callback to the serializer. Serializer will call this callback and if the callback returns true, serializer will not try to serialize a component by itself, assuming you have already done it. |
Returns
Extension Methods