Chat SDK Callbacks

GameSpy SDK

Chat SDK Callbacks

chatAuthenticateCDKeyCallback

Called when chatAuthenticateCDKey and attempt to authenticate the CD-Key is finished.

chatBroadcastKeyChanged

Called when a player changes a broadcast key in a channel the local player is in

chatChangeNickCallback

Callback for chatChangeNick when a player changes his/her nick.

chatChannelMessage

Used in conjunction with chatEnterChannel; called when a message is received in the channel.

chatChannelModeChanged

Used in conjunction with chatEnterChannel; called when the mode of a user in the channel changes.

chatConnectCallback

Called when a chatConnect* attempt is made

chatDisconnected

Called when a disconnection occurs.

chatEnterChannelCallback

Called when an attempt to enter the channel has completed

chatEnumChannelBansCallback

Called after an attempt to enumerate channel bans.

chatEnumChannelsCallbackAll

Called when an attempt to enumerate all the channels is complete

chatEnumChannelsCallbackEach

Called after an attempt to enumerate each channel.

chatEnumJoinedChannelsCallback

Called after an attempt to enumerate joined channels.

chatEnumUsersCallback

Called after an attempt to enumerate the users in a channel

chatFillInUserCallback

Used in conjuction with the chatConnectSpecial and chatConnectSecure functions; called to fill in the user field after the actual network connection to the chat server has been made.

chatGetBasicUserInfoCallback

Called after an attempt to get basic information on a user

chatGetChannelBasicUserInfoCallback

Called when an attempt to get everyone's basic user info is made.

chatGetChannelKeysCallback

Called after an attempt to get the channel keys or user(s) keys

chatGetChannelModeCallback

Called after an attempt to get the channel mode.

chatGetChannelPasswordCallback

Called after an attempt to get the channel's password.

chatGetChannelTopicCallback

Called after an attempt to get the channel's topic.

chatGetGlobalKeysCallback

Called after an attempt to get the global keys for the user(s).

chatGetUserInfoCallback

Called after an attempt to get user information.

chatGetUserModeCallback

Called after an attempt to get the user's mode

chatInvited

Used in conjunction with the chatConnect functions; called when the local user gets invited to a channel.

chatKicked

Used in conjunction with chatEnterChannel; called when the local user gets kicked from the channel.

chatNewUserList

Used in conjunction with chatEnterChannel; Called when the chat server sends an entire new user list for a channel we're in.

chatNickErrorCallback

Used in conjuction with the chatConnect functions; called if there was an error with the provided nickname.

chatPrivateMessage

Used in conjunction with the chatConnect functions; called when a message is received from another user.

chatRaw

Used in conjunction with the chatConnect functions; all raw incoming network traffic gets passed to this function.

chatTopicChanged

Used in conjunction with chatEnterChannel; called when the channel topic changes.

chatUserChangedNick

Used in conjunction with chatEnterChannel; called when a user in the channel changes their nickname.

chatUserJoined

Used in conjunction with chatEnterChannel; called when a user joins the channel.

chatUserListUpdated

Used in conjunction with chatEnterChannel; called when the channel’s user list changes.

chatUserModeChanged

Used in conjunction with chatEnterChannel; called when the mode of a user in the channel changes.

chatUserParted

Used in conjunction with chatEnterChannel; called when a user parts the channel.