mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 21:49:56 +00:00
29 lines
433 B
C++
29 lines
433 B
C++
#ifndef _ESM_BOOK_H
|
|
#define _ESM_BOOK_H
|
|
|
|
#include "esm_reader.hpp"
|
|
#include "esm_writer.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
/*
|
|
* Books, magic scrolls, notes and so on
|
|
*/
|
|
|
|
struct Book
|
|
{
|
|
struct BKDTstruct
|
|
{
|
|
float weight;
|
|
int value, isScroll, skillID, enchant;
|
|
};
|
|
|
|
BKDTstruct data;
|
|
std::string name, model, icon, script, enchant, text;
|
|
|
|
void load(ESMReader &esm);
|
|
void save(ESMWriter &esm);
|
|
};
|
|
}
|
|
#endif
|