ISolpackApp::CreateGameData Method
Creates and returns an object to store game-specific variable data.
Syntax:
HRESULT CreateGameData(
ISolpackGameData **ppGameData
);
Parameters:
- ppGameData
- Address of a pointer to the ISolpackGameData interface of the new GameData object.
Return Value:
Returns S_OK if successful, or an error value otherwise.
Remarks:
All game-specific data which may vary throughout the course of a game must be stored in GameData objects. This enables
Solpack to support Undo and Redo operations without any additional participation of the game object.
|