Subversion Repositories WoWGM

Rev

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

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