1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-02-01 06:18:30 +00:00
openmw/components/esm3/actoridconverter.hpp

25 lines
462 B
C++

#ifndef OPENMW_COMPONENTS_ESM3_ACTORIDCONVERTER_H
#define OPENMW_COMPONENTS_ESM3_ACTORIDCONVERTER_H
#include <map>
#include <vector>
#include "refnum.hpp"
namespace ESM
{
class ActorIdConverter
{
std::vector<std::pair<ESM::RefNum&, int>> mToConvert;
public:
std::map<int, ESM::RefNum> mMappings;
std::vector<int> mGraveyard;
void apply();
void convert(ESM::RefNum& refNum, int actorId);
};
}
#endif