| 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 |
|
| 31 |
tristanc |
10 |
static void GetCharacterList ();
|
| 3 |
tristanc |
11 |
|
| 31 |
tristanc |
12 |
};
|
| 3 |
tristanc |
13 |
|
|
|
14 |
//===========================================================================
|
|
|
15 |
extern void ClientServices_Initialize ();
|
|
|
16 |
|
|
|
17 |
//===========================================================================
|
|
|
18 |
extern void* ClientServices_Connection ();
|
|
|
19 |
|
|
|
20 |
//===========================================================================
|
|
|
21 |
extern void ClientServices_Destroy ();
|
|
|
22 |
|
|
|
23 |
//===========================================================================
|
| 28 |
tristanc |
24 |
extern BOOL ClientServices_Report (unsigned int category, char const* title);
|
|
|
25 |
|
|
|
26 |
//===========================================================================
|
| 3 |
tristanc |
27 |
extern void ClientServices_Send (CDataStore* netMessage);
|
|
|
28 |
|
|
|
29 |
//===========================================================================
|
|
|
30 |
extern void ClientServices_SendOnConnection(CDataStore* msg);
|
|
|
31 |
|
|
|
32 |
//===========================================================================
|
|
|
33 |
extern void ClientServices_SetMessageHandler (NETMESSAGE msgID,
|
| 31 |
tristanc |
34 |
int (*handler)(void*,NETMESSAGE,unsigned int,CDataStore*),
|
|
|
35 |
void* param);
|
| 3 |
tristanc |
36 |
|
|
|
37 |
//===========================================================================
|
|
|
38 |
extern void ClientServices_ClearMessageHandler (NETMESSAGE msgID);
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
#endif // ifndef _CLIENTSERVICES_H_
|