2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 19:11:20 +00:00
metaforce/Runtime/Character/CCharacterSet.cpp
2018-12-07 19:30:43 -10:00

14 lines
303 B
C++

#include "CCharacterSet.hpp"
namespace urde {
CCharacterSet::CCharacterSet(CInputStream& in) : x0_version(in.readUint16Big()) {
u32 charCount = in.readUint32Big();
for (u32 i = 0; i < charCount; ++i) {
u32 id = in.readUint32Big();
x4_characters.emplace(id, in);
}
}
} // namespace urde