mirror of
https://github.com/GTAIV-Complete-Edition-text/GTA4.CHS
synced 2026-11-26 17:37:55 +08:00
17 lines
363 B
C++
17 lines
363 B
C++
#pragma once
|
|
#include "../common/stdinc.h"
|
|
#include "../common/common.h"
|
|
|
|
class CStringTable
|
|
{
|
|
public:
|
|
CStringTable() = default;
|
|
~CStringTable() = default;
|
|
|
|
void LoadTable(const std::filesystem::path& filename);
|
|
const GTAChar* GetString(const GTAChar* origin) const;
|
|
|
|
private:
|
|
std::unordered_map<std::size_t, std::vector<GTAChar>> m_Table;
|
|
};
|