Subversion Repositories WoWGM

Rev

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

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