Home
   Home  |  Preliminary Docs  |  Design Diagrams  |  Reference  |  Development Docs  |  Download  |  Source Code  |  Final Reports  |
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.

  February 24, 2002 jmhoersc@mtu.edu