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

# Game server callback

Game server callback. More...

## Typedefs
typedef GSvoid(* | CBCDKey_RcvValidationResponse )(PREPLY_INFORMATION psReplyInfo, PVALIDATION_SERVER_INFO psValidationServerInfo, GSubyte *pucAuhorizationID, CDKEY_PLAYER_STATUS eStatus, GSubyte *pucGlobalID)
| Received a validation status for a player from the validation server.
typedef GSvoid(* | CBCDKey_RcvPlayerStatusRequest )(PVALIDATION_SERVER_INFO psValidationServerInfo, GSubyte *pucAuhorizationID)
| Receive a player status request from the validation server.

## Detailed Description

These callback function are used by the game server to process response to queries sent to or by the validation server

## Typedef Documentation

typedef GSvoid( * CBCDKey_RcvPlayerStatusRequest)(PVALIDATION_SERVER_INFO psValidationServerInfo, GSubyte *pucAuhorizationID)

  | Description: This callback will be called whenever the game server receives a player status request from the validation server. The game server should then respond to this query with the function GSCDKey_PlayerStatusReply to inform the validation server of the player status. The status should be E_PLAYER_UNKNOWN if the player is not on the game server at the moment of the request. Parameters:
  psValidationServerInfo | Validation server information from where the response came
  pucAuhorizationID | The authorization id of the concerned player

typedef GSvoid( * CBCDKey_RcvValidationResponse)(PREPLY_INFORMATION psReplyInfo, PVALIDATION_SERVER_INFO psValidationServerInfo,GSubyte *pucAuhorizationID,CDKEY_PLAYER_STATUS eStatus,GSubyte *pucGlobalID)

  | Description: This callback will be called whenever the game server receives a validation status for a player after having sent a validation status query to the validation server. It will inform the game server of the player validation status so that the game server can choose to keep or disconnect the user. Parameters:
  psReplyInfo | Pointer to a reply information structure that contains request id and status
  psValidationServerInfo | Validation server information from where the response came
  pucAuhorizationID | The authorization id in the query
  eStatus | The validation status of the player
  pucGlobalID | The unique global identifier of the CDKey

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