Subversion Repositories WoWGM

Rev

Rev 3 | Rev 28 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 tristanc 1
#ifndef  _CLIENTSERVICES_H_
2
#define  _CLIENTSERVICES_H_
3
 
4
 
5
#include <Engine/Base/CDataStore.h>
6
#include <Net/NetClient/NetClient.hpp>
7
 
8
struct ClientConnection {
9
 
10
  static void __cdecl GetCharacterList();
11
 
12
};
13
 
14
 
15
/****************************************************************************
16
*
17
*  External functions
18
*
19
***/
20
 
21
//===========================================================================
22
extern void ClientServices_Initialize ();
23
 
24
//===========================================================================
25
extern void* ClientServices_Connection ();
26
 
27
//===========================================================================
28
extern void ClientServices_Destroy ();
29
 
30
//===========================================================================
31
extern void ClientServices_Send (CDataStore* netMessage);
32
 
33
//===========================================================================
34
extern void ClientServices_SendOnConnection(CDataStore* msg);
35
 
36
//===========================================================================
37
extern void ClientServices_SetMessageHandler (NETMESSAGE  msgID,
17 tristanc 38
                                              int (*handler)(void*,NETMESSAGE,unsigned int,CDataStore*),
39
                                              void* param);
3 tristanc 40
 
41
//===========================================================================
42
extern void ClientServices_ClearMessageHandler (NETMESSAGE msgID);
43
 
44
 
45
#endif // ifndef _CLIENTSERVICES_H_