1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 12:32:36 +00:00
OpenMW/apps/openmw/mwmechanics/levelledlist.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
447 B
C++
Raw Normal View History

#ifndef OPENMW_MECHANICS_LEVELLEDLIST_H
#define OPENMW_MECHANICS_LEVELLEDLIST_H
2016-06-17 23:07:16 +09:00
#include <components/misc/rng.hpp>
2023-06-11 15:13:46 +02:00
#include <optional>
namespace ESM
{
struct LevelledListBase;
class RefId;
}
namespace MWMechanics
{
/// @return ID of resulting item, or empty if none
2023-06-11 15:13:46 +02:00
ESM::RefId getLevelledItem(
const ESM::LevelledListBase* levItem, bool creature, Misc::Rng::Generator& prng, std::optional<int> level = {});
}
#endif