EPOK RUNTIME
epok::HealthLibrary
Struct
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.
Struct
Only bounded arithmetic lives here.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "health.hpp"
epok::HealthLibrary& value = /* obtain a valid instance from your game */;Static 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.Method