Delegate HexTerrainSerializer.CustomDeserializerCallback
If you want to deserialize a custom component or implement a custom deserialization logic for standard components,
provide this callback to the serializer.
Deserializer will call this callback and if the callback returns true, serializer will not try to deserialize a component by itself,
assuming you have already done it.
Assembly: fwt.hexterrains.dll
Syntax
public delegate bool HexTerrainSerializer.CustomDeserializerCallback(BinaryReader reader, Type componentType, HexTerrainSettings terrainSettings)
Parameters
| Type |
Name |
Description |
| BinaryReader |
reader |
If you want to deserialize a custom component or implement a custom deserialization logic for standard components, provide this callback to the serializer. Deserializer will call this callback and if the callback returns true, serializer will not try to deserialize a component by itself, assuming you have already done it. |
| Type |
componentType |
If you want to deserialize a custom component or implement a custom deserialization logic for standard components, provide this callback to the serializer. Deserializer will call this callback and if the callback returns true, serializer will not try to deserialize a component by itself, assuming you have already done it. |
| HexTerrainSettings |
terrainSettings |
If you want to deserialize a custom component or implement a custom deserialization logic for standard components, provide this callback to the serializer. Deserializer will call this callback and if the callback returns true, serializer will not try to deserialize a component by itself, assuming you have already done it. |
Returns
Extension Methods