metaforce/Runtime/Character/CEffectComponent.cpp

17 lines
503 B
C++
Raw Normal View History

#include "Runtime/Character/CEffectComponent.hpp"
2016-04-10 21:22:59 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce {
2016-04-10 21:22:59 +00:00
SObjectTag CEffectComponent::GetSObjectTagFromStream(CInputStream& in) { return in.Get<SObjectTag>(); }
2016-04-10 21:22:59 +00:00
2018-12-08 05:30:43 +00:00
CEffectComponent::CEffectComponent(CInputStream& in) {
x0_name = in.Get<std::string>();
2018-12-08 05:30:43 +00:00
x10_tag = GetSObjectTagFromStream(in);
x18_boneName = in.Get<std::string>();
x28_scale = in.ReadFloat();
x2c_parentedMode = CParticleData::EParentedMode(in.ReadLong());
x30_flags = in.ReadLong();
2016-04-10 21:22:59 +00:00
}
2021-04-10 08:42:06 +00:00
} // namespace metaforce