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

Go to the source code of this file.

Classes

struct  lfg::LfgLockInfoData
 

Namespaces

 lfg
 

Typedefs

typedef std::set< uint32lfg::LfgDungeonSet
 
typedef std::map< uint32,
LfgLockInfoData > 
lfg::LfgLockMap
 
typedef std::map< ObjectGuid,
LfgLockMap > 
lfg::LfgLockPartyMap
 
typedef std::map< ObjectGuid,
uint8
lfg::LfgRolesMap
 
typedef std::map< ObjectGuid,
ObjectGuid
lfg::LfgGroupsMap
 

Enumerations

enum  lfg::LFGEnum { lfg::LFG_TANKS_NEEDED = 1, lfg::LFG_HEALERS_NEEDED = 1, lfg::LFG_DPS_NEEDED = 3 }
 
enum  lfg::LfgRoles {
  lfg::PLAYER_ROLE_NONE = 0x00, lfg::PLAYER_ROLE_LEADER = 0x01, lfg::PLAYER_ROLE_TANK = 0x02, lfg::PLAYER_ROLE_HEALER = 0x04,
  lfg::PLAYER_ROLE_DAMAGE = 0x08
}
 
enum  lfg::LfgUpdateType {
  lfg::LFG_UPDATETYPE_DEFAULT = 0, lfg::LFG_UPDATETYPE_LEADER_UNK1 = 1, lfg::LFG_UPDATETYPE_ROLECHECK_ABORTED = 4, lfg::LFG_UPDATETYPE_JOIN_QUEUE = 6,
  lfg::LFG_UPDATETYPE_ROLECHECK_FAILED = 7, lfg::LFG_UPDATETYPE_REMOVED_FROM_QUEUE = 8, lfg::LFG_UPDATETYPE_PROPOSAL_FAILED = 9, lfg::LFG_UPDATETYPE_PROPOSAL_DECLINED = 10,
  lfg::LFG_UPDATETYPE_GROUP_FOUND = 11, lfg::LFG_UPDATETYPE_ADDED_TO_QUEUE = 13, lfg::LFG_UPDATETYPE_PROPOSAL_BEGIN = 14, lfg::LFG_UPDATETYPE_UPDATE_STATUS = 15,
  lfg::LFG_UPDATETYPE_GROUP_MEMBER_OFFLINE = 16, lfg::LFG_UPDATETYPE_GROUP_DISBAND_UNK16 = 17, lfg::LFG_UPDATETYPE_JOIN_QUEUE_INITIAL = 24, lfg::LFG_UPDATETYPE_DUNGEON_FINISHED = 25,
  lfg::LFG_UPDATETYPE_PARTY_ROLE_NOT_AVAILABLE = 43, lfg::LFG_UPDATETYPE_JOIN_LFG_OBJECT_FAILED = 45
}
 
enum  lfg::LfgState {
  lfg::LFG_STATE_NONE, lfg::LFG_STATE_ROLECHECK, lfg::LFG_STATE_QUEUED, lfg::LFG_STATE_PROPOSAL,
  lfg::LFG_STATE_DUNGEON = 5, lfg::LFG_STATE_FINISHED_DUNGEON, lfg::LFG_STATE_RAIDBROWSER
}
 
enum  lfg::LfgLockStatusType {
  lfg::LFG_LOCKSTATUS_INSUFFICIENT_EXPANSION = 1, lfg::LFG_LOCKSTATUS_TOO_LOW_LEVEL = 2, lfg::LFG_LOCKSTATUS_TOO_HIGH_LEVEL = 3, lfg::LFG_LOCKSTATUS_TOO_LOW_GEAR_SCORE = 4,
  lfg::LFG_LOCKSTATUS_TOO_HIGH_GEAR_SCORE = 5, lfg::LFG_LOCKSTATUS_RAID_LOCKED = 6, lfg::LFG_LOCKSTATUS_ATTUNEMENT_TOO_LOW_LEVEL = 1001, lfg::LFG_LOCKSTATUS_ATTUNEMENT_TOO_HIGH_LEVEL = 1002,
  lfg::LFG_LOCKSTATUS_QUEST_NOT_COMPLETED = 1022, lfg::LFG_LOCKSTATUS_MISSING_ITEM = 1025, lfg::LFG_LOCKSTATUS_NOT_IN_SEASON = 1031, lfg::LFG_LOCKSTATUS_MISSING_ACHIEVEMENT = 1034
}
 Instance lock types. More...
 
enum  lfg::LfgAnswer { lfg::LFG_ANSWER_PENDING = -1, lfg::LFG_ANSWER_DENY = 0, lfg::LFG_ANSWER_AGREE = 1 }
 Answer state (Also used to check compatibilites) More...
 

Functions

std::string lfg::ConcatenateDungeons (LfgDungeonSet const &dungeons)
 
std::string lfg::GetRolesString (uint8 roles)
 
std::string lfg::GetStateString (LfgState state)