metaforce/Runtime/Character/CEffectComponent.cpp

30 lines
884 B
C++
Raw Normal View History

2016-04-10 21:22:59 +00:00
#include "CEffectComponent.hpp"
namespace urde
{
2016-09-10 04:50:00 +00:00
SObjectTag CEffectComponent::GetSObjectTagFromStream(CInputStream& in) { return SObjectTag(in); }
2016-04-10 21:22:59 +00:00
CEffectComponent::CEffectComponent(CInputStream& in)
{
x0_name = in.readString();
x10_tag = GetSObjectTagFromStream(in);
x18_boneName = in.readString();
2016-05-03 08:27:28 +00:00
x28_scale = in.readFloatBig();
2016-09-10 04:50:00 +00:00
x2c_parentedMode = in.readUint32Big();
x30_flags = in.readUint32Big();
2016-04-10 21:22:59 +00:00
}
2016-09-10 04:50:00 +00:00
const std::string& CEffectComponent::GetComponentName() const { return x0_name; }
2016-05-03 08:27:28 +00:00
2016-09-10 04:50:00 +00:00
const SObjectTag& CEffectComponent::GetParticleTag() const { return x10_tag; }
const std::string& CEffectComponent::GetSegmentName() const { return x18_boneName; }
float CEffectComponent::GetScale() const { return x28_scale; }
u32 CEffectComponent::GetParentedMode() const { return x2c_parentedMode; }
2016-05-03 08:27:28 +00:00
2016-09-10 04:50:00 +00:00
u32 CEffectComponent::GetFlags() const { return x30_flags; }
2016-04-10 21:22:59 +00:00
}