2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CSTRINGTABLE
|
|
|
|
#define _CSTRINGTABLE
|
2022-04-10 00:17:06 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "rstl/single_ptr.hpp"
|
|
|
|
|
2022-07-18 22:42:58 +00:00
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
2022-04-10 00:17:06 +00:00
|
|
|
|
|
|
|
class CStringTable {
|
2022-09-05 04:01:13 +00:00
|
|
|
int x0_stringCount;
|
2022-04-10 00:17:06 +00:00
|
|
|
rstl::single_ptr< u8 > x4_data;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CStringTable(CInputStream& in);
|
2022-07-14 16:24:26 +00:00
|
|
|
const wchar_t* GetString(int idx) const;
|
2022-04-10 00:17:06 +00:00
|
|
|
};
|
|
|
|
|
2022-04-11 22:42:08 +00:00
|
|
|
extern CStringTable* gpStringTable;
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CSTRINGTABLE
|