20class T2Locale :
public Toshi::TSingleton<T2Locale>
TRB (Toshi Relocatable Binary) resource system for the Toshi engine.
TWCHAR * T2LocalisedString
#define TOSHI_NAMESPACE_START
#define TOSHI_NAMESPACE_END
TINT GetNumStrings() const
T2Locale(const T2Locale &&)=delete
virtual const TCHAR * GetLanguageFilename(Lang lang)=0
T2LocalisedString GetString(TINT a_iNumString)
void * TRBAlloc(size_t size)
LocaleStrings * m_StringTable
T2Locale(TINT langCount, size_t bufferSize, void *buffer)
static void * TRBAllocator(TTRB::AllocType alloctype, size_t size, short unk, size_t unk2, void *userData)
T2Locale(const T2Locale &)=delete
static void TRBDeallocator(TTRB::AllocType alloctype, void *ptr, short unk, size_t unk2, void *userData)
void SetLanguage(Lang langid)
T2LocalisedString * Strings