chatRegisterUniqueNick
Registers a unique nick to the local client and cdkey.
- void chatRegisterUniqueNick(
- CHAT chat,
- int namespaceID,
- const gsi_char * uniquenick,
- const gsi_char * cdkey );
Routine | Required Header | Distribution |
---|---|---|
chatRegisterUniqueNick | <chat.h> | SDKZIP |
Parameters
- chat
- [in] Chat SDK object, previously initialized using one of the chatConnect methods.
- namespaceID
- [in] ID of the namespace community. Assigned by GameSpy.
- uniquenick
- [in] Nickname being registered.
- cdkey
- [in] User's CD key; this uniquely identifies the account.
Remarks
The chatRegisterUniqueNick function should be used in response to a chatNickErrorCallback. This function requests that a specified unique nick be associated with the local client and cdkey. If an error occurs, another chatNickErrorCallback will be trigged. Take care that this does not result in an infinite loop.
Unicode Mappings
Routine | GSI_UNICODE Not Defined | GSI_UNICODE Defined |
---|---|---|
chatRegisterUniqueNick | chatRegisterUniqueNickA | chatRegisterUniqueNickW |
chatRegisterUniqueNickW and chatRegisterUniqueNickA are UNICODE and ANSI mapped versions of chatRegisterUniqueNick. The arguments of chatRegisterUniqueNickA are ANSI strings; those of chatRegisterUniqueNickW are wide-character strings.
Section Reference: Gamespy Chat SDK