forked from mirror/openmw-tes3mp
21 lines
615 B
C++
21 lines
615 B
C++
#ifndef OPENMW_MISCELLANEOUSAPI_HPP
|
|
#define OPENMW_MISCELLANEOUSAPI_HPP
|
|
|
|
#include "../Types.hpp"
|
|
|
|
#define MISCELLANEOUSAPI \
|
|
{"GetLastPlayerId", MiscellaneousFunctions::GetLastPlayerId},\
|
|
\
|
|
{"LogMessage", MiscellaneousFunctions::LogMessage},\
|
|
{"LogAppend", MiscellaneousFunctions::LogAppend}
|
|
|
|
class MiscellaneousFunctions
|
|
{
|
|
public:
|
|
static unsigned int GetLastPlayerId() noexcept;
|
|
|
|
static void LogMessage(unsigned short level, const char *message) noexcept;
|
|
static void LogAppend(unsigned short level, const char *message) noexcept;
|
|
};
|
|
|
|
#endif //OPENMW_MISCELLANEOUSAPI_HPP
|