2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 14:31:20 +00:00
metaforce/Runtime/Character/CAnimCharacterSet.cpp
Phillip Stephens dad7249927
RE COutput/InputStream and friends and migrate over
This branch is probably still horribly broken, but it's a good first step to migrating away from having hecl embedded in the runtime
2022-02-21 08:01:05 -08:00

16 lines
520 B
C++

#include "Runtime/Character/CAnimCharacterSet.hpp"
#include "Runtime/CToken.hpp"
namespace metaforce {
CAnimCharacterSet::CAnimCharacterSet(CInputStream& in)
: x0_version(in.ReadShort()), x4_characterSet(in), x1c_animationSet(in) {}
CFactoryFnReturn FAnimCharacterSet(const SObjectTag&, CInputStream& in, const CVParamTransfer&,
CObjectReference* selfRef) {
return TToken<CAnimCharacterSet>::GetIObjObjectFor(std::make_unique<CAnimCharacterSet>(in));
}
} // namespace metaforce