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

GSLoginCB.h

Go to the documentation of this file.
00001 //****************************************************************************
00002 //*   Author:  Guillaume Plante  <gsdevteam@ubisoft.com>
00003 //*   Date:     5/16/01 9:20:13 AM
00010 //****************************************************************************
00011 
00012 
00013 #ifndef __GSLOGINCB_H_
00014 #define __GSLOGINCB_H_
00015 
00016 #include "GSTypes.h"
00017 
00018 #ifdef __cplusplus
00019 class clLoginCallbacks
00020 {
00021         public:
00022         virtual GSvoid LoginRcv_PlayerInfo(GSubyte ubType, GSchar * pszNickName,
00023                         GSchar * pszSurName, GSchar * pszFirstName, GSchar * pszCountry,
00024                         GSchar * pszEmail, GSchar * szIRCID, GSchar * szIPAddress,
00025                         GSint iReason ) = 0;
00026         virtual GSvoid LoginRcv_JoinWaitModuleResult(GSubyte ubType,
00027                         GSchar * pszAddress, GSushort lPort, GSint iReason) = 0;
00028         virtual GSvoid LoginRcv_LoginRouterResult(GSubyte ubType, GSint iReason) = 0;
00029         virtual GSvoid LoginRcv_LoginWaitModuleResult(GSubyte ubType,
00030                         GSint iReason) = 0;
00031         virtual GSvoid LoginRcv_SystemPage(GSint lSubType, GSchar * pszText) = 0;
00032         virtual GSvoid LoginRcv_LoginDisconnection() = 0;
00033         virtual GSvoid LoginRcv_AccountCreationResult(GSubyte ubType,
00034                         GSint iReason) = 0;
00035         virtual GSvoid LoginRcv_ModifyUserResult(GSubyte ubType, GSint iReason) = 0;
00036         virtual GSvoid LoginRcv_RequestMOTD(GSubyte ubType, GSchar *szUbiMOTD,
00037                         GSchar *szGameMOTD, GSint iReason)=0;
00038 };
00039 #endif //__cplusplus
00040 
00041 
00046 //============================================================================
00047 // Callback CBLoginRcv_PlayerInfo
00071 //============================================================================
00072 typedef GSvoid (__stdcall *CBLoginRcv_PlayerInfo)(GSubyte ubType,
00073                 GSchar *szUsername, GSchar *szSurName, GSchar *szFirstName,
00074                 GSchar *szCountry, GSchar *szEmail,GSchar *szIRCID, GSchar *szIPAddress,
00075                 GSint iReason);
00076 
00077 
00078 //============================================================================
00079 // Callback CBLoginRcv_JoinWaitModuleResult
00096 //============================================================================
00097 typedef GSvoid (__stdcall *CBLoginRcv_JoinWaitModuleResult)(GSubyte ubType,
00098                 GSchar *szAddress, GSushort usPort, GSint iReason);
00099 
00100 
00101 //============================================================================
00102 // Callback CBLoginRcv_LoginRouterResult
00103 
00127 //============================================================================
00128 typedef GSvoid (__stdcall *CBLoginRcv_LoginRouterResult)(GSubyte ubType,
00129                 GSint iReason);
00130 
00131 
00132 //============================================================================
00133 // Callback CBLoginRcv_LoginWaitModuleResult
00134 
00151 //============================================================================
00152 typedef GSvoid (__stdcall *CBLoginRcv_LoginWaitModuleResult)(GSubyte ubType,
00153                 GSint iReason);
00154 
00155 //============================================================================
00156 // Callback CBLoginRcv_SystemPage
00157 
00180 //============================================================================
00181 typedef GSvoid (__stdcall *CBLoginRcv_SystemPage)(GSint iSubType,
00182         GSchar *szText);
00183 
00184 
00185 //============================================================================
00186 // Callback CBLoginRcv_LoginDisconnection
00187 
00195 //============================================================================
00196 typedef GSvoid (__stdcall *CBLoginRcv_LoginDisconnection)();
00197 
00198 
00199 //============================================================================
00200 // Callback CBLoginRcv_AccountCreationResult
00201 
00227 //============================================================================
00228 typedef GSvoid (__stdcall *CBLoginRcv_AccountCreationResult)(GSubyte ubType,
00229                 GSint iReason);
00230 
00231 
00232 //============================================================================
00233 // Callback CBLoginRcv_ModifyUserResult
00234 
00254 //============================================================================
00255 typedef GSvoid (__stdcall *CBLoginRcv_ModifyUserResult)(GSubyte ubType,
00256                 GSint iReason);
00257 
00258 
00259 //============================================================================
00260 // Callback DBLoginRcv_RequestMOTD
00261 
00280 //============================================================================
00281 typedef GSvoid (__stdcall *CBLoginRcv_RequestMOTD)(GSubyte ubType,
00282                 GSchar *szUbiMOTD, GSchar *szGameMOTD, GSint iReason);
00283 
00286 #endif //__GSLOGINCB_H_

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