AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
LFGMgr.h File Reference
#include <utility>
#include "DBCStructure.h"
#include "Field.h"
#include "LFG.h"
#include "LFGGroupData.h"
#include "LFGPlayerData.h"
#include "LFGQueue.h"
#include "Map.h"

Go to the source code of this file.

Classes

struct  lfg::RBEntryInfo
 
struct  lfg::RBInternalInfo
 
struct  lfg::LfgJoinResultData
 
struct  lfg::LfgUpdateData
 
struct  lfg::LfgQueueStatusData
 
struct  lfg::LfgPlayerRewardData
 
struct  lfg::LfgReward
 
struct  lfg::LfgProposalPlayer
 
struct  lfg::LfgProposal
 
struct  lfg::LfgRoleCheck
 
struct  lfg::LfgPlayerBoot
 
struct  lfg::LFGDungeonData
 
class  lfg::LFGMgr
 

Namespaces

namespace  lfg
 

Macros

#define sLFGMgr   lfg::LFGMgr::instance()
 

Typedefs

typedef std::map< uint8, LFGQueue > lfg::LfgQueueContainer
 
typedef std::multimap< uint32, LfgReward const * > lfg::LfgRewardContainer
 
typedef std::pair< LfgRewardContainer::const_iterator, LfgRewardContainer::const_iterator > lfg::LfgRewardContainerBounds
 
typedef std::map< uint8, LfgDungeonSet > lfg::LfgCachedDungeonContainer
 
typedef std::map< ObjectGuid, LfgAnswer > lfg::LfgAnswerContainer
 
typedef std::map< ObjectGuid, LfgRoleCheck > lfg::LfgRoleCheckContainer
 
typedef std::map< uint32, LfgProposal > lfg::LfgProposalContainer
 
typedef std::map< ObjectGuid, LfgProposalPlayer > lfg::LfgProposalPlayerContainer
 
typedef std::map< ObjectGuid, LfgPlayerBoot > lfg::LfgPlayerBootContainer
 
typedef std::map< ObjectGuid, LfgGroupData > lfg::LfgGroupDataContainer
 
typedef std::map< ObjectGuid, LfgPlayerData > lfg::LfgPlayerDataContainer
 
typedef std::unordered_map< uint32, LFGDungeonData > lfg::LFGDungeonContainer
 

Enumerations

enum  lfg::LfgOptions {
  lfg::LFG_OPTION_ENABLE_DUNGEON_FINDER = 0x01 ,
  lfg::LFG_OPTION_ENABLE_RAID_BROWSER = 0x02 ,
  lfg::LFG_OPTION_ENABLE_SEASONAL_BOSSES = 0x04
}
 
enum  lfg::LFGMgrEnum {
  lfg::LFG_TIME_ROLECHECK = 45 * IN_MILLISECONDS ,
  lfg::LFG_TIME_BOOT = 120 ,
  lfg::LFG_TIME_PROPOSAL = 40 ,
  lfg::LFG_QUEUEUPDATE_INTERVAL = 8 * IN_MILLISECONDS ,
  lfg::LFG_SPELL_DUNGEON_COOLDOWN = 71328 ,
  lfg::LFG_SPELL_DUNGEON_DESERTER = 71041 ,
  lfg::LFG_SPELL_LUCK_OF_THE_DRAW = 72221 ,
  lfg::LFG_GROUP_KICK_VOTES_NEEDED = 3
}
 
enum  lfg::LfgFlags {
  lfg::LFG_FLAG_UNK1 = 0x1 ,
  lfg::LFG_FLAG_UNK2 = 0x2 ,
  lfg::LFG_FLAG_SEASONAL = 0x4 ,
  lfg::LFG_FLAG_UNK3 = 0x8
}
 
enum  lfg::LfgType {
  lfg::LFG_TYPE_NONE = 0 ,
  lfg::LFG_TYPE_DUNGEON = 1 ,
  lfg::LFG_TYPE_RAID = 2 ,
  lfg::LFG_TYPE_ZONE = 4 ,
  lfg::LFG_TYPE_HEROIC = 5 ,
  lfg::LFG_TYPE_RANDOM = 6
}
 Determines the type of instance. More...
 
enum  lfg::LfgProposalState {
  lfg::LFG_PROPOSAL_INITIATING = 0 ,
  lfg::LFG_PROPOSAL_FAILED = 1 ,
  lfg::LFG_PROPOSAL_SUCCESS = 2
}
 Proposal states. More...
 
enum  lfg::LfgTeleportError {
  lfg::LFG_TELEPORTERROR_OK = 0 ,
  lfg::LFG_TELEPORTERROR_PLAYER_DEAD = 1 ,
  lfg::LFG_TELEPORTERROR_FALLING = 2 ,
  lfg::LFG_TELEPORTERROR_IN_VEHICLE = 3 ,
  lfg::LFG_TELEPORTERROR_FATIGUE = 4 ,
  lfg::LFG_TELEPORTERROR_INVALID_LOCATION = 6 ,
  lfg::LFG_TELEPORTERROR_COMBAT = 8
}
 Teleport errors. More...
 
enum  lfg::LfgJoinResult {
  lfg::LFG_JOIN_OK = 0 ,
  lfg::LFG_JOIN_FAILED = 1 ,
  lfg::LFG_JOIN_GROUPFULL = 2 ,
  lfg::LFG_JOIN_INTERNAL_ERROR = 4 ,
  lfg::LFG_JOIN_NOT_MEET_REQS = 5 ,
  lfg::LFG_JOIN_PARTY_NOT_MEET_REQS = 6 ,
  lfg::LFG_JOIN_MIXED_RAID_DUNGEON = 7 ,
  lfg::LFG_JOIN_MULTI_REALM = 8 ,
  lfg::LFG_JOIN_DISCONNECTED = 9 ,
  lfg::LFG_JOIN_PARTY_INFO_FAILED = 10 ,
  lfg::LFG_JOIN_DUNGEON_INVALID = 11 ,
  lfg::LFG_JOIN_DESERTER = 12 ,
  lfg::LFG_JOIN_PARTY_DESERTER = 13 ,
  lfg::LFG_JOIN_RANDOM_COOLDOWN = 14 ,
  lfg::LFG_JOIN_PARTY_RANDOM_COOLDOWN = 15 ,
  lfg::LFG_JOIN_TOO_MUCH_MEMBERS = 16 ,
  lfg::LFG_JOIN_USING_BG_SYSTEM = 17
}
 Queue join results. More...
 
enum  lfg::LfgRoleCheckState {
  lfg::LFG_ROLECHECK_DEFAULT = 0 ,
  lfg::LFG_ROLECHECK_FINISHED = 1 ,
  lfg::LFG_ROLECHECK_INITIALITING = 2 ,
  lfg::LFG_ROLECHECK_MISSING_ROLE = 3 ,
  lfg::LFG_ROLECHECK_WRONG_ROLES = 4 ,
  lfg::LFG_ROLECHECK_ABORTED = 5 ,
  lfg::LFG_ROLECHECK_NO_ROLE = 6
}
 Role check states. More...
 
enum  lfg::LfgUpdateFlag {
  lfg::LFG_UPDATE_FLAG_NONE = 0x00 ,
  lfg::LFG_UPDATE_FLAG_CHARACTERINFO = 0x01 ,
  lfg::LFG_UPDATE_FLAG_COMMENT = 0x02 ,
  lfg::LFG_UPDATE_FLAG_GROUPLEADER = 0x04 ,
  lfg::LFG_UPDATE_FLAG_GROUPGUID = 0x08 ,
  lfg::LFG_UPDATE_FLAG_ROLES = 0x10 ,
  lfg::LFG_UPDATE_FLAG_AREA = 0x20 ,
  lfg::LFG_UPDATE_FLAG_STATUS = 0x40 ,
  lfg::LFG_UPDATE_FLAG_BINDED = 0x80
}
 
enum  lfg::LfgSeasonalDungeons {
  lfg::LFG_DUNGEON_HEADLESS_HORSEMAN = 285 ,
  lfg::LFG_DUNGEON_FROST_LORD_AHUNE = 286 ,
  lfg::LFG_DUNGEON_COREN_DIREBREW = 287 ,
  lfg::LFG_DUNGEON_CROWN_CHEMICAL_CO = 288
}
 

Functions

template<typename T , FMT_ENABLE_IF(std::is_enum_v< T >) >
auto lfg::format_as (T f)
 

Macro Definition Documentation

◆ sLFGMgr

#define sLFGMgr   lfg::LFGMgr::instance()