2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-20 12:59:12 +00:00

CVarManager: Bring back de/serialization

This commit is contained in:
2022-02-27 17:11:10 -08:00
parent d6f8ca44de
commit c79ddb8c42
13 changed files with 243 additions and 153 deletions

View File

@@ -0,0 +1,14 @@
#pragma once
#include "Runtime/Streams/CInputStream.hpp"
namespace metaforce {
class CTextInStream {
CInputStream* m_in;
s32 m_len;
public:
CTextInStream(CInputStream& in, int len);
bool IsEOF() { return m_in->GetReadPosition() >= m_len; }
std::string GetNextLine();
};
}