mirror of https://github.com/AxioDL/metaforce.git
14 lines
321 B
C++
14 lines
321 B
C++
#include "Runtime/Character/CCharacterSet.hpp"
|
|
|
|
namespace urde {
|
|
|
|
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);
|
|
}
|
|
}
|
|
|
|
} // namespace urde
|