#include <Loot.h>
Definition at line 247 of file Loot.h.
◆ RollVoteMap
◆ LootRoll() [1/3]
◆ ~LootRoll()
◆ LootRoll() [2/3]
◆ LootRoll() [3/3]
◆ AllPlayerVoted()
| bool LootRoll::AllPlayerVoted |
( |
RollVoteMap::const_iterator & |
winnerItr | ) |
|
|
private |
Check if all player have voted and return true in that case. Also return current winner.
- Parameters
-
| winnerItr | > will be different than m_rollCoteMap.end() if winner exist. (Someone voted greed or need) |
- Returns
- true if all players voted
Definition at line 587 of file Loot.cpp.
◆ FillPacket()
◆ Finish()
| void LootRoll::Finish |
( |
RollVoteMap::const_iterator |
winnerItr | ) |
|
|
private |
◆ GetItemDisenchantLootId()
◆ GetItemDisenchantSkillRequired()
◆ IsLootItem()
| bool LootRoll::IsLootItem |
( |
ObjectGuid const & |
lootObject, |
|
|
uint32 |
lootListId |
|
) |
| const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ PlayerVote()
◆ SendAllPassed()
| void LootRoll::SendAllPassed |
( |
| ) |
|
|
private |
◆ SendLootRollWon()
◆ SendRoll()
◆ SendStartRoll()
| void LootRoll::SendStartRoll |
( |
| ) |
|
|
private |
◆ TryToStart()
| bool LootRoll::TryToStart |
( |
Map * |
map, |
|
|
Loot & |
loot, |
|
|
uint32 |
lootListId, |
|
|
uint16 |
enchantingSkill |
|
) |
| |
◆ UpdateRoll()
| bool LootRoll::UpdateRoll |
( |
| ) |
|
◆ m_endTime
◆ m_isStarted
| bool LootRoll::m_isStarted |
|
private |
◆ m_loot
◆ m_lootItem
◆ m_map
◆ m_rollVoteMap
◆ m_voteMask
The documentation for this class was generated from the following files: