2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-14 13:51:21 +00:00
metaforce/Runtime/Character/CEffectComponent.hpp
Lioncash a633b8e8fd General: Normalize RuntimeCommon include paths
Performs the same normalizing done to the RuntimeCommonB target, now all
of the runtime headers have normalized include paths.
2019-09-28 04:14:29 -04:00

32 lines
854 B
C++

#pragma once
#include <string>
#include "Runtime/IOStreams.hpp"
#include "Runtime/RetroTypes.hpp"
#include "Runtime/Character/CParticleData.hpp"
namespace urde {
class CEffectComponent {
std::string x0_name;
SObjectTag x10_tag;
std::string x18_boneName;
float x28_scale;
CParticleData::EParentedMode x2c_parentedMode;
u32 x30_flags;
static SObjectTag GetSObjectTagFromStream(CInputStream& in);
public:
CEffectComponent(CInputStream& in);
std::string_view GetComponentName() const { return x0_name; }
const SObjectTag& GetParticleTag() const { return x10_tag; }
std::string_view GetSegmentName() const { return x18_boneName; }
float GetScale() const { return x28_scale; }
CParticleData::EParentedMode GetParentedMode() const { return x2c_parentedMode; }
u32 GetFlags() const { return x30_flags; }
};
} // namespace urde