91 std::string GetDetailedMatchRoles(
GuidList const&
check)
const;
98 void UpdateWaitTimeAvg(
int32 waitTime,
uint32 dungeonId);
99 void UpdateWaitTimeTank(
int32 waitTime,
uint32 dungeonId);
100 void UpdateWaitTimeHealer(
int32 waitTime,
uint32 dungeonId);
101 void UpdateWaitTimeDps(
int32 waitTime,
uint32 dungeonId);
104 void UpdateQueueTimers(
uint8 queueId, time_t currTime);
111 std::string DumpQueueInfo()
const;
112 std::string DumpCompatibleInfo(
bool full =
false)
const;
115 void SetQueueUpdateData(std::string
const& strGuids,
LfgRolesMap const& proposalRoles);
128 void FindBestCompatibleInQueue(LfgQueueDataContainer::iterator itrQueue);
129 void UpdateBestCompatibleInQueue(LfgQueueDataContainer::iterator itrQueue, std::string
const& key,
LfgRolesMap const& roles);
Definition: LFGQueue.h:35
LfgWaitTimesContainer waitTimesHealerStore
Average wait time to find a group queuing as healer.
Definition: LFGQueue.h:140
LfgCompatibility
Definition: LFGQueue.h:26
Definition: LFGQueue.h:34
LfgQueueDataContainer QueueDataStore
Queued groups.
Definition: LFGQueue.h:135
LfgWaitTimesContainer waitTimesAvgStore
Average wait time to find a group queuing as multiple roles.
Definition: LFGQueue.h:138
GuidList newToQueueStore
New groups to add to queue.
Definition: LFGQueue.h:143
Definition: LFGQueue.h:31
Stores player or group queue info.
Definition: LFGQueue.h:52
Definition: LFGQueue.h:30
Definition: LFGQueue.h:36
arena_t NULL
Definition: jemalloc_internal.h:624
std::map< std::string, LfgCompatibilityData > LfgCompatibleContainer
Definition: LFGQueue.h:80
GuidList currentQueueStore
Ordered list. Used to find groups.
Definition: LFGQueue.h:142
LfgCompatibilityData(LfgCompatibility _compatibility)
Definition: LFGQueue.h:43
int32 time
Wait time.
Definition: LFGQueue.h:75
uint8 healers
Healers needed.
Definition: LFGQueue.h:65
bool all(float x)
Definition: g3dmath.h:431
std::list< ObjectGuid > GuidList
Definition: ObjectGuid.h:333
LfgDungeonSet dungeons
Selected Player/Group Dungeon/s.
Definition: LFGQueue.h:67
std::set< uint32 > LfgDungeonSet
Definition: LFG.h:112
std::map< ObjectGuid, uint8 > LfgRolesMap
Definition: LFG.h:115
int32_t int32
Definition: Define.h:146
Definition: LFGQueue.h:29
uint32_t uint32
Definition: Define.h:150
LfgCompatibleContainer CompatibleMapStore
Compatible dungeons.
Definition: LFGQueue.h:136
time_t joinTime
Player queue join time (to calculate wait times)
Definition: LFGQueue.h:63
LfgWaitTimesContainer waitTimesDpsStore
Average wait time to find a group queuing as dps.
Definition: LFGQueue.h:141
LfgCompatibility compatibility
Definition: LFGQueue.h:47
Definition: LFGQueue.h:37
LfgWaitTime()
Definition: LFGQueue.h:74
uint8 dps
Dps needed.
Definition: LFGQueue.h:66
std::map< uint32, LfgWaitTime > LfgWaitTimesContainer
Definition: LFGQueue.h:79
Definition: LFGQueue.h:33
Definition: LFGQueue.h:86
Definition: LFGQueue.h:72
LfgCompatibilityData()
Definition: LFGQueue.h:42
uint8 tanks
Tanks needed.
Definition: LFGQueue.h:64
#define TC_GAME_API
Definition: Define.h:134
Definition: LFGQueue.h:32
uint8_t uint8
Definition: Define.h:152
LfgCompatibilityData(LfgCompatibility _compatibility, LfgRolesMap const &_roles)
Definition: LFGQueue.h:44
LfgQueueData(time_t _joinTime, LfgDungeonSet const &_dungeons, LfgRolesMap const &_roles)
Definition: LFGQueue.h:58
Definition: ObjectGuid.h:189
LfgWaitTimesContainer waitTimesTankStore
Average wait time to find a group queuing as tank.
Definition: LFGQueue.h:139
T check(T value)
Definition: format.h:305
LfgRolesMap roles
Definition: LFGQueue.h:48
std::string bestCompatible
Best compatible combination of people queued.
Definition: LFGQueue.h:69
Definition: LFGQueue.h:28
LfgRolesMap roles
Selected Player Role/s.
Definition: LFGQueue.h:68
LfgQueueData()
Definition: LFGQueue.h:54
uint32 number
Number of people used to get that wait time.
Definition: LFGQueue.h:76
std::map< ObjectGuid, LfgQueueData > LfgQueueDataContainer
Definition: LFGQueue.h:81
Definition: LFGQueue.h:40