EHM DAL 0.2.3
Data abstraction layer for Eastside Hockey Manager
Loading...
Searching...
No Matches
potential_ability.h
1#pragma once
2
3// Application headers
4#include "include/data_types/attribute/current_ability.h"
5
6namespace ehm_dal::data_types {
11{
12public:
13 PotentialAbility(const qint16 value = 0)
15 {}
16
22 = -1,
23 MINUS_2 = -2,
24 MINUS_3 = -3,
25 MINUS_4 = -4,
26 MINUS_5 = -5,
27 MINUS_6 = -6,
29 = -7,
31 = -8,
33 = -9,
35 = -10,
36 MINUS_11 = -11,
37 MINUS_12 = -12,
38 MINUS_13 = -13,
39 MINUS_14 = -14,
40 MINUS_15 = -15,
41 MINUS_16 = -16,
42 MINUS_17 = -17,
43 MINUS_18 = -18,
44 MINUS_19 = -19,
45 MINUS_20 = -20,
46 LOWEST_VALUE = MINUS_20
47 };
48
49private:
50 inline constexpr qint16 lowerLimit() const override { return LOWEST_VALUE; }
51};
52
53} // namespace ehm_dal::data_types
The CurrentAbility class is a qint16 class for 0-200 current ability ranges.
Definition: current_ability.h:12
T value() const
Returns the raw value which can otherwise be accessed via QVariant data(const qint32 role).
Definition: data_type.h:33
The PotentialAbility class is a qint16 class for potential ability ranges.
Definition: potential_ability.h:11
POTENTIAL_ABILITY_RANDOM_VALUES
The POTENTIAL_ABILITY_RANDOM_VALUES enum denotes the EHM random Potential Ability values.
Definition: potential_ability.h:20
@ MINUS_4
Definition: potential_ability.h:25
@ MINUS_16
Definition: potential_ability.h:41
@ MINUS_2
Definition: potential_ability.h:23
@ MINUS_19
Definition: potential_ability.h:44
@ MINUS_15
Definition: potential_ability.h:40
@ MINUS_8
Definition: potential_ability.h:30
@ MINUS_3
Definition: potential_ability.h:24
@ MINUS_14
Definition: potential_ability.h:39
@ MINUS_10
Definition: potential_ability.h:34
@ MINUS_5
Definition: potential_ability.h:26
@ MINUS_13
Definition: potential_ability.h:38
@ MINUS_9
Definition: potential_ability.h:32
@ MINUS_12
Definition: potential_ability.h:37
@ MINUS_7
Definition: potential_ability.h:28
@ MINUS_18
Definition: potential_ability.h:43
@ MINUS_20
Definition: potential_ability.h:45
@ MINUS_11
Definition: potential_ability.h:36
@ MINUS_6
Definition: potential_ability.h:27
@ MINUS_1
Definition: potential_ability.h:21
@ MINUS_17
Definition: potential_ability.h:42
namespace ehm_dal::data_types
Definition: attribute.h:6