2016-04-10 21:22:59 +00:00
|
|
|
#include "CEffectComponent.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
SObjectTag CEffectComponent::GetSObjectTagFromStream(CInputStream& in)
|
|
|
|
{
|
2016-04-11 07:10:28 +00:00
|
|
|
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-04-10 21:22:59 +00:00
|
|
|
x2c_ = in.readUint32Big();
|
|
|
|
x30_ = in.readUint32Big();
|
|
|
|
}
|
|
|
|
|
2016-05-03 08:27:28 +00:00
|
|
|
const std::string& CEffectComponent::GetComponentName() const
|
|
|
|
{
|
|
|
|
return x0_name;
|
|
|
|
}
|
|
|
|
|
|
|
|
const SObjectTag& CEffectComponent::GetParticleTag() const
|
|
|
|
{
|
|
|
|
return x10_tag;
|
|
|
|
}
|
|
|
|
|
2016-04-10 21:22:59 +00:00
|
|
|
}
|