FreeGame

GameSpy SDK

FreeGame

Frees a game and its associated structures (including buckets).

void FreeGame(
statsgame_t game );
RoutineRequired HeaderDistribution
FreeGame<gstats.h>SDKZIP

Parameters

game
[in] The game you want to free. If NULL, uses most recently created game.

Remarks

You should send a final snapshot for the game (using SendGameSnapShot with SNAP_FINAL) before freeing the game.

Section Reference: Gamespy Stats and Tracking SDK

See Also: SendGameSnapShot