2017-06-26 22:01:45 +00:00
|
|
|
#ifndef OPENMW_DEATHAPI_HPP
|
|
|
|
#define OPENMW_DEATHAPI_HPP
|
|
|
|
|
|
|
|
#include "../Types.hpp"
|
|
|
|
|
|
|
|
#define DEATHAPI \
|
2017-07-03 12:45:21 +00:00
|
|
|
{"SetDeathPenaltyJailDays", DeathFunctions::SetDeathPenaltyJailDays},\
|
|
|
|
\
|
|
|
|
{"Resurrect", DeathFunctions::Resurrect}
|
2017-06-26 22:01:45 +00:00
|
|
|
|
|
|
|
class DeathFunctions
|
|
|
|
{
|
|
|
|
public:
|
2017-07-03 12:45:21 +00:00
|
|
|
static void SetDeathPenaltyJailDays(unsigned short pid, int days) noexcept;
|
|
|
|
|
2017-06-27 07:16:23 +00:00
|
|
|
static void Resurrect(unsigned short pid, unsigned int type) noexcept;
|
2017-06-26 22:01:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //OPENMW_DEATHAPI_HPP
|