metaforce/Runtime/Character/CCharacterSet.cpp

14 lines
317 B
C++
Raw Normal View History

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