Initial MSVC 2008 projects workspace

This commit is contained in:
alexey.min
2012-02-01 05:25:08 +00:00
commit 03de3bdc95
1446 changed files with 476853 additions and 0 deletions

34
l2detect/ClanWarList.h Normal file
View File

@@ -0,0 +1,34 @@
#ifndef H_CLAN_WAR_LIST
#define H_CLAN_WAR_LIST
#define MAX_CLANWARS 32
typedef enum eCLANWARSTATE
{
CLANWAR_NOWAR = 0,
CLANWAR_DECLARED,
CLANWAR_UNDERATTACK,
CLANWAR_BOTH
} CLANWARSTATE, *LPCLANWARSTATE;
class ClanWarList
{
public:
ClanWarList();
~ClanWarList();
void clear();
void clearDeclared();
void clearUnderAttack();
//void parse_PledgeReceiveWarList( const unsigned char *bytes, unsigned int length );
void parse_PledgeReceiveWarList( void *l2_game_packet );
public:
CLANWARSTATE getWarForClan( const wchar_t *wszClanName );
public:
int numDeclared;
int numUnderAttack;
wchar_t *cnDeclared[MAX_CLANWARS];
wchar_t *cnUnderAttack[MAX_CLANWARS];
};
#endif