Emergency 20 Dokumentation  4.2.0
ReserveLogic-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  //[-------------------------------------------------------]
14  template<typename T>
15  void ReserveLogic::createReservation(qsf::Entity& targetEntity, uint64 reservationId)
16  {
17  createReservationByTypeId(targetEntity, reservationId, T::GAMELOGIC_TYPE_ID);
18  }
19 
20 
21 //[-------------------------------------------------------]
22 //[ Namespace ]
23 //[-------------------------------------------------------]
24 } // em5
Definition: ActionPriority.h:13
static void createReservation(qsf::Entity &targetEntity, uint64 reservationId)
Create the given reservation type at the target and set the reservation ID.
Definition: ReserveLogic-inl.h:15
Entity class.
Definition: Entity.h:46
uint64_t uint64
Definition: PlatformTypes.h:184
static void createReservationByTypeId(qsf::Entity &targetEntity, uint64 reservationId, uint32 typeId)