metaforce/Runtime/Weapon/CFlameInfo.hpp

27 lines
640 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2017-05-09 13:27:07 +00:00
#include "Runtime/Weapon/CGameProjectile.hpp"
2020-03-01 13:14:39 +00:00
#include "Runtime/IOStreams.hpp"
2017-05-09 13:27:07 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce {
2018-12-08 05:30:43 +00:00
class CFlameInfo {
2019-04-16 08:00:46 +00:00
friend class CFlameThrower;
2020-03-01 13:14:39 +00:00
s32 x0_propertyCount;
2019-04-16 08:00:46 +00:00
s32 x4_attributes;
2018-12-08 05:30:43 +00:00
CAssetId x8_flameFxId;
2019-04-16 08:00:46 +00:00
s32 xc_length;
2018-12-08 05:30:43 +00:00
float x10_;
2020-04-21 05:32:16 +00:00
// float x14_;
2018-12-08 05:30:43 +00:00
float x18_;
float x1c_;
2017-05-09 13:27:07 +00:00
public:
2018-12-08 05:30:43 +00:00
CFlameInfo(s32, s32, CAssetId, s32, float, float, float);
2020-03-01 13:14:39 +00:00
CFlameInfo(CInputStream& in);
2017-05-09 13:27:07 +00:00
2020-04-20 22:35:56 +00:00
[[nodiscard]] s32 GetAttributes() const { return x4_attributes; }
[[nodiscard]] s32 GetLength() const { return xc_length; }
[[nodiscard]] CAssetId GetFlameFxId() const { return x8_flameFxId; }
2017-05-09 13:27:07 +00:00
};
2021-04-10 08:42:06 +00:00
} // namespace metaforce