2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-14 12:31:22 +00:00
metaforce/Runtime/Character/CParticleData.hpp
2016-04-16 11:49:47 -10:00

34 lines
655 B
C++

#ifndef __URDE_CPARTICLEDATA_HPP__
#define __URDE_CPARTICLEDATA_HPP__
#include "IOStreams.hpp"
#include "RetroTypes.hpp"
namespace urde
{
class CParticleData
{
public:
enum class EParentedMode
{
Initial,
ContinuousEmitter,
ContinuousSystem
};
private:
u32 x0_duration = 0;
SObjectTag x4_particle;
std::string xc_boneName = "root";
float x1c_scale = 1.f;
EParentedMode x20_parentMode = EParentedMode::Initial;
public:
CParticleData() = default;
CParticleData(CInputStream& in);
EParentedMode GetParentedMode() const {return x20_parentMode;}
};
}
#endif // __URDE_CPARTICLEDATA_HPP__