mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 15:19:55 +00:00
28 lines
425 B
C++
28 lines
425 B
C++
#ifndef _ESM_BOOK_H
|
|
#define _ESM_BOOK_H
|
|
|
|
#include "esm_reader.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;
|
|
std::string id;
|
|
|
|
void load(ESMReader &esm, const std::string& recordId);
|
|
};
|
|
}
|
|
#endif
|