mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:07:43 +00:00
New code style refactor
This commit is contained in:
@@ -4,28 +4,26 @@
|
||||
#include "RetroTypes.hpp"
|
||||
#include "CParticleData.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
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);
|
||||
|
||||
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);
|
||||
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; }
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user