TrinityCore
AELootResult Class Reference

#include <Loot.h>

Classes

struct  ResultValue
 

Public Types

typedef std::vector< ResultValueOrderedStorage
 

Public Member Functions

void Add (Item *item, uint8 count, LootType lootType, uint32 dungeonEncounterId)
 
OrderedStorage::const_iterator begin () const
 
OrderedStorage::const_iterator end () const
 

Public Attributes

OrderedStorage _byOrder
 
std::unordered_map< Item *, OrderedStorage::size_type > _byItem
 

Detailed Description

Definition at line 357 of file Loot.h.

Member Typedef Documentation

◆ OrderedStorage

Definition at line 368 of file Loot.h.

Member Function Documentation

◆ Add()

void AELootResult::Add ( Item item,
uint8  count,
LootType  lootType,
uint32  dungeonEncounterId 
)

Definition at line 1060 of file Loot.cpp.

+ Here is the caller graph for this function:

◆ begin()

AELootResult::OrderedStorage::const_iterator AELootResult::begin ( ) const

Definition at line 1077 of file Loot.cpp.

◆ end()

AELootResult::OrderedStorage::const_iterator AELootResult::end ( ) const

Definition at line 1082 of file Loot.cpp.

Member Data Documentation

◆ _byItem

std::unordered_map<Item*, OrderedStorage::size_type> AELootResult::_byItem

Definition at line 376 of file Loot.h.

◆ _byOrder

OrderedStorage AELootResult::_byOrder

Definition at line 375 of file Loot.h.


The documentation for this class was generated from the following files: