PersistThink

GameSpy SDK

PersistThink

Allows Persistent Storage SDK to continue internal processing including processing query replies. Also tests connection to the stats server.

intĀ PersistThink( );
RoutineRequired HeaderDistribution
PersistThink<gpersist.h>SDKZIP

Return Value

0 if the connection to the stats server is lost, 1 otherwise.

Remarks

You need to call the PersistThink function any time an asynchronous operation is in progress. It will
check for the incoming replies and call the callbacks associated with them as needed. It's recommended that you call this in your main loop at all times while you are connected to the stats server, so that if the stats server disconnects it can be detected immediately.

Section Reference: Gamespy Persistent Storage SDK