Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+31
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Helper for Player Info Dialogues
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Christian Ehrlicher, SLSE, 2016-02-29
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include <ParticipantManagement/ppm_dtc.h>
|
||||
|
||||
|
||||
namespace ParticipantManagement
|
||||
{
|
||||
|
||||
inline bool compareGear(const GearInformation &a,
|
||||
const GearInformation &b)
|
||||
{
|
||||
if (a.gearId() != b.gearId())
|
||||
return a.gearId() < b.gearId();
|
||||
return a.chargeTypeId() < b.chargeTypeId();
|
||||
}
|
||||
|
||||
inline bool compareSanMat(const SanitationMaterial &a,
|
||||
const SanitationMaterial &b)
|
||||
{
|
||||
return a.materialId() < b.materialId();
|
||||
}
|
||||
|
||||
} //namespace
|
||||
Reference in new issue
Block a user