38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
/*********************************************************************
|
|
* title_name : Combat Zone (Official Webzen 16.4)
|
|
* date_created : 2017.05.21
|
|
* filename : PythonCombatZone.h
|
|
* author : VegaS
|
|
* version_actual : Version 0.1.9
|
|
*/
|
|
#pragma once
|
|
#include "Packet.h"
|
|
|
|
enum
|
|
{
|
|
COMBAT_ZONE_MAX_ROWS_RANKING = 11,
|
|
COMBAT_ZONE_EMPTY_DATA = 999,
|
|
COMBAT_ZONE_ACTION_OPEN_RANKING = 1,
|
|
COMBAT_ZONE_ACTION_CHANGE_PAGE_RANKING = 2,
|
|
COMBAT_ZONE_ACTION_PARTICIPATE = 3,
|
|
COMBAT_ZONE_ACTION_LEAVE = 4,
|
|
COMBAT_ZONE_ACTION_REQUEST_POTION = 5,
|
|
COMBAT_ZONE_TYPE_RANKING_WEEKLY = 1,
|
|
COMBAT_ZONE_TYPE_RANKING_ALL = 2,
|
|
};
|
|
|
|
class CPythonCombatZone
|
|
{
|
|
public:
|
|
CPythonCombatZone(void);
|
|
~CPythonCombatZone(void);
|
|
#ifdef WJ_COMBAT_ZONE
|
|
void Initialize(TPacketGCCombatZoneRankingData p);
|
|
void SendDataDays(DWORD m_vec_infoData[7][8], bool m_vec_info_days_get[7] ,bool bIsOnline);
|
|
TPacketGCCombatZoneRanking Request(int);
|
|
static CPythonCombatZone* instance();
|
|
private:
|
|
std::vector<TPacketGCCombatZoneRanking> m_vecRankingData;
|
|
static CPythonCombatZone * curInstance;
|
|
#endif
|
|
}; |