metaforce/Runtime/Weapon/CFlameInfo.cpp

17 lines
541 B
C++

#include "Runtime/Weapon/CFlameInfo.hpp"
namespace urde {
CFlameInfo::CFlameInfo(s32 w1, s32 w2, CAssetId flameFxId, s32 w3, float f1, float f2, float f3)
: x0_propertyCount(w1), x4_attributes(w2), x8_flameFxId(flameFxId), xc_length(w3), x10_(f1), x18_(f2), x1c_(f3) {}
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()) {}
} // namespace urde