metaforce/Runtime/World/CHealthInfo.cpp

13 lines
272 B
C++
Raw Normal View History

#include "Runtime/World/CHealthInfo.hpp"
2016-04-24 22:03:38 -07:00
#include "Runtime/Streams/CInputStream.hpp"
2021-04-10 01:42:06 -07:00
namespace metaforce {
2016-04-24 22:03:38 -07:00
2018-12-07 21:30:43 -08:00
CHealthInfo::CHealthInfo(CInputStream& in) {
in.ReadLong();
x0_health = in.ReadFloat();
x4_knockbackResistance = in.ReadFloat();
2017-02-27 23:31:14 -08:00
}
2016-04-24 22:03:38 -07:00
2021-04-10 01:42:06 -07:00
} // namespace metaforce