Pol  Revision:cb584c9
uoskills.h
Go to the documentation of this file.
1 
7 #ifndef UOSKILLS_H
8 #define UOSKILLS_H
9 
10 #include <string>
11 
12 namespace Pol
13 {
14 namespace Plib
15 {
16 class Package;
17 }
18 namespace Clib
19 {
20 class ConfigElem;
21 }
22 namespace Mobile
23 {
24 class Attribute;
25 }
26 namespace Core
27 {
28 class UOSkill
29 {
30 public:
31  UOSkill( const Plib::Package* pkg, Clib::ConfigElem& elem );
32  UOSkill();
33  size_t estimateSize() const;
34 
35  bool inited;
36  unsigned skillid;
37  std::string attributename;
39 
41 };
42 
43 const UOSkill& GetUOSkill( unsigned skillid );
44 void clean_skills();
45 }
46 }
47 #endif
std::string attributename
Definition: uoskills.h:37
unsigned skillid
Definition: uoskills.h:36
const Mobile::Attribute * pAttr
Definition: uoskills.h:38
void clean_skills()
Definition: uoskills.cpp:93
const Plib::Package * pkg
Definition: uoskills.h:40
const UOSkill & GetUOSkill(unsigned skillid)
Definition: uoskills.cpp:21
Definition: berror.cpp:12