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

# GSLobbyCB.h

Go to the documentation of this file.

    00001
    00002 //****************************************************************************
    00003 //*   Author:  Guillaume Plante  <gsdevteam@ubisoft.com>
    00004 //*   Date:       2001-09-20
    00011 //****************************************************************************
    00012
    00013 #ifndef _GSLOBBYCB_H_
    00014 #define _GSLOBBYCB_H_
    00015
    00016 #include "GSTypes.h"
    00017 #include "LadderDefines.h"
    00018
    00019 #ifdef __cplusplus
    00020 class clLobbyCallbacks
    00021 {
    00022         public:
    00023
    00024                 virtual GSvoid LobbyRcv_LoginReply(GSubyte ubType, GSint iReason) = 0;
    00025                 virtual GSvoid LobbyRcv_LobbyDisconnection(GSint iLobbySrvID) = 0;
    00026                 virtual GSvoid LobbyRcv_LobbyDisconnectAll() = 0;
    00027                 virtual GSvoid LobbyRcv_CreateRoomReply(GSubyte ubType, GSint iReason,
    00028                                 GSchar *szRoom, GSint iGroupID, GSint iLobbySrvID)=0;
    00029                 virtual GSvoid LobbyRcv_JoinLobbyReply(GSubyte ubType, GSint iReason,
    00030                                 GSchar *szReason, GSint iGroupID, GSint iLobbySrvID) = 0;
    00031                 virtual GSvoid LobbyRcv_JoinRoomReply(GSubyte ubType, GSint iReason,
    00032                                 GSchar *szReason, GSint iGroupID, GSint iLobbySrvID) = 0;
    00033                 virtual GSvoid LobbyRcv_NewRoom(GSshort siGroupType, GSchar *szGroupName,
    00034                                 GSint iGroupID, GSint iLobbySrvID, GSint iParentID,GSint iConfig,
    00035                                 GSshort siGroupLevel,GSchar *szMaster, GSchar *szAllowedGames,
    00036                                 GSchar *szGames, GSchar *szGameVersion, GSchar *szGSVersion,
    00037                                 GSvoid *vpInfo, GSint iSize,GSuint uiMaxPlayer, GSuint uiNbrPlayer,
    00038                                 GSuint uiMaxVisitor, GSuint uiNbrVisitor, GSchar *szIPAddress,
    00039                                 GSchar *szAltIPAddress, GSint iEventID) = 0;
    00040                 virtual GSvoid LobbyRcv_NewLobby(GSshort siGroupType, GSchar *szGroupName,
    00041                                 GSint iGroupID, GSint iLobbySrvID, GSint iParentID, GSint iConfig,
    00042                                 GSshort sGroupLevel, GSchar *szMaster, GSchar *szAllowedGames,
    00043                                 GSchar *szGames, GSvoid *vpInfo, GSint iSize, GSuint uiMaxMember,
    00044                                 GSuint uiNbrMember, GSint iEventID) = 0;
    00045                 virtual GSvoid LobbyRcv_RoomInfo(GSshort siGroupType, GSchar *szGroupName,
    00046                                 GSint iGroupID, GSint iLobbySrvID, GSint iParentID, GSint iConfig,
    00047                                 GSshort sGroupLevel, GSchar *szMaster, GSchar *szAllowedGames,
    00048                                 GSchar *szGames, GSchar *szGameVersion, GSchar *szGSVersion,
    00049                                 GSvoid *vpInfo, GSint iSize, GSuint uiMaxPlayer, GSuint uiNbrPlayer,
    00050                                 GSuint uiMaxVisitor, GSuint uiNbrVisitor, GSchar *szIPAddress,
    00051                                 GSchar *szAltIPAddress, GSint iEventID) = 0;
    00052                 virtual GSvoid LobbyRcv_LobbyInfo(GSshort siGroupType, GSchar *szGroupName,
    00053                                 GSint iGroupID, GSint iLobbySrvID, GSint iParentID, GSint iConfig,
    00054                                 GSshort sGroupLevel, GSchar *szMaster, GSchar *szAllowedGames,
    00055                                 GSchar *szGames, GSvoid *vpInfo, GSint iSize, GSuint uiMaxMember,
    00056                                 GSuint uiNbrMember, GSint iEventID) = 0;
    00057
    00058                 virtual GSvoid LobbyRcv_GroupInfoGet(GSubyte ubType, GSint iLobbyID,
    00059                                 GSint iRoomID)=0;
    00060
    00061                 virtual GSvoid LobbyRcv_GroupRemove(GSint iGroupID, GSint iLobbySrvID) = 0;
    00062
    00063                 virtual GSvoid LobbyRcv_MemberJoined(GSchar *szUsername, GSbool bVisitor,
    00064                                 GSint* piGroupID, GSushort usNbGroup, GSint iLobbySrvID,
    00065                                 GSchar *szIPAddress, GSchar *szAltIPAddress, GSushort usPing,
    00066                                 GSvoid *vpPlayerData, GSint iDataSize, GSbool bJoin,
    00067                                 GSushort usPlayerStatus ) = 0;
    00068                 virtual GSvoid LobbyRcv_MemberLeave(GSchar *szUsername, GSint iGroupID,
    00069                                 GSint iLobbySrvID) = 0;
    00070
    00071                 virtual GSvoid LobbyRcv_StartMatchReply(GSubyte ubType, GSint iReason,
    00072                                 GSint iGroupID, GSint iLobbySrvID) = 0;
    00073
    00074                 virtual GSvoid LobbyRcv_MasterNewReply(GSubyte ubType, GSint iReason,
    00075                                 GSchar *szUsername, GSint iGroupID, GSint iLobbyServerID) = 0;
    00076                 virtual GSvoid LobbyRcv_MasterChanged(GSint iGroupID, GSint iLobbySrvID,
    00077                                 GSchar *szUsername, GSchar *szIPAddress, GSchar *szAltIPAddress) = 0;
    00078
    00079                 virtual GSvoid LobbyRcv_MatchFinishReply(GSubyte ubType, GSint iReason,
    00080                                 GSint iGroupID, GSint iLobbySrvID) = 0;
    00081
    00082                 virtual GSvoid LobbyRcv_KickOut(GSint iGroupID, GSint iLobbySrvID,
    00083                                 GSchar *szReason) = 0;
    00084                 virtual GSvoid LobbyRcv_PlayerKickReply(GSubyte ubType, GSint iReason,
    00085                                 GSchar *szUsername, GSint iGroupID, GSint iLobbyServerID) = 0;
    00086                 virtual GSvoid LobbyRcv_ParentGroupIDReply(GSubyte ubType, GSint iReason,
    00087                                 GSint iGroupID, GSint iLobbySrvID, GSint iParentGroupID) = 0;
    00088                 virtual GSvoid LobbyRcv_GetAlternateGroupInfoReply( GSubyte ubType,
    00089                                 GSint iReason, const GSvoid* pcAltGroupInfo,
    00090                                 GSint iAltGroupInfoSize, GSint iGroupID,  GSint iLobbyServerID ) = 0;
    00091                 virtual GSvoid LobbyRcv_GroupLeaveReply(GSubyte ubType, GSint iReason,
    00092                                 GSint iGroupID, GSint iLobbySrvID) = 0;
    00093                 virtual GSvoid LobbyRcv_GroupConfigUpdate(GSint iGroupID, GSint iLobbySrvID,
    00094                                 GSint iFlags) = 0;
    00095                 virtual GSvoid LobbyRcv_MatchStarted(GSint iGroupID, GSint iLobbyServerID,
    00096                                 GSuint uiMatchID) = 0;
    00097                 virtual GSvoid LobbyRcv_GroupConfigUpdateReply(GSubyte ubType,
    00098                                 GSint iReason, GSint iGroupID, GSint iLobbySrvID) = 0;
    00099                 virtual GSvoid LobbyRcv_SubmitMatchResultReply(GSubyte ubType,
    00100                                 GSint iReason, GSint iMatchID) = 0;
    00101                 virtual GSvoid LobbyRcv_UpdatePing(GSint iGroupID, GSint iLobbySrvID,
    00102                                 GSchar *szUsername, GSushort usPing) = 0;
    00103
    00104                 virtual GSvoid LobbyRcv_StartGameReply(GSubyte ubType, GSint iReason,
    00105                                 GSint iGroupID, GSint iLobbySrvID) = 0;
    00106                 virtual GSvoid LobbyRcv_GameReadyReply(GSubyte ubType, GSint iReason,
    00107                                 GSint iGroupID, GSint iLobbySrvID) = 0;
    00108                 virtual GSvoid LobbyRcv_GameStarted(GSint iGroupID, GSint iLobbyServerID,
    00109                                 GSvoid *vpGameData, GSint iSize, GSchar *szIPAddress,
    00110                                 GSchar *szAltIPAddress, GSushort usPort) = 0;
    00111                 virtual GSvoid LobbyRcv_NewGameMember(GSint iGroupID, GSint iLobbyServerID,
    00112                                 GSchar *szUsername, GSbool bVisitor) = 0;
    00113
    00114                 virtual GSvoid LobbyRcv_UpdateGameInfoReply(GSubyte ubType, GSint iReason,
    00115                                 GSint iGroupID, GSint iLobbySrvID) = 0;
    00116                 virtual GSvoid LobbyRcv_PlayerBanReply(GSubyte ubType, GSint iReason,
    00117                                 GSint iGroupID, GSint iLobbySrvID, GSchar *szUsername) = 0;
    00118                 virtual GSvoid LobbyRcv_PlayerUnBanReply(GSubyte ubType, GSint iReason,
    00119                                 GSint iGroupID, GSint iLobbySrvID, GSchar *szUsername) = 0;
    00120                 virtual GSvoid LobbyRcv_PlayerBanList(GSint iGroupID, GSint iLobbySrvID,
    00121                                 GSchar *szUsername) = 0;
    00122                 virtual GSvoid LobbyRcv_PlayerBanned(GSint iGroupID, GSint iLobbySrvID,
    00123                                 GSchar *szReason) = 0;
    00124                 virtual GSvoid LobbyRcv_MatchReady(GSint iGroupID, GSint iLobbySrvID) = 0;
    00125                 virtual GSvoid LobbyRcv_InfoRefresh(GSint iLobbySrvID) = 0;
    00126
    00127                 virtual GSvoid LobbyRcv_SetPlayerInfoReply(GSubyte ubType,
    00128                                 GSint iReason) = 0;
    00129                 virtual GSvoid LobbyRcv_PlayerInfoUpdate(GSchar *szUsername,
    00130                                 GSvoid *vpPlayerData, GSint iPlayerDataSize) = 0;
    00131                 virtual GSvoid LobbyRcv_PlayerGroupList(GSchar *szUsername,
    00132                                 GSint iGroupID, GSint iLobbySrvID) = 0;
    00133                 virtual GSvoid LobbyRcv_PlayerUpdateStatus( GSchar* szMember,
    00134                                 GSushort usPlayerStatus ) = 0;
    00135                 virtual GSvoid LobbyRcv_FinalMatchResults(GSuint uiMatchId, GSubyte ubType,
    00136                                 GSint iReason, const LADDER_ROW *pResults, GSuint uiNumResults) = 0;
    00137 };
    00138
    00139 #endif //__cplusplus
    00140
    00145 //============================================================================
    00146 // Callback CBLobbyRcv_LoginReply
    00159 //============================================================================
    00160 typedef GSvoid (__stdcall *CBLobbyRcv_LoginReply)(GSubyte ubType,
    00161                 GSint iReason);
    00162
    00163 //============================================================================
    00164 // Callback CBLobbyRcv_LobbyDisconnection
    00174 //============================================================================
    00175 typedef GSvoid (__stdcall *CBLobbyRcv_LobbyDisconnection)(GSint iLobbySrvID);
    00176
    00177 //============================================================================
    00178 // Callback CBLobbyRcv_LobbyDisconnectAll
    00188 //============================================================================
    00189 typedef GSvoid (__stdcall *CBLobbyRcv_LobbyDisconnectAll)();
    00190
    00191 //============================================================================
    00192 // Callback CBLobbyRcv_CreateRoomReply
    00223 //============================================================================
    00224 typedef GSvoid (__stdcall *CBLobbyRcv_CreateRoomReply)(GSubyte ubType,
    00225                 GSint iReason, GSchar* szRoom, GSint iGroupID, GSint iLobbySrvID);
    00226
    00227 //============================================================================
    00228 // Callback CBLobbyRcv_NewRoom
    00262 //============================================================================
    00263 typedef GSvoid (__stdcall *CBLobbyRcv_NewRoom)(GSshort sGroupType,
    00264                 GSchar *szGroupName, GSint iGroupID, GSint iLobbySrvID, GSint iParentID,
    00265                 GSint iConfig, GSshort sGroupLevel, GSchar *szMaster,
    00266                 GSchar *szAllowedGames, GSchar *szGames, GSchar *szGameVersion,
    00267                 GSchar *szGSVersion, GSvoid *vpInfo, GSint iSize, GSuint uiMaxPlayer,
    00268                 GSuint uiNbrPlayer, GSuint uiMaxVisitor, GSuint uiNbrVisitor,
    00269                 GSchar *szIPAddress, GSchar *szAltIPAddress, GSint iEventID);
    00270
    00271 //============================================================================
    00272 // Callback CBLobbyRcv_NewLobby
    00297 //============================================================================
    00298 typedef GSvoid (__stdcall *CBLobbyRcv_NewLobby)(GSshort sGroupType,
    00299                 GSchar *szGroupName, GSint iGroupID, GSint iLobbySrvID, GSint iParentID,
    00300                 GSint iConfig, GSshort siGroupLevel, GSchar *szMaster,
    00301                 GSchar *szAllowedGames, GSchar *szGames, GSvoid *vpInfo, GSint iSize,
    00302                 GSuint uiMaxMember, GSuint uiNbrMember, GSint iEventID);
    00303
    00304
    00305
    00306 //============================================================================
    00307 // Callback CBLobbyRcv_RoomInfo
    00341 //============================================================================
    00342 typedef GSvoid (__stdcall *CBLobbyRcv_RoomInfo)(GSshort sGroupType,
    00343                 GSchar *szGroupName, GSint iGroupID, GSint iLobbySrvID, GSint iParentID,
    00344                 GSint iConfig, GSshort sGroupLevel, GSchar *szMaster,
    00345                 GSchar *szAllowedGames,GSchar *szGames, GSchar *szGameVersion,
    00346                 GSchar *szGSVersion, GSvoid *vpInfo, GSint iSize, GSuint uiMaxPlayer,
    00347                 GSuint uiNbrPlayer, GSuint uiMaxVisitor, GSuint uiNbrVisitor,
    00348                 GSchar *szIPAddress, GSchar *szAltIPAddress, GSint iEventID);
    00349
    00350
    00351
    00352 //============================================================================
    00353 // Callback CBLobbyRcv_LobbyInfo
    00379 //============================================================================
    00380 typedef GSvoid (__stdcall *CBLobbyRcv_LobbyInfo)(GSshort siGroupType,
    00381                 GSchar *szGroupName, GSint iGroupID, GSint iLobbySrvID, GSint iParentID,
    00382                 GSint iConfig, GSshort siGroupLevel, GSchar *szMaster,
    00383                 GSchar *szAllowedGames, GSchar *szGames, GSvoid *vpInfo, GSint iSize,
    00384                 GSuint uiMaxMember, GSuint uiNbrMember, GSint iEventID);
    00385
    00386
    00387 //============================================================================
    00388 // Callback CBLobbyRcv_GroupInfoGet
    00402 //============================================================================
    00403 typedef GSvoid (__stdcall *CBLobbyRcv_GroupInfoGet)(GSubyte ubType,
    00404                 GSint iLobbyID,GSint iRoomID);
    00405
    00406 //============================================================================
    00407 // Callback CBLobbyRcv_GroupRemove
    00421 //============================================================================
    00422 typedef GSvoid (__stdcall *CBLobbyRcv_GroupRemove)(GSint iGroupID,
    00423                 GSint iLobbySrvID);
    00424
    00425 //============================================================================
    00426 // Callback CBLobbyRcv_JoinRoomReply
    00427
    00456 //============================================================================
    00457 typedef GSvoid (__stdcall *CBLobbyRcv_JoinRoomReply)(GSubyte ubType,
    00458                 GSint iReason, GSchar *szReason, GSint iGroupID, GSint iLobbySrvID);
    00459
    00460 //============================================================================
    00461 // Callback CBLobbyRcv_JoinLobbyResult
    00462
    00485 //============================================================================
    00486 typedef GSvoid (__stdcall *CBLobbyRcv_JoinLobbyReply)(GSubyte ubType,
    00487                 GSint iReason, GSchar *szReason, GSint iGroupID, GSint iLobbySrvID);
    00488
    00489 //============================================================================
    00490 // Callback CBLobbyRcv_MemberJoined
    00491
    00517 //============================================================================
    00518 typedef GSvoid (__stdcall *CBLobbyRcv_MemberJoined)(GSchar* szUsername,
    00519                 GSbool bVisitor, GSint* piGroupID, GSushort usNbGroups, GSint iLobbySrvID,
    00520                 GSchar *szIPAddress, GSchar *szAltIPAddress, GSushort usPing,
    00521                 GSvoid *vpPlayerData, GSint iPlayerDataSize, GSbool bJoin,
    00522                 GSushort usPlayerStatus );
    00523
    00524 //============================================================================
    00525 // Callback CBLobbyRcv_MemberLeave
    00526
    00538 //============================================================================
    00539 typedef GSvoid (__stdcall *CBLobbyRcv_MemberLeave)(GSchar *szUsername,
    00540                 GSint iGroupID, GSint iLobbySrvID);
    00541
    00542
    00543 //============================================================================
    00544 // Callback CBLobbyRcv_StartMatchReply
    00545
    00568 //============================================================================
    00569 typedef GSvoid (__stdcall *CBLobbyRcv_StartMatchReply)(GSubyte ubType,
    00570                 GSint iReason, GSint  iGroupID, GSint iLobbySrvID);
    00571
    00572 //============================================================================
    00573 // Callback CBLobbyRcv_MasterChanged
    00574
    00595 //============================================================================
    00596 typedef GSvoid (__stdcall *CBLobbyRcv_MasterChanged)(GSint  iGroupID,
    00597                 GSint iLobbySrvID, GSchar *szUsername, GSchar *szIPAddress,
    00598                 GSchar *szAltIPAddress);
    00599
    00600 //============================================================================
    00601 // Callback CBLobbyRcv_MasterNewReply
    00602
    00624 //============================================================================
    00625 typedef GSvoid (__stdcall *CBLobbyRcv_MasterNewReply)(GSubyte ubType,
    00626                 GSint iReason, GSchar *szUsername, GSint iGroupID, GSint iLobbyServerID);
    00627
    00628 //============================================================================
    00629 // Callback CBLobbyRcv_MatchFinishReply
    00630
    00649 //============================================================================
    00650 typedef GSvoid (__stdcall *CBLobbyRcv_MatchFinishReply)(GSubyte ubType,
    00651                 GSint iReason, GSint iGroupID, GSint iLobbySrvID);
    00652
    00653 //============================================================================
    00654 // Callback CBLobbyRcv_PlayerKickReply
    00655
    00676 //============================================================================
    00677 typedef GSvoid (__stdcall *CBLobbyRcv_PlayerKickReply)(GSubyte ubType,
    00678                 GSint iReason, GSchar *szUsername, GSint iGroupID, GSint iLobbyServerID);
    00679
    00680 //============================================================================
    00681 // Callback CBLobbyRcv_KickOut
    00682
    00696 //============================================================================
    00697 typedef GSvoid (__stdcall *CBLobbyRcv_KickOut)(GSint iGroupID,
    00698                 GSint iLobbySrvID, GSchar *szReason);
    00699
    00700 //============================================================================
    00701 // Callback CBLobbyRcv_ParentGroupIDReply
    00702
    00722 //============================================================================
    00723 typedef GSvoid (__stdcall *CBLobbyRcv_ParentGroupIDReply)(GSubyte ubType,
    00724                 GSint iReason, GSint iGroupID, GSint iLobbySrvID, GSint iParentGroupID);
    00725
    00726 //============================================================================
    00727 // Callback CBLobbyRcv_GetAlternateGroupInfoReply
    00728
    00747 //============================================================================
    00748 typedef GSvoid (__stdcall *CBLobbyRcv_GetAlternateGroupInfoReply)(
    00749                 GSubyte ubType, GSint iReason, const GSvoid* pcAltGroupInfo,
    00750                 GSint iAltGroupInfoSize, GSint iGroupID,  GSint iLobbyServerID );
    00751
    00752 //============================================================================
    00753 // Callback CBLobbyRcv_GroupLeaveReply
    00754
    00773 //============================================================================
    00774 typedef GSvoid (__stdcall *CBLobbyRcv_GroupLeaveReply)(GSubyte ubType,
    00775                 GSint iReason, GSint iGroupID, GSint iLobbySrvID);
    00776
    00777
    00778 //============================================================================
    00779 // Callback CBLobbyRcv_GroupConfigUpdate
    00780
    00793 //============================================================================
    00794 typedef GSvoid (__stdcall *CBLobbyRcv_GroupConfigUpdate)(GSint iGroupID,
    00795                 GSint iLobbySrvID, GSint iFlags);
    00796
    00797
    00798 //============================================================================
    00799 // Callback CBLobbyRcv_MatchStarted
    00800
    00815 //============================================================================
    00816 typedef GSvoid (__stdcall *CBLobbyRcv_MatchStarted)(GSint iGroupID,
    00817                 GSint iLobbyServerID, GSuint uiMatchID);
    00818
    00819 //============================================================================
    00820 // Callback CBLobbyRcv_UpdateRoomConfigReply
    00821
    00840 //============================================================================
    00841 typedef GSvoid (__stdcall *CBLobbyRcv_UpdateRoomConfigReply)(GSubyte ubType,
    00842                 GSint iReason, GSint iGroupID, GSint iLobbyServerID);
    00843
    00844 //============================================================================
    00845 // Callback CBLobbyRcv_SubmitMatchResultReply
    00846
    00865 //============================================================================
    00866 typedef GSvoid (__stdcall *CBLobbyRcv_SubmitMatchResultReply)(GSubyte ubType,
    00867                 GSint iReason, GSint iMatchID);
    00868
    00869 //============================================================================
    00870 // Callback CBLobbyRcv_UpdatePing
    00871
    00885 //============================================================================
    00886 typedef GSvoid (__stdcall *CBLobbyRcv_UpdatePing)(GSint iGroupID,
    00887                 GSint iLobbyServerID, GSchar *szUsername, GSushort usPing);
    00888
    00889
    00890
    00891 //============================================================================
    00892 // Callback CBLobbyRcv_StartGame
    00893
    00916 //============================================================================
    00917 typedef GSvoid (__stdcall *CBLobbyRcv_StartGameReply)(GSubyte ubType,
    00918                 GSint iReason, GSint iGroupID, GSint iLobbyServerID);
    00919
    00920 //============================================================================
    00921 // Callback CBLobbyRcv_GameReadyReply
    00922
    00942 //============================================================================
    00943 typedef GSvoid (__stdcall *CBLobbyRcv_GameReadyReply)(GSubyte ubType,
    00944                 GSint iReason, GSint iGroupID, GSint iLobbyServerID);
    00945
    00946 //============================================================================
    00947 // Callback CBLobbyRcv_GameStarted
    00948
    00968 //============================================================================
    00969 typedef GSvoid (__stdcall *CBLobbyRcv_GameStarted)(GSint iGroupID,
    00970                 GSint iLobbyServerID, GSvoid *vpGameData, GSint iSize, GSchar *szIPAddress,
    00971                 GSchar *szAltIPAddress, GSushort usPort);
    00972
    00973 //============================================================================
    00974 // Callback CBLobbyRcv_NewGameMember
    00975
    00990 //============================================================================
    00991 typedef GSvoid (__stdcall *CBLobbyRcv_NewGameMember)(GSint iGroupID,
    00992                 GSint iLobbyServerID, GSchar *szUsername, GSbool bVisitor);
    00993
    00994 //============================================================================
    00995 // Callback CBLobbyRcv_UpdateGameInfoReply
    00996
    01016 //============================================================================
    01017 typedef GSvoid (__stdcall *CBLobbyRcv_UpdateGameInfoReply)(GSubyte ubType,
    01018                 GSint iReason, GSint iGroupID, GSint iLobbyServerID);
    01019
    01020 //============================================================================
    01021 // Callback CBLobbyRcv_PlayerBanReply
    01022
    01043 //============================================================================
    01044 typedef GSvoid (__stdcall *CBLobbyRcv_PlayerBanReply)(GSubyte ubType,
    01045                 GSint iReason, GSint iGroupID, GSint iLobbyServerID, GSchar *szUsername);
    01046
    01047 //============================================================================
    01048 // Callback CBLobbyRcv_PlayerUnBanReply
    01049
    01069 //============================================================================
    01070 typedef GSvoid (__stdcall *CBLobbyRcv_PlayerUnBanReply)(GSubyte ubType,
    01071                 GSint iReason, GSint iGroupID, GSint iLobbyServerID, GSchar *szUsername);
    01072
    01073 //============================================================================
    01074 // Callback CBLobbyRcv_PlayerBanList
    01075
    01093 //============================================================================
    01094 typedef GSvoid (__stdcall *CBLobbyRcv_PlayerBanList)(GSint iGroupID,
    01095                 GSint iLobbyServerID, GSchar *szUsername);
    01096
    01097 //============================================================================
    01098 // Callback CBLobbyRcv_PlayerBanned
    01099
    01112 //============================================================================
    01113 typedef GSvoid (__stdcall *CBLobbyRcv_PlayerBanned)(GSint iGroupID,
    01114                 GSint iLobbySrvID, GSchar *szReason);
    01115
    01116 //============================================================================
    01117 // Callback CBLobbyRcv_MatchReady
    01127 //============================================================================
    01128 typedef GSvoid (__stdcall *CBLobbyRcv_MatchReady)(GSint iGroupID,
    01129                 GSint iLobbySrvID);
    01130
    01131 //============================================================================
    01132 // Callback CBLobbyRcv_InfoRefresh
    01141 //============================================================================
    01142 typedef GSvoid (__stdcall *CBLobbyRcv_InfoRefresh)(GSint iLobbySrvID);
    01143
    01144 //============================================================================
    01145 // Callback CBLobbyRcv_SetPlayerInfoReply
    01154 //============================================================================
    01155 typedef GSvoid (__stdcall *CBLobbyRcv_SetPlayerInfoReply)(GSubyte ubType,
    01156                 GSint iReason);
    01157
    01158 //============================================================================
    01159 // Callback CBLobbyRcv_PlayerInfoUpdate
    01160
    01170 //============================================================================
    01171 typedef GSvoid (__stdcall *CBLobbyRcv_PlayerInfoUpdate)(GSchar *szUsername,
    01172                 GSvoid *vpPlayerData, GSint iPlayerDataSize);
    01173
    01174 //============================================================================
    01175 // Callback CBLobbyRcv_PlayerInfoUpdate
    01176
    01186 //============================================================================
    01187 typedef GSvoid (__stdcall *CBLobbyRcv_PlayerStatusUpdate)( GSchar* szUsername,
    01188                 GSushort usPlayerStatus );
    01189
    01190 //============================================================================
    01191 // Callback CBLobbyRcv_PlayerGroupList
    01192
    01202 //============================================================================
    01203 typedef GSvoid (__stdcall *CBLobbyRcv_PlayerGroupList)(GSchar *szUsername,
    01204                 GSint iGroupID, GSint iLobbySrvID);
    01205
    01206 //===============================================================================
    01207 // Callback CBLobbyRcv_FinalMatchResults
    01208
    01241 //===============================================================================
    01242 typedef GSvoid (__stdcall *CBLobbyRcv_FinalMatchResults)(GSuint uiMatchId,
    01243                 GSubyte ubType, GSint iReason, const LADDER_ROW *pResults,
    01244                 GSuint uiNumResult);
    01245
    01248 #endif //_GSLOBBYCB_H_

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