Updated to latest PTR client build 10676.

This commit is contained in:
tomrus88 2009-10-24 19:38:37 +04:00
parent 2164bbad86
commit d599aea0ba
16 changed files with 132 additions and 50 deletions

View file

@ -37,8 +37,9 @@ enum RollVote
PASS = 0,
NEED = 1,
GREED = 2,
NOT_EMITED_YET = 3,
NOT_VALID = 4
DISENCHANT = 3,
NOT_EMITED_YET = 4,
NOT_VALID = 5
};
enum GroupMemberOnlineStatus
@ -54,10 +55,13 @@ enum GroupMemberOnlineStatus
MEMBER_STATUS_UNK5 = 0x0080, // never seen
};
enum GroupType
enum GroupType // group type flags?
{
GROUPTYPE_NORMAL = 0,
GROUPTYPE_RAID = 1
GROUPTYPE_BG = 1,
GROUPTYPE_RAID = 2,
GROUPTYPE_BGRAID = 3,
GROUPTYPE_LFD = 4
};
class BattleGround;
@ -100,7 +104,7 @@ class Roll : public LootValidatorRef
public:
Roll(uint64 _guid, LootItem const& li)
: itemGUID(_guid), itemid(li.itemid), itemRandomPropId(li.randomPropertyId), itemRandomSuffix(li.randomSuffix), itemCount(li.count),
totalPlayersRolling(0), totalNeed(0), totalGreed(0), totalPass(0), itemSlot(0) {}
totalPlayersRolling(0), totalNeed(0), totalGreed(0), totalDisenchant(0), totalPass(0), itemSlot(0) {}
~Roll() { }
void setLoot(Loot *pLoot) { link(pLoot, this); }
Loot *getLoot() { return getTarget(); }
@ -116,6 +120,7 @@ class Roll : public LootValidatorRef
uint8 totalPlayersRolling;
uint8 totalNeed;
uint8 totalGreed;
uint8 totalDisenchant;
uint8 totalPass;
uint8 itemSlot;
};