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
MWWorld::ActionOpen Class Reference

#include <actionopen.hpp>

Inheritance diagram for MWWorld::ActionOpen:
Collaboration diagram for MWWorld::ActionOpen:

Public Member Functions

 ActionOpen (const Ptr &container, bool loot=false)
 
- Public Member Functions inherited from MWWorld::Action
const PtrgetTarget () const
 
 Action (bool keepSound=false, const Ptr &target=Ptr())
 
virtual ~Action ()
 
virtual bool isNullAction ()
 Is running this action a no-op? (default false) More...
 
void execute (const Ptr &actor)
 
void setSound (const std::string &id)
 
void setSoundOffset (float offset)
 

Private Member Functions

virtual void executeImp (const MWWorld::Ptr &actor)
 

Private Attributes

bool mLoot
 

Additional Inherited Members

- Protected Member Functions inherited from MWWorld::Action
void setTarget (const Ptr &)
 

Constructor & Destructor Documentation

MWWorld::ActionOpen::ActionOpen ( const Ptr container,
bool  loot = false 
)
Parameters
containerThe Container the Player has activated.
lootIf true, display the "dispose of corpse" button

Member Function Documentation

void MWWorld::ActionOpen::executeImp ( const MWWorld::Ptr actor)
privatevirtual

Implements MWWorld::Action.

Here is the call graph for this function:

Member Data Documentation

bool MWWorld::ActionOpen::mLoot
private

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