OpenEnroth 73e68f7
|
#include "ItemEnumFunctions.h"
#include <cassert>
#include <string>
#include "Engine/Localization.h"
#include "Utility/IndexedArray.h"
Functions | |
std::string | displayNameForDamageType (DamageType damageType, Localization *localization) |
SpellId | spellForSpellbook (ItemId spellbook) |
SpellId | spellForScroll (ItemId scroll) |
SpellId | spellForWand (ItemId wand) |
Variables | |
static constexpr IndexedArray< SpellId, ITEM_FIRST_WAND, ITEM_LAST_WAND > | spellByWand |
static constexpr IndexedArray< SpellId, ITEM_FIRST_SPELL_SCROLL, ITEM_LAST_SPELL_SCROLL > | spellByScroll |
static constexpr IndexedArray< SpellId, ITEM_FIRST_SPELLBOOK, ITEM_LAST_SPELLBOOK > | spellBySpellbook |
std::string displayNameForDamageType | ( | DamageType | damageType, |
Localization * | localization | ||
) |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |