27 lines
632 B
C++
27 lines
632 B
C++
#pragma once
|
|
|
|
#include "RE/B/BSFixedString.h"
|
|
#include "RE/B/BSTHashMap.h"
|
|
#include "RE/B/BSTObjectArena.h"
|
|
|
|
namespace RE
|
|
{
|
|
namespace BSScript
|
|
{
|
|
namespace Internal
|
|
{
|
|
enum class StringIndexSize : std::uint32_t;
|
|
|
|
class WritableStringTable
|
|
{
|
|
public:
|
|
// members
|
|
std::unique_ptr<BSTObjectArena<BSFixedString>> stringTable; // 00
|
|
std::unique_ptr<BSTScrapHashMap<BSFixedString, std::uint32_t>> stringReferenceMap; // 08
|
|
REX::TEnumSet<StringIndexSize, std::int32_t> indexSize; // 10
|
|
};
|
|
static_assert(sizeof(WritableStringTable) == 0x18);
|
|
}
|
|
}
|
|
}
|