-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathCrywolfUtil.h
More file actions
49 lines (34 loc) · 1.23 KB
/
CrywolfUtil.h
File metadata and controls
49 lines (34 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// CrywolfUtil.h: interface for the CCrywolfUtil class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CRYWOLFUTIL_H__8D1A179E_3D04_4578_A15B_3DAD0E55783B__INCLUDED_)
#define AFX_CRYWOLFUTIL_H__8D1A179E_3D04_4578_A15B_3DAD0E55783B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#if (GS_CASTLE==1)
#include "user.h"
class CCrywolfScoreSort // Completed
{
public:
bool operator()(struct OBJECTSTRUCT * const lpObj1, struct OBJECTSTRUCT * const lpObj2)
{
bool bResult = ( lpObj1->m_iCrywolfMVPScore >= lpObj2->m_iCrywolfMVPScore ) ? TRUE : FALSE;
if ( lpObj1->m_iCrywolfMVPScore == lpObj2->m_iCrywolfMVPScore )
bResult = ( lpObj1->Experience < lpObj2->Experience ) ? TRUE : FALSE;
return bResult;
}
};
class CCrywolfUtil
{
public:
CCrywolfUtil();
virtual ~CCrywolfUtil();
void __cdecl SendMapServerGroupMsg(LPSTR lpszMsg, ...);
void SendAllUserAnyData(LPBYTE lpMsg, int iSize);
void __cdecl SendAllUserAnyMsg(int iType, LPSTR lpszMsg, ...);
void SendCrywolfUserAnyData(LPBYTE lpMsg, int iSize);
void __cdecl SendCrywolfUserAnyMsg(int iType, LPSTR lpszMsg, ...);
};
#endif
#endif // !defined(AFX_CRYWOLFUTIL_H__8D1A179E_3D04_4578_A15B_3DAD0E55783B__INCLUDED_)