mirror of https://github.com/PrimeDecomp/prime.git
27 lines
589 B
C++
27 lines
589 B
C++
#ifndef _CSTRINGTABLE
|
|
#define _CSTRINGTABLE
|
|
|
|
#include "types.h"
|
|
|
|
#include <rstl/single_ptr.hpp>
|
|
|
|
#include <Kyoto/CFactoryFnReturn.hpp>
|
|
|
|
class CInputStream;
|
|
class CStringTable {
|
|
int x0_stringCount;
|
|
rstl::single_ptr< uchar > x4_data;
|
|
|
|
public:
|
|
CStringTable(CInputStream& in);
|
|
const wchar_t* GetString(int idx) const;
|
|
int GetStringCount() const { return x0_stringCount; }
|
|
};
|
|
|
|
extern CStringTable* gpStringTable;
|
|
|
|
CFactoryFnReturn FStringTableFactory(const SObjectTag& tag, CInputStream& in,
|
|
const CVParamTransfer& xfer);
|
|
|
|
#endif // _CSTRINGTABLE
|