Emergency 20 Dokumentation  4.2.0
ClientBase-inl.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Includes ]
6 //[-------------------------------------------------------]
8 
9 
10 //[-------------------------------------------------------]
11 //[ Namespace ]
12 //[-------------------------------------------------------]
13 namespace em5
14 {
15  namespace multiplayer
16  {
17  namespace server
18  {
19 
20 
21  //[-------------------------------------------------------]
22  //[ Public methods ]
23  //[-------------------------------------------------------]
25  mPlayerIndex(qsf::getUninitialized<uint32>())
26  {
27  }
28 
30  {
31  }
32 
34  {
35  return mPlayerIndex;
36  }
37 
38  inline void ClientBase::setPlayerIndex(uint32 playerIndex)
39  {
40  mPlayerIndex = playerIndex;
41  }
42 
43 
44 //[-------------------------------------------------------]
45 //[ Namespace ]
46 //[-------------------------------------------------------]
47  } // server
48  } // multiplayer
49 } // em5
Definition: ActionPriority.h:13
unsigned int uint32
Definition: PlatformTypes.h:181
uint32 getPlayerIndex() const
Definition: ClientBase-inl.h:33
Definition: PickupPersonByParamedicAction.h:21
virtual ~ClientBase()
Destructor.
Definition: ClientBase-inl.h:29
T getUninitialized()
Definition: GetUninitialized.h:38
ClientBase()
Default constructor.
Definition: ClientBase-inl.h:24
void setPlayerIndex(uint32 playerIndex)
Definition: ClientBase-inl.h:38