ManaPlus
skilldata.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2004-2009 The Mana World Development Team
4  * Copyright (C) 2009-2010 The Mana Developers
5  * Copyright (C) 2011-2019 The ManaPlus Developers
6  * Copyright (C) 2019-2021 Andrei Karas
7  *
8  * This file is part of The ManaPlus Client.
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program. If not, see <http://www.gnu.org/licenses/>.
22  */
23 
24 #ifndef GUI_WIDGETS_SKILLDATA_H
25 #define GUI_WIDGETS_SKILLDATA_H
26 
27 #include "resources/missileinfo.h"
28 #include "resources/soundinfo.h"
29 
30 class Image;
31 
33 {
34  std::string name;
35  std::string shortName;
36  std::string dispName;
37  std::string description;
38 
41  std::string invokeCmd;
42  std::string castingAnimation;
43 
46 
48 
58  bool haveIcon;
59  bool autoTab;
60 
61  SkillData();
63  ~SkillData();
64 
65  void setIcon(const std::string &iconPath);
66 };
67 
68 #endif // GUI_WIDGETS_SKILLDATA_H
#define final
Definition: localconsts.h:46
#define A_DELETE_COPY(func)
Definition: localconsts.h:53
int castingGroundEffectId
Definition: skilldata.h:55
std::string castingAnimation
Definition: skilldata.h:42
MissileInfo missile
Definition: skilldata.h:39
std::string dispName
Definition: skilldata.h:36
int hitEffectId
Definition: skilldata.h:51
int castingSrcEffectId
Definition: skilldata.h:53
SoundInfo soundMiss
Definition: skilldata.h:45
MissileInfo castingMissile
Definition: skilldata.h:40
std::string invokeCmd
Definition: skilldata.h:41
std::string name
Definition: skilldata.h:34
int srcEffectId
Definition: skilldata.h:56
std::string description
Definition: skilldata.h:37
int removeEffectId
Definition: skilldata.h:50
int missEffectId
Definition: skilldata.h:52
int updateEffectId
Definition: skilldata.h:49
int castingDstEffectId
Definition: skilldata.h:54
Image * icon
Definition: skilldata.h:47
bool haveIcon
Definition: skilldata.h:58
int dstEffectId
Definition: skilldata.h:57
std::string shortName
Definition: skilldata.h:35
SoundInfo soundHit
Definition: skilldata.h:44
bool autoTab
Definition: skilldata.h:59
void setIcon(const std::string &iconPath)
Definition: skilldata.cpp:71