#include "LFG.h"
◆ Lfg5Guids() [1/4]
lfg::Lfg5Guids::Lfg5Guids |
( |
| ) |
|
|
inline |
120 {
123 }
static ObjectGuid const Empty
Definition ObjectGuid.h:120
LfgRolesMap * roles
Definition LFG.h:118
std::array< ObjectGuid, 5 > guids
Definition LFG.h:117
References ObjectGuid::Empty, guids, and roles.
◆ Lfg5Guids() [2/4]
◆ Lfg5Guids() [3/4]
lfg::Lfg5Guids::Lfg5Guids |
( |
Lfg5Guids const & |
x | ) |
|
|
inline |
133 {
136 }
std::map< ObjectGuid, uint8 > LfgRolesMap
Definition LFG.h:111
References guids, and roles.
◆ Lfg5Guids() [4/4]
lfg::Lfg5Guids::Lfg5Guids |
( |
Lfg5Guids const & |
x, |
|
|
bool |
|
|
) |
| |
|
inline |
◆ ~Lfg5Guids()
lfg::Lfg5Guids::~Lfg5Guids |
( |
| ) |
|
|
inline |
◆ addRoles()
◆ clear()
void lfg::Lfg5Guids::clear |
( |
| ) |
|
|
inline |
◆ empty()
bool lfg::Lfg5Guids::empty |
( |
| ) |
const |
|
inline |
◆ force_insert_front()
void lfg::Lfg5Guids::force_insert_front |
( |
const ObjectGuid & |
g | ) |
|
|
inline |
◆ front()
◆ hasGuid()
bool lfg::Lfg5Guids::hasGuid |
( |
const ObjectGuid & |
g | ) |
const |
|
inline |
◆ insert()
void lfg::Lfg5Guids::insert |
( |
const ObjectGuid & |
g | ) |
|
|
inline |
178 {
179
181 {
183 return;
184 }
185
187 {
189 {
191 }
192
194 {
196 }
197
199 {
201 }
202
205
206 return;
207 }
208
210 {
212 return;
213 }
214
216 {
218 {
220 }
221
223 {
225 }
226
229
230 return;
231 }
232
234 {
236 return;
237 }
238
240 {
242 {
244 }
245
248
249 return;
250 }
251
253 {
255 return;
256 }
257
259 {
262 return;
263 }
264
266 }
References guids.
Referenced by lfg::LFGQueue::CheckCompatibility().
◆ operator<()
bool lfg::Lfg5Guids::operator< |
( |
const Lfg5Guids & |
x | ) |
const |
|
inline |
428 {
429 if (
guids[0] <= x.guids[0])
430 {
431 if (
guids[0] != x.guids[0])
432 {
433 return true;
434 }
435
436 if (
guids[1] <= x.guids[1])
437 {
438 if (
guids[1] != x.guids[1])
439 {
440 return true;
441 }
442
443 if (
guids[2] <= x.guids[2])
444 {
445 if (
guids[2] != x.guids[2])
446 {
447 return true;
448 }
449
450 if (
guids[3] <= x.guids[3])
451 {
452 if (
guids[3] != x.guids[3])
453 {
454 return true;
455 }
456
457 if (
guids[4] <= x.guids[4])
458 {
459 return !(
guids[4] == x.guids[4]);
460 }
461 }
462 }
463 }
464 }
465
466 return false;
467 }
References guids.
◆ operator=()
void lfg::Lfg5Guids::operator= |
( |
const Lfg5Guids & |
x | ) |
|
|
inline |
◆ operator==()
bool lfg::Lfg5Guids::operator== |
( |
const Lfg5Guids & |
x | ) |
const |
|
inline |
470 {
471 return guids[0] == x.guids[0] &&
guids[1] == x.guids[1] &&
guids[2] == x.guids[2] &&
guids[3] == x.guids[3] &&
guids[4] == x.guids[4];
472 }
References guids.
◆ remove()
void lfg::Lfg5Guids::remove |
( |
const ObjectGuid & |
g | ) |
|
|
inline |
290 {
291
293 {
295 {
297 }
298 else
299 {
301 return;
302 }
303
305 {
307 }
308 else
309 {
311 return;
312 }
313
315 {
317 }
318 else
319 {
321 return;
322 }
323
325 {
327 }
328 else
329 {
331 return;
332 }
333
335 return;
336 }
337
339 {
341 {
343 }
344 else
345 {
347 return;
348 }
349
351 {
353 }
354 else
355 {
357 return;
358 }
359
361 {
363 }
364 else
365 {
367 return;
368 }
369
371 return;
372 }
373
375 {
377 {
379 }
380 else
381 {
383 return;
384 }
385
387 {
389 }
390 else
391 {
393 return;
394 }
395
397 return;
398 }
399
401 {
403 {
405 }
406 else
407 {
409 return;
410 }
411
413 return;
414 }
415
417 {
419 }
420 }
References guids.
Referenced by lfg::LFGMgr::RemoveProposal().
◆ size()
uint8 lfg::Lfg5Guids::size |
( |
| ) |
const |
|
inline |
◆ toString()
std::string lfg::Lfg5Guids::toString |
( |
| ) |
const |
|
inline |
◆ guids
std::array<ObjectGuid, 5> lfg::Lfg5Guids::guids = { } |
Referenced by lfg::LFGMgr::AllQueued(), lfg::LFGQueue::CheckCompatibility(), clear(), empty(), force_insert_front(), front(), hasGuid(), insert(), Lfg5Guids(), Lfg5Guids(), Lfg5Guids(), Lfg5Guids(), operator<(), operator=(), operator==(), remove(), lfg::LFGMgr::RemoveProposal(), size(), toString(), and lfg::LFGMgr::UpdateProposal().
◆ roles
The documentation for this class was generated from the following file:
- azerothcore-wotlk/src/server/game/DungeonFinding/LFG.h