forked from mirror/openmw-tes3mp
3280f0c5ee
Rework server's DeathFunctions into MechanicsFunctions Remove connection between PlayerResurrect and jailing
19 lines
478 B
C++
19 lines
478 B
C++
#ifndef OPENMW_MECHANICSAPI_HPP
|
|
#define OPENMW_MECHANICSAPI_HPP
|
|
|
|
#include "../Types.hpp"
|
|
|
|
#define MECHANICSAPI \
|
|
{"Jail", MechanicsFunctions::Jail},\
|
|
\
|
|
{"Resurrect", MechanicsFunctions::Resurrect}
|
|
|
|
class MechanicsFunctions
|
|
{
|
|
public:
|
|
static void Jail(unsigned short pid, int jailDays, bool ignoreJailTeleportation) noexcept;
|
|
|
|
static void Resurrect(unsigned short pid, unsigned int type) noexcept;
|
|
};
|
|
|
|
#endif //OPENMW_MECHANICSAPI_HPP
|