Subversion Repositories WoWGM

Rev

Rev 28 | Rev 32 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef  _CLIENTSERVICES_H_
#define  _CLIENTSERVICES_H_


#include <Engine/Base/CDataStore.h>
#include <Net/NetClient/NetClient.hpp>

struct ClientConnection {

  static void GetCharacterList ();

};

//===========================================================================
extern void ClientServices_Initialize ();

//===========================================================================
extern void* ClientServices_Connection ();

//===========================================================================
extern void ClientServices_Destroy ();

//===========================================================================
extern BOOL ClientServices_Report (unsigned int category, char const* title);

//===========================================================================
extern void ClientServices_Send (CDataStore* netMessage);

//===========================================================================
extern void ClientServices_SendOnConnection(CDataStore* msg);

//===========================================================================
extern void ClientServices_SetMessageHandler (NETMESSAGE  msgID,
                                              int         (*handler)(void*,NETMESSAGE,unsigned int,CDataStore*),
                                              void*       param);

//===========================================================================
extern void ClientServices_ClearMessageHandler (NETMESSAGE msgID);


#endif // ifndef _CLIENTSERVICES_H_