this repo has no description
1#ifndef REZSPEC_H
2#define REZSPEC_H
3
4#include "ResType.h"
5#include <string>
6
7class ResSpec : public ResRef
8{
9 int attr_;
10 std::string name_;
11
12public:
13 ResSpec() : attr_(0) {}
14 ResSpec(ResType type, int id, int attr = 0, std::string name = "")
15 : ResRef(type, id), attr_(attr), name_(name)
16 {}
17
18 int& attr() { return attr_; }
19 int attr() const { return attr_; }
20 std::string& name() { return name_; }
21 const std::string& name() const { return name_; }
22};
23
24#endif // REZSPEC_H