Main Page | Modules | Class List | File List | Class Members | File Members

GSCDKeyInterface.h File Reference

Interface ubi.com's cd key validation library. More...

#include "GSCDKeyDefines.h"
#include "GSCDKeyCallbacks.h"

Go to the source code of this file.

Functions

GShandle GSCDKey_Initialize (GSushort usPort)
 Initialize the cd key library.

GSvoid GSCDKey_Uninitialize (GShandle pGSCDKeyHandle=0)
 Uinitialize a cd key handle or the whole library.

GSbool GSCDKey_Engine (GShandle pGSCDKeyHandle, GSuint uiMaxDelay=500)
 Message pump.

GSCDKeyRequest GSCDKey_ValidateUser (GShandle pGSCDKeyHandle, PVALIDATION_SERVER_INFO psValidationServerInfo, GSubyte *pucAuhorizationID, GSchar *szGameName, GSushort usTimeout=3)
 Ask the validation server for a validation status of a player.

GSCDKeyRequest GSCDKey_DisconnectUser (GShandle pGSCDKeyHandle, PVALIDATION_SERVER_INFO psValidationServerInfo, GSubyte *pucAuhorizationID)
 Inform the validation server that a player has disconnected.

GSCDKeyRequest GSCDKey_PlayerStatusReply (GShandle pGSCDKeyHandle, PVALIDATION_SERVER_INFO psValidationServerInfo, GSubyte *pucAuhorizationID, CDKEY_PLAYER_STATUS eStatus)
 Inform the validation server of a player status.

GSCDKeyRequest GSCDKey_RequestActivation (GShandle pGSCDKeyHandle, PVALIDATION_SERVER_INFO psValidationServerInfo, PACTIVATION_INFO psActivationInfo, GSushort usTimeout=6)
 Request cd key activation id for futur authorization request (called once).

GSCDKeyRequest GSCDKey_RequestAuthorization (GShandle pGSCDKeyHandle, PVALIDATION_SERVER_INFO psValidationServerInfo, PVALIDATION_INFO psValidationInfo, GSushort usTimeout=3)
 Send a authorization request to the validation server.


Detailed Description

This interface provides game server and game client functionality to activate and validate a user's cd key.

Ubi.com GameService SDK - ©UbiSoft Entertainment 2002
GameService development team