Subversion Repositories WoWGM

Rev

Rev 3 | Rev 28 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 17
Line 13... Line 13...
13
 
13
 
14
#define  CLIENTSERVICES_SEND								0x00406F40
14
#define  CLIENTSERVICES_SEND								0x00406F40
15
#define  CLIENTSERVICES__SENDONCONNECTION   0x006B0B50
15
#define  CLIENTSERVICES__SENDONCONNECTION   0x006B0B50
16
#define  CLIENTSERVICES_INITIALIZE					0x005AB1D0
16
#define  CLIENTSERVICES_INITIALIZE					0x005AB1D0
17
#define  CLIENTSERVICES_DESTROY							0x005AB3D0
17
#define  CLIENTSERVICES_DESTROY							0x005AB3D0
18
#define  CLIENTSERVICES_SETMESSAGEHANDLER		0x005AB650
18
#define  CLIENTSERVICES_SETMESSAGEHANDLER	0x006B0B80
19
#define  CLIENTSERVICES_CLEARMESSAGEHANDLER	0x005AB670
19
#define  CLIENTSERVICES_CLEARMESSAGEHANDLER	0x006B0BC0
20
 
20
 
21
 
21
 
22
//===========================================================================
22
//===========================================================================
23
void (__cdecl*ClientConnection__GetCharacterListPtr) (void* connection) = *(void(__cdecl*)(void*))CLIENTCONNECTION__GETCHARACTERLIST;
23
void (__cdecl*ClientConnection__GetCharacterListPtr) (void* connection) = *(void(__cdecl*)(void*))CLIENTCONNECTION__GETCHARACTERLIST;
24
 
24
 
Line 104... Line 104...
104
  ClientServices_SendOnConnectionPtr(msg);
104
  ClientServices_SendOnConnectionPtr(msg);
105
}
105
}
106
 
106
 
107
//===========================================================================
107
//===========================================================================
108
void ClientServices_SetMessageHandler (NETMESSAGE msgID,
108
void ClientServices_SetMessageHandler (NETMESSAGE msgID,
109
																			 int				(__cdecl* handler)(void*,
-
 
110
																																		 NETMESSAGE,
-
 
111
																																		 unsigned int,
-
 
112
																																		 CDataStore*),
109
									   int(*handler)(void*,NETMESSAGE,unsigned int,CDataStore*),
113
																			 void*			param) {
110
									   void* param)
-
 
111
{
114
	ClientServices_SetMessageHandlerPtr(msgID,handler,param);
112
	ClientServices_SetMessageHandlerPtr(msgID,handler,param);
115
}
113
}
116
 
114
 
117
//===========================================================================
115
//===========================================================================
118
void ClientServices_ClearMessageHandler (NETMESSAGE msgID) {
116
void ClientServices_ClearMessageHandler (NETMESSAGE msgID) {