C4 Engine
C4 Engine API Documentation

Configurable::EndConfigurationCommit

Defined in:  C4Configurable.h
Called when the settings for a configurable object have finished being updated.
Prototype

virtual void EndConfigurationCommit(void *cookie);

Parameters
cookie The pointer previously returned by the Configurable::BeginConfigurationCommit function.
Description
The EndConfigurationCommit function is called right after the settings for a configurable object are updated through calls to the Configurable::CommitSetting function. Before any of the settings are updated, the Configurable::BeginConfigurationCommit function is called. Implementing this pair of functions allows an object to take specific actions when it is being reconfigured by the user in the World Editor.

The cookie parameter holds the pointer that the implementation previously returned from the BeginConfigurationCommit function. If the implementation allocated memory in the BeginConfigurationCommit function and returned a pointer to it, then that memory should be released before the EndConfigurationCommit function returns.
See Also

Configurable::BeginConfigurationCommit

Configurable::CommitSetting