2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 17:51:21 +00:00
metaforce/Runtime/Character/CCharacterSet.cpp
Lioncash 1cb289f243 RuntimeCommon: Normalize cpp inclusions
Normalizes the headers for the cpp files in the RuntimeCommon target.
Now all headers and source files within the RuntimeCommon/RuntimeCommonB
targets are normalized and consistent with one another.
2020-01-15 09:15:47 -05:00

14 lines
321 B
C++

#include "Runtime/Character/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