1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-24 17:53:50 +00:00
openmw-tes3mp/components/esm/loadclot.hpp
2012-04-08 11:51:52 +02:00

51 lines
766 B
C++

#ifndef _ESM_CLOT_H
#define _ESM_CLOT_H
#include "record.hpp"
#include "esm_reader.hpp"
#include "esm_writer.hpp"
#include "loadarmo.hpp"
namespace ESM
{
/*
* Clothing
*/
struct Clothing : public Record
{
enum Type
{
Pants = 0,
Shoes = 1,
Shirt = 2,
Belt = 3,
Robe = 4,
RGlove = 5,
LGlove = 6,
Skirt = 7,
Ring = 8,
Amulet = 9
};
struct CTDTstruct
{
int type;
float weight;
short value;
short enchant;
};
CTDTstruct data;
PartReferenceList parts;
std::string name, model, icon, enchant, script;
void load(ESMReader &esm);
void save(ESMWriter &esm);
int getName() { return REC_CLOT; }
};
}
#endif