2020-01-15 04:07:48 -08:00
|
|
|
#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
|
|
|
|
2022-02-17 23:37:54 -08: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) {
|
2022-02-17 23:37:54 -08:00
|
|
|
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
|