peerSetGlobalKeys
Set global keys on the local player.
- void peerSetGlobalKeys(
- PEER peer,
- int num,
- const gsi_char ** keys,
- const gsi_char ** values );
Routine | Required Header | Distribution |
---|---|---|
peerSetGlobalKeys | <peer.h> | SDKZIP |
Parameters
- peer
- [in] Initialized peer object.
- num
- [in] Number of keys in the keys array.
- keys
- [in] Array of keys to set values for.
- values
- [in] Array of values to set.
Remarks
The peerSetGlobalKeys function sets global keys on the local player. At least one key must be set. This will fail if the peer object is not connected.
Unicode Mappings
Routine | GSI_UNICODE Not Defined | GSI_UNICODE Defined |
---|---|---|
peerSetGlobalKeys | peerSetGlobalKeysA | peerSetGlobalKeysW |
peerSetGlobalKeysW and peerSetGlobalKeysA are UNICODE and ANSI mapped versions of peerSetGlobalKeys. The arguments of peerSetGlobalKeysA are ANSI strings; those of peerSetGlobalKeysW are wide-character strings.
Section Reference: Gamespy Peer SDK