Subversion Repositories WoWGM

Rev

Rev 17 | Rev 31 | 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
//===========================================================================
28 tristanc 31
extern BOOL ClientServices_Report (unsigned int category, char const* title);
32
 
33
//===========================================================================
3 tristanc 34
extern void ClientServices_Send (CDataStore* netMessage);
35
 
36
//===========================================================================
37
extern void ClientServices_SendOnConnection(CDataStore* msg);
38
 
39
//===========================================================================
40
extern void ClientServices_SetMessageHandler (NETMESSAGE  msgID,
17 tristanc 41
                                              int (*handler)(void*,NETMESSAGE,unsigned int,CDataStore*),
42
                                              void* param);
3 tristanc 43
 
44
//===========================================================================
45
extern void ClientServices_ClearMessageHandler (NETMESSAGE msgID);
46
 
47
 
48
#endif // ifndef _CLIENTSERVICES_H_