diff options
Diffstat (limited to 'ugc/loader.hpp')
-rw-r--r-- | ugc/loader.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ugc/loader.hpp b/ugc/loader.hpp new file mode 100644 index 0000000000..45e332bd0c --- /dev/null +++ b/ugc/loader.hpp @@ -0,0 +1,22 @@ +#pragma once + +#include "ugc/binary/serdes.hpp" + +class Index; +struct FeatureID; + +namespace ugc +{ +struct UGC; + +class Loader +{ +public: + Loader(Index const & index); + void GetUGC(FeatureID const & featureId, UGC & ugc); + +private: + Index const & m_index; + binary::UGCDeserializer m_d; +}; +} // namespace ugc |