TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
LFGMgr.h File Reference
#include "DBCStructure.h"
#include "Field.h"
#include "LFG.h"
#include "LFGQueue.h"
#include "LFGGroupData.h"
#include "LFGPlayerData.h"
+ Include dependency graph for LFGMgr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  lfg::LfgJoinResultData
 
struct  lfg::LfgUpdateData
 
struct  lfg::LfgQueueStatusData
 
struct  lfg::LfgPlayerRewardData
 
struct  lfg::LfgReward
 Reward info. More...
 
struct  lfg::LfgProposalPlayer
 Stores player data related to proposal to join. More...
 
struct  lfg::LfgProposal
 Stores group data related to proposal to join. More...
 
struct  lfg::LfgRoleCheck
 Stores all rolecheck info of a group that wants to join. More...
 
struct  lfg::LfgPlayerBoot
 Stores information of a current vote to kick someone from a group. More...
 
struct  lfg::LFGDungeonData
 
class  lfg::LFGMgr
 

Namespaces

 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 }
 
enum  lfg::LFGMgrEnum {
  lfg::LFG_TIME_ROLECHECK = 45 * IN_MILLISECONDS, lfg::LFG_TIME_BOOT = 120, lfg::LFG_TIME_PROPOSAL = 45, lfg::LFG_QUEUEUPDATE_INTERVAL = 15 * 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_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_CHARMING = 8
}
 Teleport errors. More...
 
enum  lfg::LfgJoinResult {
  lfg::LFG_JOIN_OK = 0x00, lfg::LFG_JOIN_FAILED = 0x1B, lfg::LFG_JOIN_GROUPFULL = 0x1C, lfg::LFG_JOIN_INTERNAL_ERROR = 0x1E,
  lfg::LFG_JOIN_NOT_MEET_REQS = 0x1F, lfg::LFG_JOIN_PARTY_NOT_MEET_REQS = 6, lfg::LFG_JOIN_MIXED_RAID_DUNGEON = 0x20, lfg::LFG_JOIN_MULTI_REALM = 0x21,
  lfg::LFG_JOIN_DISCONNECTED = 0x22, lfg::LFG_JOIN_PARTY_INFO_FAILED = 0x23, lfg::LFG_JOIN_DUNGEON_INVALID = 0x24, lfg::LFG_JOIN_DESERTER = 0x25,
  lfg::LFG_JOIN_PARTY_DESERTER = 0x26, lfg::LFG_JOIN_RANDOM_COOLDOWN = 0x27, lfg::LFG_JOIN_PARTY_RANDOM_COOLDOWN = 0x28, lfg::LFG_JOIN_TOO_MUCH_MEMBERS = 0x29,
  lfg::LFG_JOIN_USING_BG_SYSTEM = 0x2A, lfg::LFG_JOIN_ROLE_CHECK_FAILED = 0x2B
}
 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...
 

Macro Definition Documentation

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