2013-10-29 12:18:22 +00:00
|
|
|
#ifndef CSM_WOLRD_INFOCOLLECTION_H
|
|
|
|
#define CSM_WOLRD_INFOCOLLECTION_H
|
|
|
|
|
|
|
|
#include <components/esm/loadinfo.hpp>
|
|
|
|
|
|
|
|
#include "collection.hpp"
|
|
|
|
|
2013-10-31 11:16:45 +00:00
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
class Dialogue;
|
|
|
|
}
|
|
|
|
|
2013-10-29 12:18:22 +00:00
|
|
|
namespace CSMWorld
|
|
|
|
{
|
|
|
|
class InfoCollection : public Collection<ESM::DialInfo, IdAccessor<ESM::DialInfo> >
|
|
|
|
{
|
|
|
|
void load (const ESM::DialInfo& record, bool base);
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2013-10-31 11:16:45 +00:00
|
|
|
void load (ESM::ESMReader& reader, bool base, const ESM::Dialogue& dialogue);
|
2013-10-29 12:18:22 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|