1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 04:53:52 +00:00
openmw/apps/opencs/model/world/info.hpp
elsid b6a2fd8fc1
Simplify InfoCollection
There was additional logic to create topic infos index by topic id to make
getTopicInfos and removeDialogueInfos functions faster. In practice it makes
loading slower.

Move infos index by topic to CSMWorld::Data and use only on loading.
2023-02-15 23:10:35 +01:00

15 lines
236 B
C++

#ifndef CSM_WOLRD_INFO_H
#define CSM_WOLRD_INFO_H
#include <components/esm3/loadinfo.hpp>
namespace CSMWorld
{
struct Info : public ESM::DialInfo
{
ESM::RefId mTopicId;
ESM::RefId mOriginalId;
};
}
#endif