C4 Engine
C4 Engine API Documentation

Packable::EndConfigurationUnpack

Defined in:  C4Packing.h
Notifies an object that its settings have finished being unpacked as part of a restoration operation.
Prototype

virtual void EndConfigurationUnpack(void *cookie);

Parameters
cookie The pointer returned by the Packable::BeginConfigurationUnpack function.
Description
The EndConfigurationUnpack function is called right after an object has had its settings unpacked as part of a restoration operation such as an undo command. This function is not called after an object is unpacked as it is being loaded from a resource file. An implementation of the EndConfigurationUnpack function can do whatever is necessary to clean up after settings have been restored. The cookie parameter contains the pointer that was previously returned by the implementation of the Packable::BeginConfigurationUnpack function. It is not a requirement that the EndConfigurationUnpack function be implemented whenever the BeginConfigurationUnpack function is implemented.
See Also

Packable::BeginConfigurationUnpack

Packable::Pack

Packable::Unpack