mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-08-02 15:42:37 +00:00
refactor: unglob std::wstring
This commit is contained in:
@@ -6,15 +6,15 @@ class WstringLookup
|
||||
{
|
||||
private:
|
||||
UINT numIDs;
|
||||
std::unordered_map<wstring, UINT> str2int;
|
||||
vector<wstring> int2str;
|
||||
std::unordered_map<std::wstring, UINT> str2int;
|
||||
vector<std::wstring> int2str;
|
||||
|
||||
public:
|
||||
WstringLookup();
|
||||
|
||||
wstring lookup(UINT id);
|
||||
std::wstring lookup(UINT id);
|
||||
|
||||
UINT lookup(wstring);
|
||||
UINT lookup(std::wstring);
|
||||
|
||||
VOID getTable(wstring **lookup, UINT *len);
|
||||
VOID getTable(std::wstring **lookup, UINT *len);
|
||||
};
|
||||
Reference in New Issue
Block a user