2019-12-22 20:04:07 +00:00
|
|
|
#include "Runtime/World/CHealthInfo.hpp"
|
2016-04-25 05:03:38 +00:00
|
|
|
|
2022-02-19 13:04:45 +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) {
|
2022-02-18 07:37:54 +00:00
|
|
|
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
|