90 std::string GetDetailedMatchRoles(
GuidList const& check)
const;
91 void AddToQueue(
ObjectGuid guid,
bool reAdd =
false);
97 void UpdateWaitTimeAvg(
int32 waitTime,
uint32 dungeonId);
98 void UpdateWaitTimeTank(
int32 waitTime,
uint32 dungeonId);
99 void UpdateWaitTimeHealer(
int32 waitTime,
uint32 dungeonId);
100 void UpdateWaitTimeDps(
int32 waitTime,
uint32 dungeonId);
103 void UpdateQueueTimers(
uint8 queueId, time_t currTime);
110 std::string DumpQueueInfo()
const;
111 std::string DumpCompatibleInfo(
bool full =
false)
const;
128 void FindBestCompatibleInQueue(LfgQueueDataContainer::iterator itrQueue);
129 void UpdateBestCompatibleInQueue(LfgQueueDataContainer::iterator itrQueue, std::string
const& key,
LfgRolesMap const& roles);
std::list< ObjectGuid > GuidList
LfgQueueDataContainer QueueDataStore
Queued groups.
LfgCompatibleContainer CompatibleMapStore
Compatible dungeons.
LfgWaitTimesContainer waitTimesTankStore
Average wait time to find a group queuing as tank.
LfgWaitTimesContainer waitTimesAvgStore
Average wait time to find a group queuing as multiple roles.
GuidList currentQueueStore
Ordered list. Used to find groups.
GuidList newToQueueStore
New groups to add to queue.
LfgWaitTimesContainer waitTimesDpsStore
Average wait time to find a group queuing as dps.
LfgWaitTimesContainer waitTimesHealerStore
Average wait time to find a group queuing as healer.
void SetQueueUpdateData(std::string const &strGuids, LfgRolesMap const &proposalRoles)
std::map< std::string, LfgCompatibilityData > LfgCompatibleContainer
std::map< ObjectGuid, uint8 > LfgRolesMap
@ LFG_COMPATIBLES_WITH_LESS_PLAYERS
@ LFG_INCOMPATIBLES_HAS_IGNORES
@ LFG_INCOMPATIBLES_MULTIPLE_LFG_GROUPS
@ LFG_INCOMPATIBLES_NO_DUNGEONS
@ LFG_COMPATIBILITY_PENDING
@ LFG_INCOMPATIBLES_TOO_MUCH_PLAYERS
@ LFG_INCOMPATIBLES_WRONG_GROUP_SIZE
@ LFG_INCOMPATIBLES_NO_ROLES
@ LFG_COMPATIBLES_BAD_STATES
std::map< uint32, LfgWaitTime > LfgWaitTimesContainer
std::set< uint32 > LfgDungeonSet
std::map< ObjectGuid, LfgQueueData > LfgQueueDataContainer
LfgCompatibility compatibility
LfgCompatibilityData(LfgCompatibility _compatibility, LfgRolesMap const &_roles)
LfgCompatibilityData(LfgCompatibility _compatibility)
Stores player or group queue info.
LfgRolesMap roles
Selected Player Role/s.
time_t joinTime
Player queue join time (to calculate wait times)
std::string bestCompatible
Best compatible combination of people queued.
LfgDungeonSet dungeons
Selected Player/Group Dungeon/s.
uint8 healers
Healers needed.
LfgQueueData(time_t _joinTime, LfgDungeonSet const &_dungeons, LfgRolesMap const &_roles)
uint32 number
Number of people used to get that wait time.