EPOK RUNTIME
Health
health.hpp · the health module
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Module
the health module.
Include this module
C++ include
#include "health.hpp"Types
Functions and methods
damagePerforms `damage` as part of the health module.MethodhealPerforms `heal` as part of the health module.Methodis_depletedReports whether depleted as part of the health module.Methodmake_statePerforms `make state` as part of the health module.MethodvalidPerforms `valid` as part of the health module.MethodFields, variables and values
appliedExposes `applied` on `epok::HealthChange` for the health module.FieldAppliedNamed value `Applied` in `epok::HealthResult`.Enum valuecurrentExposes `current` on `epok::HealthState` for the health module.FielddepletedExposes `depleted` on `epok::HealthChange` for the health module.FieldInvalidStateNamed value `InvalidState` in `epok::HealthResult`.Enum valuemaximumExposes `maximum` on `epok::HealthState` for the health module.FieldresultExposes `result` on `epok::HealthChange` for the health module.FieldrevivedExposes `revived` on `epok::HealthChange` for the health module.FieldstateExposes `state` on `epok::HealthChange` for the health module.FieldUnchangedNamed value `Unchanged` in `epok::HealthResult`.Enum value