chatUserParted
Used in conjunction with chatEnterChannel; called when a user parts the channel.
- typedef void (*chatUserParted)(
- CHAT chat,
- const gsi_char * channel,
- const gsi_char * user,
- int why,
- const gsi_char * reason,
- const gsi_char * kicker,
- void * param );
Routine | Required Header | Distribution |
---|---|---|
chatUserParted | <chat.h> | SDKZIP |
Parameters
- chat
- [in] The initialized chat interface object.
- channel
- [in] The channel the local player is in.
- user
- [in] The nickname of the parting user.
- why
- [in] Code indicating reason user parted.
- reason
- [in] Explanation string.
- kicker
- [in] If reason is "kicked", identifies the kicker.
- param
- [in] Pointer to user data. The same param that was passed to chatEnterChannel through the callbacks structure.
Section Reference: Gamespy Chat SDK
See Also: chatEnterChannel, chatKickUser