2018-10-06 20:42:33 -07:00
|
|
|
#pragma once
|
2017-05-09 06:27:07 -07:00
|
|
|
|
2019-09-22 14:52:05 -07:00
|
|
|
#include "Runtime/Weapon/CGameProjectile.hpp"
|
2022-02-19 05:04:45 -08:00
|
|
|
#include "Runtime/Streams/IOStreams.hpp"
|
2017-05-09 06:27:07 -07:00
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
namespace metaforce {
|
2018-12-07 21:30:43 -08:00
|
|
|
class CFlameInfo {
|
2019-04-16 01:00:46 -07:00
|
|
|
friend class CFlameThrower;
|
2020-03-01 05:14:39 -08:00
|
|
|
s32 x0_propertyCount;
|
2019-04-16 01:00:46 -07:00
|
|
|
s32 x4_attributes;
|
2018-12-07 21:30:43 -08:00
|
|
|
CAssetId x8_flameFxId;
|
2019-04-16 01:00:46 -07:00
|
|
|
s32 xc_length;
|
2018-12-07 21:30:43 -08:00
|
|
|
float x10_;
|
2020-04-20 22:32:16 -07:00
|
|
|
// float x14_;
|
2018-12-07 21:30:43 -08:00
|
|
|
float x18_;
|
|
|
|
float x1c_;
|
|
|
|
|
2017-05-09 06:27:07 -07:00
|
|
|
public:
|
2018-12-07 21:30:43 -08:00
|
|
|
CFlameInfo(s32, s32, CAssetId, s32, float, float, float);
|
2020-03-01 05:14:39 -08:00
|
|
|
CFlameInfo(CInputStream& in);
|
2017-05-09 06:27:07 -07:00
|
|
|
|
2020-04-20 15:35:56 -07: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 06:27:07 -07:00
|
|
|
};
|
2021-04-10 01:42:06 -07:00
|
|
|
} // namespace metaforce
|