2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 20:31:21 +00:00
metaforce/Runtime/Character/CEffectComponent.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

17 lines
503 B
C++

#include "Runtime/Character/CEffectComponent.hpp"
namespace metaforce {
SObjectTag CEffectComponent::GetSObjectTagFromStream(CInputStream& in) { return in.Get<SObjectTag>(); }
CEffectComponent::CEffectComponent(CInputStream& in) {
x0_name = in.Get<std::string>();
x10_tag = GetSObjectTagFromStream(in);
x18_boneName = in.Get<std::string>();
x28_scale = in.ReadFloat();
x2c_parentedMode = CParticleData::EParentedMode(in.ReadLong());
x30_flags = in.ReadLong();
}
} // namespace metaforce