1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-07 03:40:15 +00:00
OpenMW/apps/openmw/mwmechanics/security.hpp

28 lines
680 B
C++
Raw Normal View History

2013-05-19 18:40:37 +02:00
#ifndef MWMECHANICS_SECURITY_H
#define MWMECHANICS_SECURITY_H
#include "../mwworld/ptr.hpp"
namespace MWMechanics
{
/// @brief implementation of Security skill
class Security
{
public:
2022-09-22 21:26:05 +03:00
Security(const MWWorld::Ptr& actor);
2013-05-19 23:19:48 +02:00
2022-09-22 21:26:05 +03:00
void pickLock(const MWWorld::Ptr& lock, const MWWorld::Ptr& lockpick, std::string_view& resultMessage,
std::string_view& resultSound);
void probeTrap(const MWWorld::Ptr& trap, const MWWorld::Ptr& probe, std::string_view& resultMessage,
std::string_view& resultSound);
2013-05-19 23:19:48 +02:00
private:
float mAgility, mLuck, mSecuritySkill, mFatigueTerm;
MWWorld::Ptr mActor;
2013-05-19 18:40:37 +02:00
};
}
#endif