25 lines
1.1 KiB
C
25 lines
1.1 KiB
C
#ifndef MessageHandleH
|
|
#define MessageHandleH
|
|
|
|
#include "MessageDef.h"
|
|
|
|
DWORD HandleVerifyParam( DWORD dwParam );
|
|
bool HandleRequest( TNETMESSAGE* pRequest, TNETMESSAGE* pResponse, UINT ip, USHORT port, bool bUDP=false );
|
|
int CreateStyle( int idUser, int iType, int nDataSize, char* pData );
|
|
int GetStyleInfo( int iType, UINT id, int& nDataSize, char** ppData );
|
|
int GetStyleData( int iType, UINT id, int& nDataSize, char** ppData );
|
|
int PublishStyle( UINT idTemp, UINT idStyle );
|
|
int GetStyleUserScore( int iType, UINT idStyle, UINT idUser, int* pScrUser, int* pScrAverage );
|
|
int CreateSong( int idUser, int iClientType, int nDataSize, char* pData, TSHAREINFO* pInfo );
|
|
int GetIconFile( char* strFile, int& nDataSize, char** ppData );
|
|
|
|
bool StyleTrans2Info( TSTYLEDETAIL& info, char* pData );
|
|
bool ShareTrans2Info( TSTYLESHARE& info, char* pData );
|
|
|
|
//////////////////////////////////////////////////////
|
|
// 统计 PC pro 函数
|
|
//void GetProCount(int& n826, int& nOth);
|
|
//
|
|
//////////////////////////////////////////////////////
|
|
|
|
#endif //_MESSAGEHANDLE_H_INCLUDED_
|