mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-30 23:23:07 +00:00
30 lines
571 B
C
30 lines
571 B
C
|
#pragma once
|
||
|
|
||
|
#include <basis/seadTypes.h>
|
||
|
#include <container/seadTList.h>
|
||
|
|
||
|
namespace sead {
|
||
|
class WriteStream;
|
||
|
}
|
||
|
|
||
|
namespace al {
|
||
|
|
||
|
class ByamlWriterStringTable {
|
||
|
public:
|
||
|
ByamlWriterStringTable();
|
||
|
virtual ~ByamlWriterStringTable();
|
||
|
const char* tryAdd(const char*);
|
||
|
u32 calcHeaderSize() const;
|
||
|
u32 calcContentSize() const;
|
||
|
u32 calcPackSize() const;
|
||
|
bool isEmpty() const;
|
||
|
u32 calcIndex(const char*) const;
|
||
|
void write(sead::WriteStream*) const;
|
||
|
void print() const;
|
||
|
|
||
|
private:
|
||
|
sead::TList<const char*> mList;
|
||
|
};
|
||
|
|
||
|
} // namespace al
|