* Add basic AddonMgr.
* All this really does at the moment is save addon names + CRCs to DB for use for.. whatever, later. --HG-- branch : trunk
This commit is contained in:
+1
-22
@@ -27,6 +27,7 @@
|
||||
|
||||
#include "Common.h"
|
||||
#include "SharedDefines.h"
|
||||
#include "AddonMgr.h"
|
||||
|
||||
struct ItemPrototype;
|
||||
struct AuctionEntry;
|
||||
@@ -71,28 +72,6 @@ struct AccountData
|
||||
std::string Data;
|
||||
};
|
||||
|
||||
struct AddonInfo
|
||||
{
|
||||
AddonInfo(const std::string& name, uint8 enabled, uint32 crc, uint8 state, bool crcOrPubKey)
|
||||
{
|
||||
Name = name;
|
||||
Enabled = enabled;
|
||||
CRC = crc;
|
||||
State = state;
|
||||
UsePublicKeyOrCRC = crcOrPubKey;
|
||||
}
|
||||
|
||||
std::string Name;
|
||||
uint8 Enabled;
|
||||
uint32 CRC;
|
||||
uint8 State;
|
||||
bool UsePublicKeyOrCRC;
|
||||
};
|
||||
|
||||
typedef std::list<AddonInfo> AddonsList;
|
||||
|
||||
#define STANDARD_ADDON_CRC 0x4c1c776d
|
||||
|
||||
enum PartyOperation
|
||||
{
|
||||
PARTY_OP_INVITE = 0,
|
||||
|
||||
Reference in New Issue
Block a user