Main Page | Modules | Class List | File List | Class Members | File Members

GSLobbyCB.h File Reference

Callback functions for the lobby service. More...

#include "GSTypes.h"
#include "LadderDefines.h"

Go to the source code of this file.

Typedefs

typedef GSvoid(* CBLobbyRcv_LoginReply )(GSubyte ubType, GSint iReason)
 Receive status of the login request.

typedef GSvoid(* CBLobbyRcv_LobbyDisconnection )(GSint iLobbySrvID)
 Client as been disconnected from lobby server.

typedef GSvoid(* CBLobbyRcv_LobbyDisconnectAll )()
 Client as been disconnected from lobby server.

typedef GSvoid(* CBLobbyRcv_CreateRoomReply )(GSubyte ubType, GSint iReason, GSchar *szRoom, GSint iGroupID, GSint iLobbySrvID)
 Receive status of the create room request.

typedef GSvoid(* CBLobbyRcv_NewRoom )(GSshort sGroupType, GSchar *szGroupName, GSint iGroupID, GSint iLobbySrvID, GSint iParentID, GSint iConfig, GSshort sGroupLevel, GSchar *szMaster, GSchar *szAllowedGames, GSchar *szGames, GSchar *szGameVersion, GSchar *szGSVersion, GSvoid *vpInfo, GSint iSize, GSuint uiMaxPlayer, GSuint uiNbrPlayer, GSuint uiMaxVisitor, GSuint uiNbrVisitor, GSchar *szIPAddress, GSchar *szAltIPAddress, GSint iEventID)
 Receive a message informing of a newly created room.

typedef GSvoid(* CBLobbyRcv_NewLobby )(GSshort sGroupType, GSchar *szGroupName, GSint iGroupID, GSint iLobbySrvID, GSint iParentID, GSint iConfig, GSshort siGroupLevel, GSchar *szMaster, GSchar *szAllowedGames, GSchar *szGames, GSvoid *vpInfo, GSint iSize, GSuint uiMaxMember, GSuint uiNbrMember, GSint iEventID)
 Receive a message informing of a newly created lobby.

typedef GSvoid(* CBLobbyRcv_RoomInfo )(GSshort sGroupType, GSchar *szGroupName, GSint iGroupID, GSint iLobbySrvID, GSint iParentID, GSint iConfig, GSshort sGroupLevel, GSchar *szMaster, GSchar *szAllowedGames, GSchar *szGames, GSchar *szGameVersion, GSchar *szGSVersion, GSvoid *vpInfo, GSint iSize, GSuint uiMaxPlayer, GSuint uiNbrPlayer, GSuint uiMaxVisitor, GSuint uiNbrVisitor, GSchar *szIPAddress, GSchar *szAltIPAddress, GSint iEventID)
 Receive a message about updated room infomations.

typedef GSvoid(* CBLobbyRcv_LobbyInfo )(GSshort siGroupType, GSchar *szGroupName, GSint iGroupID, GSint iLobbySrvID, GSint iParentID, GSint iConfig, GSshort siGroupLevel, GSchar *szMaster, GSchar *szAllowedGames, GSchar *szGames, GSvoid *vpInfo, GSint iSize, GSuint uiMaxMember, GSuint uiNbrMember, GSint iEventID)
 Receive a message about updated room infomations.

typedef GSvoid(* CBLobbyRcv_GroupInfoGet )(GSubyte ubType, GSint iLobbyID, GSint iRoomID)
 Received when a call to LobbySend_GroupInfoGet fails.

typedef GSvoid(* CBLobbyRcv_GroupRemove )(GSint iGroupID, GSint iLobbySrvID)
 Receive a indication that a group as been removed.

typedef GSvoid(* CBLobbyRcv_JoinRoomReply )(GSubyte ubType, GSint iReason, GSchar *szReason, GSint iGroupID, GSint iLobbySrvID)
 Receive status of the join room request.

typedef GSvoid(* CBLobbyRcv_JoinLobbyReply )(GSubyte ubType, GSint iReason, GSchar *szReason, GSint iGroupID, GSint iLobbySrvID)
 Receive status of the join lobby request.

typedef GSvoid(* CBLobbyRcv_MemberJoined )(GSchar *szUsername, GSbool bVisitor, GSint *piGroupID, GSushort usNbGroups, GSint iLobbySrvID, GSchar *szIPAddress, GSchar *szAltIPAddress, GSushort usPing, GSvoid *vpPlayerData, GSint iPlayerDataSize, GSbool bJoin, GSushort usPlayerStatus)
 Receive a message informaing of a new member.

typedef GSvoid(* CBLobbyRcv_MemberLeave )(GSchar *szUsername, GSint iGroupID, GSint iLobbySrvID)
 Receive a message informaing member leaving a group.

typedef GSvoid(* CBLobbyRcv_StartMatchReply )(GSubyte ubType, GSint iReason, GSint iGroupID, GSint iLobbySrvID)
 Receive status of the start match request.

typedef GSvoid(* CBLobbyRcv_MasterChanged )(GSint iGroupID, GSint iLobbySrvID, GSchar *szUsername, GSchar *szIPAddress, GSchar *szAltIPAddress)
 Receive a member join message.

typedef GSvoid(* CBLobbyRcv_MasterNewReply )(GSubyte ubType, GSint iReason, GSchar *szUsername, GSint iGroupID, GSint iLobbyServerID)
 Receive a member join message.

typedef GSvoid(* CBLobbyRcv_MatchFinishReply )(GSubyte ubType, GSint iReason, GSint iGroupID, GSint iLobbySrvID)
 Receive a member join message.

typedef GSvoid(* CBLobbyRcv_PlayerKickReply )(GSubyte ubType, GSint iReason, GSchar *szUsername, GSint iGroupID, GSint iLobbyServerID)
 Receive a PlayerKick message.

typedef GSvoid(* CBLobbyRcv_KickOut )(GSint iGroupID, GSint iLobbySrvID, GSchar *szReason)
 Receive a KickOut message.

typedef GSvoid(* CBLobbyRcv_ParentGroupIDReply )(GSubyte ubType, GSint iReason, GSint iGroupID, GSint iLobbySrvID, GSint iParentGroupID)
 Receive a ParentGroupID message.

typedef GSvoid(* CBLobbyRcv_GetAlternateGroupInfoReply )(GSubyte ubType, GSint iReason, const GSvoid *pcAltGroupInfo, GSint iAltGroupInfoSize, GSint iGroupID, GSint iLobbyServerID)
 Receive a ParentGroupID message.

typedef GSvoid(* CBLobbyRcv_GroupLeaveReply )(GSubyte ubType, GSint iReason, GSint iGroupID, GSint iLobbySrvID)
 Receive a GroupLeave message.

typedef GSvoid(* CBLobbyRcv_GroupConfigUpdate )(GSint iGroupID, GSint iLobbySrvID, GSint iFlags)
 Receive a GroupConfigUpdate message.

typedef GSvoid(* CBLobbyRcv_MatchStarted )(GSint iGroupID, GSint iLobbyServerID, GSuint uiMatchID)
 Receive a MatchStarted message.

typedef GSvoid(* CBLobbyRcv_UpdateRoomConfigReply )(GSubyte ubType, GSint iReason, GSint iGroupID, GSint iLobbyServerID)
 Receive a GroupConfigUpdateResult message.

typedef GSvoid(* CBLobbyRcv_SubmitMatchResultReply )(GSubyte ubType, GSint iReason, GSint iMatchID)
 Receive a SubmitMatchResult message.

typedef GSvoid(* CBLobbyRcv_UpdatePing )(GSint iGroupID, GSint iLobbyServerID, GSchar *szUsername, GSushort usPing)
 Receive a UpdatePing message.

typedef GSvoid(* CBLobbyRcv_StartGameReply )(GSubyte ubType, GSint iReason, GSint iGroupID, GSint iLobbyServerID)
 Receive a StartGame message.

typedef GSvoid(* CBLobbyRcv_GameReadyReply )(GSubyte ubType, GSint iReason, GSint iGroupID, GSint iLobbyServerID)
 Receive a GameReady message.

typedef GSvoid(* CBLobbyRcv_GameStarted )(GSint iGroupID, GSint iLobbyServerID, GSvoid *vpGameData, GSint iSize, GSchar *szIPAddress, GSchar *szAltIPAddress, GSushort usPort)
 Receive a GameStarted message.

typedef GSvoid(* CBLobbyRcv_NewGameMember )(GSint iGroupID, GSint iLobbyServerID, GSchar *szUsername, GSbool bVisitor)
 Receive a NewGameMember message.

typedef GSvoid(* CBLobbyRcv_UpdateGameInfoReply )(GSubyte ubType, GSint iReason, GSint iGroupID, GSint iLobbyServerID)
 Receive a UpdateGameInfoReply message.

typedef GSvoid(* CBLobbyRcv_PlayerBanReply )(GSubyte ubType, GSint iReason, GSint iGroupID, GSint iLobbyServerID, GSchar *szUsername)
 Receive a PlayerBanReply message.

typedef GSvoid(* CBLobbyRcv_PlayerUnBanReply )(GSubyte ubType, GSint iReason, GSint iGroupID, GSint iLobbyServerID, GSchar *szUsername)
 Receive a PlayerUnBanReply message.

typedef GSvoid(* CBLobbyRcv_PlayerBanList )(GSint iGroupID, GSint iLobbyServerID, GSchar *szUsername)
 Receive a PlayerUnBanReply message.

typedef GSvoid(* CBLobbyRcv_PlayerBanned )(GSint iGroupID, GSint iLobbySrvID, GSchar *szReason)
 Receive a PlayerBan message.

typedef GSvoid(* CBLobbyRcv_MatchReady )(GSint iGroupID, GSint iLobbySrvID)
 Receive a MatchReady message.

typedef GSvoid(* CBLobbyRcv_InfoRefresh )(GSint iLobbySrvID)
 Receive a InfoRefresh message telling that it would be good to refresh all group and player related information.

typedef GSvoid(* CBLobbyRcv_SetPlayerInfoReply )(GSubyte ubType, GSint iReason)
 Receive a reply after having sent a request to change player information.

typedef GSvoid(* CBLobbyRcv_PlayerInfoUpdate )(GSchar *szUsername, GSvoid *vpPlayerData, GSint iPlayerDataSize)
 Receive a reply after having sent a request to change player information.

typedef GSvoid(* CBLobbyRcv_PlayerStatusUpdate )(GSchar *szUsername, GSushort usPlayerStatus)
 Receive an update of the player's status.

typedef GSvoid(* CBLobbyRcv_PlayerGroupList )(GSchar *szUsername, GSint iGroupID, GSint iLobbySrvID)
 Receive a message telling that a player is member of a specific group.

typedef GSvoid(* CBLobbyRcv_FinalMatchResults )(GSuint uiMatchId, GSubyte ubType, GSint iReason, const LADDER_ROW *pResults, GSuint uiNumResult)
 Official results of a match.


Detailed Description

This file contains all callback functions declaration for the lobby service.

Ubi.com GameService SDK - ©UbiSoft Entertainment 2002
GameService development team