Emergency 20 Dokumentation  4.2.0
InventoryComponent-inl.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Namespace ]
6 //[-------------------------------------------------------]
7 namespace em5
8 {
9 
10 
11  //[-------------------------------------------------------]
12  //[ Public methods ]
13  //[-------------------------------------------------------]
15  qsf::game::InventoryComponent(prototype)
16  {
17  // Nothing to do in here
18  }
19 
21  {
22  // Nothing to do in here
23  }
24 
25  inline const std::string& InventoryComponent::getActiveEquipmentName() const
26  {
27  return mEquipmentName;
28  }
29 
30  inline void InventoryComponent::setActiveEquipmentName(const std::string& name)
31  {
32  mEquipmentName = name;
33  }
34 
35 
36 //[-------------------------------------------------------]
37 //[ Namespace ]
38 //[-------------------------------------------------------]
39 } // em5
Definition: ActionPriority.h:13
InventoryComponent(qsf::Prototype *prototype)
Constructor.
Definition: InventoryComponent-inl.h:14
virtual ~InventoryComponent()
Destructor.
Definition: InventoryComponent-inl.h:20
Definition: PickupPersonByParamedicAction.h:21
void setActiveEquipmentName(const std::string &name)
Definition: InventoryComponent-inl.h:30
EMERGENCY 5 Inventory component class (Extends qsf::game::InventoryComponent um multiplay only data) ...
Definition: InventoryComponent.h:32
Prototype class.
Definition: Prototype.h:100
const std::string & getActiveEquipmentName() const
Definition: InventoryComponent-inl.h:25