2020-01-15 12:07:48 +00:00
|
|
|
#include "Runtime/Character/CCharacterSet.hpp"
|
2016-04-10 04:49:02 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2016-04-10 04:49:02 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
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);
|
|
|
|
}
|
2016-04-10 04:49:02 +00:00
|
|
|
}
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|