metaforce/Runtime/World/CHealthInfo.cpp

13 lines
272 B
C++
Raw Normal View History

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