deserialise_object


Description:

protected abstract T deserialise_object (Variant variant, uint8 object_version)

Deserialise the given variant to a new instance of an object. The variant is guaranteed to have the type returned by ObjectCache.get_serialised_object_type.

Parameters:

variant

the serialised form to deserialise

object_version

the version of the object format to deserialise from

Returns:

the deserialised object

Since:

0.6.0