|
| | ItemRequestManager () |
| |
| void | add (CanRequestItem *requester, ItemType type, int value, bool deleteDuplicates=true) |
| |
| void | add (CanRequestItem *requester, ItemAction category, int value, int minimumLevel, bool deleteDuplicates=true) |
| |
| void | removeAll (HasMoney *requester, ItemType type) |
| |
| void | removeAll (HasMoney *requester, ItemAction category) |
| |
| std::optional< ItemRequest > | pullMostValuableRequest (bool returnZeroValues) |
| |
| std::optional< ItemRequestCategory > | pullMostValuableRequestCategory (bool returnZeroValues) |
| |
| double | getAverageValue (ItemType type) const |
| |
| double | getAverageValue (ItemAction category, int minLevel) const |
| |
| int | getTotalValue () const |
| |
| int | getNumContracts () const |
| |
| bool | empty () const |
| |
| int | size () |
| |
| void | print () |
| |
◆ ItemRequestManager()
| ItemRequestManager::ItemRequestManager |
( |
| ) |
|
|
inline |
◆ add() [1/2]
| void ItemRequestManager::add |
( |
CanRequestItem * |
requester, |
|
|
ItemType |
type, |
|
|
int |
value, |
|
|
bool |
deleteDuplicates = true |
|
) |
| |
|
inline |
◆ add() [2/2]
| void ItemRequestManager::add |
( |
CanRequestItem * |
requester, |
|
|
ItemAction |
category, |
|
|
int |
value, |
|
|
int |
minimumLevel, |
|
|
bool |
deleteDuplicates = true |
|
) |
| |
|
inline |
◆ empty()
| bool ItemRequestManager::empty |
( |
| ) |
const |
|
inline |
◆ getAverageValue() [1/2]
| double ItemRequestManager::getAverageValue |
( |
ItemType |
type | ) |
const |
|
inline |
◆ getAverageValue() [2/2]
| double ItemRequestManager::getAverageValue |
( |
ItemAction |
category, |
|
|
int |
minLevel |
|
) |
| const |
|
inline |
◆ getNumContracts()
| int ItemRequestManager::getNumContracts |
( |
| ) |
const |
|
inline |
◆ getTotalValue()
| int ItemRequestManager::getTotalValue |
( |
| ) |
const |
|
inline |
◆ print()
| void ItemRequestManager::print |
( |
| ) |
|
|
inline |
◆ pullMostValuableRequest()
| std::optional<ItemRequest> ItemRequestManager::pullMostValuableRequest |
( |
bool |
returnZeroValues | ) |
|
|
inline |
◆ pullMostValuableRequestCategory()
| std::optional<ItemRequestCategory> ItemRequestManager::pullMostValuableRequestCategory |
( |
bool |
returnZeroValues | ) |
|
|
inline |
◆ removeAll() [1/2]
◆ removeAll() [2/2]
◆ size()
| int ItemRequestManager::size |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: