#include "LFG.h"
◆ Lfg5Guids() [1/4]
| lfg::Lfg5Guids::Lfg5Guids |
( |
| ) |
|
|
inline |
128 {
131 }
static ObjectGuid const Empty
Definition ObjectGuid.h:120
LfgRolesMap * roles
Definition LFG.h:126
std::array< ObjectGuid, 5 > guids
Definition LFG.h:125
References ObjectGuid::Empty, guids, and roles.
◆ Lfg5Guids() [2/4]
◆ Lfg5Guids() [3/4]
| lfg::Lfg5Guids::Lfg5Guids |
( |
Lfg5Guids const & |
x | ) |
|
|
inline |
141 {
144 }
std::map< ObjectGuid, uint8 > LfgRolesMap
Definition LFG.h:119
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 |
186 {
187
189 {
191 return;
192 }
193
195 {
197 {
199 }
200
202 {
204 }
205
207 {
209 }
210
213
214 return;
215 }
216
218 {
220 return;
221 }
222
224 {
226 {
228 }
229
231 {
233 }
234
237
238 return;
239 }
240
242 {
244 return;
245 }
246
248 {
250 {
252 }
253
256
257 return;
258 }
259
261 {
263 return;
264 }
265
267 {
270 return;
271 }
272
274 }
References guids.
Referenced by lfg::LFGQueue::CheckCompatibility().
◆ operator<()
| bool lfg::Lfg5Guids::operator< |
( |
const Lfg5Guids & |
x | ) |
const |
|
inline |
436 {
437 if (
guids[0] <= x.guids[0])
438 {
439 if (
guids[0] != x.guids[0])
440 {
441 return true;
442 }
443
444 if (
guids[1] <= x.guids[1])
445 {
446 if (
guids[1] != x.guids[1])
447 {
448 return true;
449 }
450
451 if (
guids[2] <= x.guids[2])
452 {
453 if (
guids[2] != x.guids[2])
454 {
455 return true;
456 }
457
458 if (
guids[3] <= x.guids[3])
459 {
460 if (
guids[3] != x.guids[3])
461 {
462 return true;
463 }
464
465 if (
guids[4] <= x.guids[4])
466 {
467 return !(
guids[4] == x.guids[4]);
468 }
469 }
470 }
471 }
472 }
473
474 return false;
475 }
References guids.
◆ operator=()
| void lfg::Lfg5Guids::operator= |
( |
const Lfg5Guids & |
x | ) |
|
|
inline |
◆ operator==()
| bool lfg::Lfg5Guids::operator== |
( |
const Lfg5Guids & |
x | ) |
const |
|
inline |
478 {
479 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];
480 }
References guids.
◆ remove()
| void lfg::Lfg5Guids::remove |
( |
const ObjectGuid & |
g | ) |
|
|
inline |
298 {
299
301 {
303 {
305 }
306 else
307 {
309 return;
310 }
311
313 {
315 }
316 else
317 {
319 return;
320 }
321
323 {
325 }
326 else
327 {
329 return;
330 }
331
333 {
335 }
336 else
337 {
339 return;
340 }
341
343 return;
344 }
345
347 {
349 {
351 }
352 else
353 {
355 return;
356 }
357
359 {
361 }
362 else
363 {
365 return;
366 }
367
369 {
371 }
372 else
373 {
375 return;
376 }
377
379 return;
380 }
381
383 {
385 {
387 }
388 else
389 {
391 return;
392 }
393
395 {
397 }
398 else
399 {
401 return;
402 }
403
405 return;
406 }
407
409 {
411 {
413 }
414 else
415 {
417 return;
418 }
419
421 return;
422 }
423
425 {
427 }
428 }
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