2020-01-15 12:07:48 +00:00
|
|
|
#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
|
|
|
|
2022-02-18 07:37:54 +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) {
|
2022-02-18 07:37:54 +00:00
|
|
|
x0_name = in.Get<std::string>();
|
2018-12-08 05:30:43 +00:00
|
|
|
x10_tag = GetSObjectTagFromStream(in);
|
2022-02-18 07:37:54 +00:00
|
|
|
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
|