OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MWMechanics::Pickpocket Class Reference

#include <pickpocket.hpp>

Collaboration diagram for MWMechanics::Pickpocket:

Public Member Functions

 Pickpocket (const MWWorld::Ptr &thief, const MWWorld::Ptr &victim)
 
bool pick (MWWorld::Ptr item, int count)
 
bool finish ()
 

Private Member Functions

bool getDetected (float valueTerm)
 
float getChanceModifier (const MWWorld::Ptr &ptr, float add=0)
 

Private Attributes

MWWorld::Ptr mThief
 
MWWorld::Ptr mVictim
 

Constructor & Destructor Documentation

MWMechanics::Pickpocket::Pickpocket ( const MWWorld::Ptr thief,
const MWWorld::Ptr victim 
)

Member Function Documentation

bool MWMechanics::Pickpocket::finish ( )

End the pickpocketing process

Returns
Was the thief detected?

Here is the call graph for this function:

Here is the caller graph for this function:

float MWMechanics::Pickpocket::getChanceModifier ( const MWWorld::Ptr ptr,
float  add = 0 
)
private

Here is the call graph for this function:

Here is the caller graph for this function:

bool MWMechanics::Pickpocket::getDetected ( float  valueTerm)
private

Here is the call graph for this function:

Here is the caller graph for this function:

bool MWMechanics::Pickpocket::pick ( MWWorld::Ptr  item,
int  count 
)

Steal some items

Returns
Was the thief detected?

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

MWWorld::Ptr MWMechanics::Pickpocket::mThief
private
MWWorld::Ptr MWMechanics::Pickpocket::mVictim
private

The documentation for this class was generated from the following files: