|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <LootMgr.h>
Public Member Functions | |
| LootView (Loot &_loot, Player *_viewer, PermissionTypes _permission=PermissionTypes::ALL_PERMISSION) | |
| void | WriteData (ObjectGuid guid, LootType lootType, WorldPacket *data, bool isAoE=false) |
Public Attributes | |
| Loot & | loot |
| PermissionTypes | permission |
| Player * | viewer |
|
inline |
Definition at line 373 of file LootMgr.h.
References ALL_PERMISSION, loot, permission, and viewer.
| void LootView::WriteData | ( | ObjectGuid | guid, |
| LootType | lootType, | ||
| WorldPacket * | data, | ||
| bool | isAoE = false ) |
Definition at line 866 of file LootMgr.cpp.
References ALL_PERMISSION, ByteBuffer::append(), ByteBuffer::bitwpos(), ByteBuffer::FlushBits(), LootItem::follow_loot_rules, GROUP_PERMISSION, LootItem::is_blocked, LootItem::is_looted, loot, LOOT_SLOT_TYPE_ALLOW_LOOT, LOOT_SLOT_TYPE_MASTER, LOOT_SLOT_TYPE_OWNER, LOOT_SLOT_TYPE_ROLL_ONGOING, MASTER_PERMISSION, NONE_PERMISSION, OWNER_PERMISSION, permission, ByteBuffer::PutBits(), ROUND_ROBIN_PERMISSION, viewer, LootItem::WriteBasicDataPart(), ByteBuffer::WriteBit(), LootItem::WriteBitDataPart(), ByteBuffer::WriteBits(), and ByteBuffer::WriteByteSeq().
Referenced by Player::SendLoot().
| Loot& LootView::loot |
Definition at line 369 of file LootMgr.h.
Referenced by LootView(), and WriteData().
| PermissionTypes LootView::permission |
Definition at line 371 of file LootMgr.h.
Referenced by LootView(), and WriteData().
| Player* LootView::viewer |
Definition at line 370 of file LootMgr.h.
Referenced by LootView(), and WriteData().