2020-01-15 12:07:48 +00:00
|
|
|
#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
|
|
|
|
2022-02-18 07:37:54 +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) {
|
2022-02-18 07:37:54 +00:00
|
|
|
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
|