OpenMW
components/esm/loadprob.hpp
Go to the documentation of this file.
00001 #ifndef OPENMW_ESM_PROBE_H
00002 #define OPENMW_ESM_PROBE_H
00003 
00004 #include <string>
00005 
00006 namespace ESM
00007 {
00008 
00009 class ESMReader;
00010 class ESMWriter;
00011 
00012 struct Probe
00013 {
00014     static unsigned int sRecordId;
00015 
00016     struct Data
00017     {
00018         float mWeight;
00019         int mValue;
00020 
00021         float mQuality;
00022         int mUses;
00023     }; // Size = 16
00024 
00025     Data mData;
00026     std::string mId, mName, mModel, mIcon, mScript;
00027 
00028     void load(ESMReader &esm);
00029     void save(ESMWriter &esm) const;
00030 
00031     void blank();
00033 };
00034 
00035 }
00036 #endif