mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
YAML read/write refactor
This commit is contained in:
@@ -85,7 +85,7 @@ void STRG::read(Athena::io::IStreamReader& reader)
|
||||
_read(reader);
|
||||
}
|
||||
|
||||
void STRG::fromYAML(Athena::io::YAMLDocReader& reader)
|
||||
void STRG::read(Athena::io::YAMLDocReader& reader)
|
||||
{
|
||||
const Athena::io::YAMLNode* root = reader.getRootNode();
|
||||
|
||||
@@ -243,7 +243,7 @@ size_t STRG::binarySize(size_t __isz) const
|
||||
return __isz;
|
||||
}
|
||||
|
||||
void STRG::toYAML(Athena::io::YAMLDocWriter& writer) const
|
||||
void STRG::write(Athena::io::YAMLDocWriter& writer) const
|
||||
{
|
||||
for (const auto& item : langs)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user