Hi All,
I recently compiled the trinitycore 3.3.5a from HERE and everything was working fine, I attempted to add the CFBG from this core HERE
I resolved some of the errors but I am not stuck on the one below on the CFBGQueue.cpp.
Error Code:
The cpp File
I recently compiled the trinitycore 3.3.5a from HERE and everything was working fine, I attempted to add the CFBG from this core HERE
I resolved some of the errors but I am not stuck on the one below on the CFBGQueue.cpp.
Error Code:
binary '[': 'BattlegroundQueue::GroupsQueueType' does not define this operator or a conversion to a type acceptable to the predefined operator
The cpp File
#include "CFBGQueue.h"
#include "BattlegroundMgr.h"
#include "Battleground.h"
#include "BattlegroundQueue.h"
#include "World.h"
#include "ScriptMgr.h"
class GroupList : public std::list<GroupQueueInfo*>
{
public:
void AddGroups(std::list<GroupQueueInfo*> list)
{
insert(end(), list.begin(), list.end());
}
void Sort()
{
sort([](GroupQueueInfo* a, GroupQueueInfo* b) { return a->JoinTime < b->JoinTime; });
}
};
bool CFBGQueue::CheckMixedMatch(BattlegroundQueue * queue, Battleground * bg_template, BattlegroundBracketId bracket_id, uint32 minPlayers, uint32 maxPlayers)
{
return CFBGGroupInserter(queue, bg_template, bracket_id, maxPlayers, maxPlayers, minPlayers);
}
bool CFBGQueue::MixPlayersToBG(BattlegroundQueue * queue, Battleground * bg, BattlegroundBracketId bracket_id)
{
return CFBGGroupInserter(queue, bg