the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 20 lines 273 B view raw
1#pragma once 2 3using namespace std; 4 5class WstringLookup 6{ 7private: 8 UINT numIDs; 9 unordered_map<wstring, UINT> str2int; 10 vector<wstring> int2str; 11 12public: 13 WstringLookup(); 14 15 wstring lookup(UINT id); 16 17 UINT lookup(wstring); 18 19 VOID getTable(wstring **lookup, UINT *len); 20};