| 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,
|
|
|
38 |
int (__cdecl* handler)(void*,
|
|
|
39 |
NETMESSAGE,
|
|
|
40 |
unsigned int,
|
|
|
41 |
CDataStore*),
|
|
|
42 |
void* param);
|
|
|
43 |
|
|
|
44 |
//===========================================================================
|
|
|
45 |
extern void ClientServices_ClearMessageHandler (NETMESSAGE msgID);
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
#endif // ifndef _CLIENTSERVICES_H_
|