This class stores an array of LootEntry and calculates required loot on a newly dead mob.
More...
#include <spawnmanager.h>
List of all members.
Detailed Description
This class stores an array of LootEntry and calculates required loot on a newly dead mob.
Definition at line 241 of file spawnmanager.h.
Constructor & Destructor Documentation
LootEntrySet::~LootEntrySet |
( |
| ) |
|
Member Function Documentation
void LootEntrySet::AddLootEntry |
( |
LootEntry * |
entry | ) |
|
This adds another item to the entries array.
void LootEntrySet::CreateLoot |
( |
psCharacter * |
character, |
|
|
size_t |
numModifiers = 0 |
|
) |
| |
This calculates the loot for the killed character, given the current set of loot entries, and adds them to the character as lootable inventory.
- Parameters:
-
character | the character who has been killed |
numModifiers | max number of modifiers to use |
void LootEntrySet::CreateMultipleLoot |
( |
psCharacter * |
chr, |
|
|
size_t |
numModifiers = 0 |
|
) |
| [protected] |
void LootEntrySet::CreateSingleLoot |
( |
psCharacter * |
chr | ) |
[protected] |
Member Data Documentation
The documentation for this class was generated from the following file: