Emergency 20 Dokumentation  4.2.0
CivilistSpawnPointComponent-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  {
16  // Nothing to do in here
17  }
18 
20  {
21  return mSpawnGroup.getHash();
22  }
23 
24  inline const std::string& CivilistSpawnPointComponent::getSpawnGroupName() const
25  {
26  return mSpawnGroup.getName();
27  }
28 
30  {
31  return mTag.getHash();
32  }
33 
34  inline const std::string& CivilistSpawnPointComponent::getTag() const
35  {
36  return mTag.getName();
37  }
38 
39 
40  //[-------------------------------------------------------]
41  //[ Protected methods ]
42  //[-------------------------------------------------------]
44  SpawnPointComponent(prototype)
45  {
46  // Nothing to do in here
47  }
48 
49 
50 //[-------------------------------------------------------]
51 //[ Namespace ]
52 //[-------------------------------------------------------]
53 } // em5
Definition: ActionPriority.h:13
const std::string & getTag() const
Definition: CivilistSpawnPointComponent-inl.h:34
unsigned int uint32
Definition: PlatformTypes.h:181
virtual ~CivilistSpawnPointComponent()
Destructor.
Definition: CivilistSpawnPointComponent-inl.h:14
const std::string & getSpawnGroupName() const
Definition: CivilistSpawnPointComponent-inl.h:24
uint32 getSpawnGroupId() const
Definition: CivilistSpawnPointComponent-inl.h:19
EMERGENCY 5 entities can spawn from this point. It has a list of valid entities which can spawn from ...
Definition: SpawnPointComponent.h:49
qsf::NamedIdentifier mTag
Definition: CivilistSpawnPointComponent.h:87
uint32 getTagHash() const
Definition: CivilistSpawnPointComponent-inl.h:29
qsf::NamedIdentifier mSpawnGroup
Definition: CivilistSpawnPointComponent.h:86
Prototype class.
Definition: Prototype.h:100
CivilistSpawnPointComponent(qsf::Prototype *prototype)
Constructor.
Definition: CivilistSpawnPointComponent-inl.h:43
const std::string & getName() const
Return the name string.
Definition: NamedIdentifier-inl.h:51
uint32 getHash() const
Return the generated hash value.
Definition: NamedIdentifier-inl.h:56