gcd_getkeyhash
Returns the key hash for the given user.
- char * gcd_getkeyhash(
- int gameid,
- int localid );
Routine | Required Header | Distribution |
---|---|---|
gcd_getkeyhash | <gcdkeys.h> | SDKZIP |
Return Value
Returns the key hash string, or an empty string if that user is not connected.
Parameters
- gameid
- [in] The game ID issued for your game.
- localid
- [in] The unique int used to identify the user.
Remarks
The hash returned will always be the same for a given user. This makes it useful for banning or tracking of users (used with the Tracking/Stats SDK).
Section Reference: Gamespy CDKey SDK