mirror of https://github.com/AxioDL/metaforce.git
18 lines
301 B
C++
18 lines
301 B
C++
|
#include "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);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|