metaforce/Runtime/Weapon/CFlameInfo.cpp

17 lines
527 B
C++
Raw Normal View History

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