metaforce/Runtime/Character/CParticleData.hpp

33 lines
580 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;
SObjectTag x4_particle;
std::string xc_boneName;
float x1c_scale;
EParentedMode x20_parentMode;
public:
CParticleData(CInputStream& in);
EParentedMode GetParentedMode() const {return x20_parentMode;}
};
}
#endif // __URDE_CPARTICLEDATA_HPP__