metaforce/Runtime/Weapon/CFlameInfo.cpp

17 lines
551 B
C++
Raw Permalink Normal View History

#include "Runtime/Weapon/CFlameInfo.hpp"
2017-05-20 07:41:49 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce {
2017-05-20 07:41:49 +00:00
2017-08-13 05:26:14 +00:00
CFlameInfo::CFlameInfo(s32 w1, s32 w2, CAssetId flameFxId, s32 w3, float f1, float f2, float f3)
2020-03-01 13:14:39 +00:00
: x0_propertyCount(w1), x4_attributes(w2), x8_flameFxId(flameFxId), xc_length(w3), x10_(f1), x18_(f2), x1c_(f3) {}
2017-05-20 07:41:49 +00:00
2020-03-01 13:14:39 +00:00
CFlameInfo::CFlameInfo(CInputStream& in)
: x0_propertyCount(in.readUint32Big())
, x4_attributes(in.readUint32Big())
, x8_flameFxId(in)
, xc_length(in.readUint32Big())
, x10_(in.readFloatBig())
, x18_(in.readFloatBig())
, x1c_(in.readFloatBig()) {}
2021-04-10 08:42:06 +00:00
} // namespace metaforce