mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-11-04 05:56:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			700 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			700 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef MWMECHANICS_SECURITY_H
 | 
						|
#define MWMECHANICS_SECURITY_H
 | 
						|
 | 
						|
#include "../mwworld/ptr.hpp"
 | 
						|
 | 
						|
namespace MWMechanics
 | 
						|
{
 | 
						|
 | 
						|
    /// @brief implementation of Security skill
 | 
						|
    class Security
 | 
						|
    {
 | 
						|
    public:
 | 
						|
        Security (const MWWorld::Ptr& actor);
 | 
						|
 | 
						|
        void pickLock (const MWWorld::Ptr& lock, const MWWorld::Ptr& lockpick,
 | 
						|
                              std::string& resultMessage, std::string& resultSound);
 | 
						|
        void probeTrap (const MWWorld::Ptr& trap, const MWWorld::Ptr& probe,
 | 
						|
                               std::string& resultMessage, std::string& resultSound);
 | 
						|
 | 
						|
    private:
 | 
						|
        float mAgility, mLuck, mSecuritySkill, mFatigueTerm;
 | 
						|
        MWWorld::Ptr mActor;
 | 
						|
    };
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |