mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
22 lines
473 B
C++
22 lines
473 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <boost/unordered_map.hpp>
|
|
|
|
namespace RBX {
|
|
|
|
class LegacyContentTable
|
|
{
|
|
private:
|
|
typedef boost::unordered_map<std::string, std::string> UrlMap;
|
|
UrlMap mMap;
|
|
std::string mEmpty;
|
|
|
|
public:
|
|
LegacyContentTable();
|
|
|
|
void AddEntry(const std::string& path, const std::string& contentId);
|
|
void AddEntryProd(const std::string& path, const std::string& contentId);
|
|
const std::string& FindEntry(const std::string& path);
|
|
};
|
|
} |