AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
LFG.h File Reference
#include "ObjectGuid.h"
#include "WorldPacket.h"
#include <array>
#include <map>
#include <sstream>

Go to the source code of this file.

Classes

class  lfg::Lfg5Guids
 

Namespaces

namespace  lfg
 

Typedefs

typedef std::list< Lfg5Guids > lfg::Lfg5GuidsList
 
typedef std::set< uint32lfg::LfgDungeonSet
 
typedef std::map< uint32, uint32lfg::LfgLockMap
 
typedef std::map< ObjectGuid, LfgLockMap > lfg::LfgLockPartyMap
 
typedef GuidSet lfg::LfgGuidSet
 
typedef GuidList lfg::LfgGuidList
 
typedef std::map< ObjectGuid, uint8lfg::LfgRolesMap
 
typedef std::map< ObjectGuid, ObjectGuidlfg::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_LEAVE_RAIDBROWSER = 2 ,
  lfg::LFG_UPDATETYPE_JOIN_RAIDBROWSER = 3 ,
  lfg::LFG_UPDATETYPE_ROLECHECK_ABORTED = 4 ,
  lfg::LFG_UPDATETYPE_JOIN_QUEUE = 5 ,
  lfg::LFG_UPDATETYPE_ROLECHECK_FAILED = 6 ,
  lfg::LFG_UPDATETYPE_REMOVED_FROM_QUEUE = 7 ,
  lfg::LFG_UPDATETYPE_PROPOSAL_FAILED = 8 ,
  lfg::LFG_UPDATETYPE_PROPOSAL_DECLINED = 9 ,
  lfg::LFG_UPDATETYPE_GROUP_FOUND = 10 ,
  lfg::LFG_UPDATETYPE_ADDED_TO_QUEUE = 12 ,
  lfg::LFG_UPDATETYPE_PROPOSAL_BEGIN = 13 ,
  lfg::LFG_UPDATETYPE_UPDATE_STATUS = 14 ,
  lfg::LFG_UPDATETYPE_GROUP_MEMBER_OFFLINE = 15 ,
  lfg::LFG_UPDATETYPE_GROUP_DISBAND_UNK16 = 16
}
 
enum  lfg::LfgState {
  lfg::LFG_STATE_NONE ,
  lfg::LFG_STATE_ROLECHECK ,
  lfg::LFG_STATE_QUEUED ,
  lfg::LFG_STATE_PROPOSAL ,
  lfg::LFG_STATE_BOOT ,
  lfg::LFG_STATE_DUNGEON ,
  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)