SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
attrib_definitions.h
Go to the documentation of this file.
1 /*
2  * SEGS - Super Entity Game Server
3  * http://www.segs.io/
4  * Copyright (c) 2006 - 2018 SEGS Team (see Authors.txt)
5  * This software is licensed! (See License.txt for details)
6  */
7 
8 #pragma once
9 #include <vector>
10 #include <array>
11 #include <QtCore/QString>
12 
14 {
15  QString Name;
16  QString DisplayName;
17  QString IconName;
18 };
19 
21 {
22  std::vector<Parse_AttribDesc> m_Damage;
23  std::vector<Parse_AttribDesc> m_Defense;
24  std::vector<Parse_AttribDesc> m_Boost;
25  std::vector<Parse_AttribDesc> m_Group;
26 };
27 
29 {
30  std::array<float,24> m_DamageTypes;
31  float m_HitPoints;
32  float m_Endurance;
33  float m_ToHit;
34  std::array<float,24> m_DefenseTypes;
35  float m_Defense;
36  float m_Evade;
44  float m_Stealth;
48  float m_Recovery;
50  float m_Taunt;
51  float m_Confused;
52  float m_Afraid;
53  float m_Held;
55  float m_is_stunned;
56  float m_Sleep;
57  float m_is_flying;
59  float m_Teleport;
61  float m_Intangible;
63  float m_Knockup;
64  float m_Knockback;
65  float m_Repel;
66  float m_Accuracy;
67  float m_Radius;
68  float m_Arc;
69  float m_Range;
74  float *begin() { return &m_DamageTypes[0]; }
75  float *end() { return (&m_EnduranceDiscount)+1; }
76  const float *begin() const { return &m_DamageTypes[0]; }
77  const float *end() const { return (&m_EnduranceDiscount)+1; }
78 };
79 
81 {
82  std::array<std::vector<float>,24> m_DamageTypes;
83  std::vector<float> m_HitPoints;
84  std::vector<float> m_Endurance;
85  std::vector<float> m_ToHit;
86  std::array<std::vector<float>,24> m_DefenseTypes;
87  std::vector<float> m_Defense;
88  std::vector<float> m_Evade;
89  std::vector<float> m_SpeedRunning;
90  std::vector<float> m_SpeedFlying;
91  std::vector<float> m_SpeedSwimming;
92  std::vector<float> m_SpeedJumping;
93  std::vector<float> m_jump_height;
94  std::vector<float> m_MovementControl;
95  std::vector<float> m_MovementFriction;
96  std::vector<float> m_Stealth;
97  std::vector<float> m_StealthRadius;
98  std::vector<float> m_PerceptionRadius;
99  std::vector<float> m_Regeneration;
100  std::vector<float> m_Recovery;
101  std::vector<float> m_ThreatLevel;
102  std::vector<float> m_Taunt;
103  std::vector<float> m_Confused;
104  std::vector<float> m_Afraid;
105  std::vector<float> m_Held;
106  std::vector<float> m_Immobilized;
107  std::vector<float> m_is_stunned;
108  std::vector<float> m_Sleep;
109  std::vector<float> m_is_flying;
110  std::vector<float> m_has_jumppack;
111  std::vector<float> m_Teleport;
112  std::vector<float> m_Untouchable;
113  std::vector<float> m_Intangible;
114  std::vector<float> m_OnlyAffectsSelf;
115  std::vector<float> m_Knockup;
116  std::vector<float> m_Knockback;
117  std::vector<float> m_Repel;
118  std::vector<float> m_Accuracy;
119  std::vector<float> m_Radius;
120  std::vector<float> m_Arc;
121  std::vector<float> m_Range;
122  std::vector<float> m_TimeToActivate;
123  std::vector<float> m_RechargeTime;
124  std::vector<float> m_InterruptTime;
125  std::vector<float> m_EnduranceDiscount;
126 };
std::vector< float > m_MovementControl
Definition: attrib_definitions.h:94
std::vector< float > m_Evade
Definition: attrib_definitions.h:88
std::vector< float > m_Intangible
Definition: attrib_definitions.h:113
float m_EnduranceDiscount
Definition: attrib_definitions.h:73
std::vector< float > m_SpeedRunning
Definition: attrib_definitions.h:89
float m_Regeneration
Definition: attrib_definitions.h:47
std::array< float, 24 > m_DamageTypes
Definition: attrib_definitions.h:30
float m_Radius
Definition: attrib_definitions.h:67
float m_Knockback
Definition: attrib_definitions.h:64
float m_Recovery
Definition: attrib_definitions.h:48
std::vector< float > m_Taunt
Definition: attrib_definitions.h:102
std::vector< float > m_HitPoints
Definition: attrib_definitions.h:83
float m_Intangible
Definition: attrib_definitions.h:61
std::array< float, 24 > m_DefenseTypes
Definition: attrib_definitions.h:34
std::vector< Parse_AttribDesc > m_Damage
Definition: attrib_definitions.h:22
std::vector< float > m_Afraid
Definition: attrib_definitions.h:104
float m_Repel
Definition: attrib_definitions.h:65
std::vector< float > m_TimeToActivate
Definition: attrib_definitions.h:122
float m_Defense
Definition: attrib_definitions.h:35
std::vector< Parse_AttribDesc > m_Group
Definition: attrib_definitions.h:25
std::vector< float > m_Held
Definition: attrib_definitions.h:105
std::vector< float > m_PerceptionRadius
Definition: attrib_definitions.h:98
std::vector< float > m_Knockback
Definition: attrib_definitions.h:116
float m_StealthRadius
Definition: attrib_definitions.h:45
std::vector< float > m_Range
Definition: attrib_definitions.h:121
std::vector< float > m_is_stunned
Definition: attrib_definitions.h:107
std::vector< float > m_Accuracy
Definition: attrib_definitions.h:118
std::vector< float > m_Regeneration
Definition: attrib_definitions.h:99
std::vector< float > m_Stealth
Definition: attrib_definitions.h:96
std::vector< float > m_Sleep
Definition: attrib_definitions.h:108
float m_Immobilized
Definition: attrib_definitions.h:54
float m_jump_height
Definition: attrib_definitions.h:41
std::vector< float > m_MovementFriction
Definition: attrib_definitions.h:95
float * end()
Definition: attrib_definitions.h:75
std::vector< Parse_AttribDesc > m_Boost
Definition: attrib_definitions.h:24
float m_TimeToActivate
Definition: attrib_definitions.h:70
const float * begin() const
Definition: attrib_definitions.h:76
float m_Accuracy
Definition: attrib_definitions.h:66
float m_is_flying
Definition: attrib_definitions.h:57
float m_SpeedJumping
Definition: attrib_definitions.h:40
float m_Range
Definition: attrib_definitions.h:69
std::vector< float > m_Radius
Definition: attrib_definitions.h:119
float * begin()
Definition: attrib_definitions.h:74
float m_RechargeTime
Definition: attrib_definitions.h:71
float m_ToHit
Definition: attrib_definitions.h:33
std::vector< float > m_ToHit
Definition: attrib_definitions.h:85
float m_Knockup
Definition: attrib_definitions.h:63
std::vector< float > m_Arc
Definition: attrib_definitions.h:120
std::vector< float > m_Defense
Definition: attrib_definitions.h:87
std::vector< float > m_Repel
Definition: attrib_definitions.h:117
std::vector< float > m_Endurance
Definition: attrib_definitions.h:84
std::vector< float > m_Knockup
Definition: attrib_definitions.h:115
std::vector< float > m_InterruptTime
Definition: attrib_definitions.h:124
std::vector< float > m_ThreatLevel
Definition: attrib_definitions.h:101
std::vector< float > m_is_flying
Definition: attrib_definitions.h:109
float m_Confused
Definition: attrib_definitions.h:51
float m_OnlyAffectsSelf
Definition: attrib_definitions.h:62
float m_MovementControl
Definition: attrib_definitions.h:42
float m_Endurance
Definition: attrib_definitions.h:32
std::vector< float > m_Recovery
Definition: attrib_definitions.h:100
QString Name
Definition: attrib_definitions.h:15
std::vector< float > m_jump_height
Definition: attrib_definitions.h:93
float m_Sleep
Definition: attrib_definitions.h:56
float m_ThreatLevel
Definition: attrib_definitions.h:49
Definition: attrib_definitions.h:20
std::vector< float > m_SpeedFlying
Definition: attrib_definitions.h:90
Definition: attrib_definitions.h:28
std::vector< Parse_AttribDesc > m_Defense
Definition: attrib_definitions.h:23
float m_SpeedRunning
Definition: attrib_definitions.h:37
float m_is_stunned
Definition: attrib_definitions.h:55
float m_has_jumppack
Definition: attrib_definitions.h:58
std::vector< float > m_OnlyAffectsSelf
Definition: attrib_definitions.h:114
QString IconName
Definition: attrib_definitions.h:17
std::array< std::vector< float >, 24 > m_DamageTypes
Definition: attrib_definitions.h:82
float m_SpeedSwimming
Definition: attrib_definitions.h:39
float m_MovementFriction
Definition: attrib_definitions.h:43
std::vector< float > m_StealthRadius
Definition: attrib_definitions.h:97
float m_Arc
Definition: attrib_definitions.h:68
std::vector< float > m_RechargeTime
Definition: attrib_definitions.h:123
Definition: attrib_definitions.h:80
std::array< std::vector< float >, 24 > m_DefenseTypes
Definition: attrib_definitions.h:86
float m_Untouchable
Definition: attrib_definitions.h:60
QString DisplayName
Definition: attrib_definitions.h:16
std::vector< float > m_SpeedSwimming
Definition: attrib_definitions.h:91
std::vector< float > m_has_jumppack
Definition: attrib_definitions.h:110
std::vector< float > m_EnduranceDiscount
Definition: attrib_definitions.h:125
float m_Afraid
Definition: attrib_definitions.h:52
float m_Teleport
Definition: attrib_definitions.h:59
float m_Stealth
Definition: attrib_definitions.h:44
const float * end() const
Definition: attrib_definitions.h:77
std::vector< float > m_SpeedJumping
Definition: attrib_definitions.h:92
float m_Held
Definition: attrib_definitions.h:53
float m_InterruptTime
Definition: attrib_definitions.h:72
float m_SpeedFlying
Definition: attrib_definitions.h:38
std::vector< float > m_Immobilized
Definition: attrib_definitions.h:106
std::vector< float > m_Untouchable
Definition: attrib_definitions.h:112
Definition: attrib_definitions.h:13
float m_PerceptionRadius
Definition: attrib_definitions.h:46
std::vector< float > m_Teleport
Definition: attrib_definitions.h:111
float m_HitPoints
Definition: attrib_definitions.h:31
std::vector< float > m_Confused
Definition: attrib_definitions.h:103
float m_Taunt
Definition: attrib_definitions.h:50
float m_Evade
Definition: attrib_definitions.h:36