Subversion Repositories WoWGM

Rev

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