metaforce/Runtime/Character/CCharacterSet.cpp

14 lines
317 B
C++
Raw Normal View History

#include "Runtime/Character/CCharacterSet.hpp"
2016-04-10 04:49:02 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce {
2016-04-10 04:49:02 +00:00
CCharacterSet::CCharacterSet(CInputStream& in) : x0_version(in.ReadShort()) {
u32 charCount = in.ReadLong();
2018-12-08 05:30:43 +00:00
for (u32 i = 0; i < charCount; ++i) {
u32 id = in.ReadLong();
2018-12-08 05:30:43 +00:00
x4_characters.emplace(id, in);
}
2016-04-10 04:49:02 +00:00
}
2021-04-10 08:42:06 +00:00
} // namespace metaforce