2017-02-26 21:00:51 +00:00
|
|
|
#include "Miscellaneous.hpp"
|
|
|
|
#include <apps/openmw-mp/Script/ScriptFunctions.hpp>
|
|
|
|
#include <apps/openmw-mp/Networking.hpp>
|
2017-04-03 22:47:37 +00:00
|
|
|
#include <components/openmw-mp/Log.hpp>
|
2017-02-26 21:00:51 +00:00
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
unsigned int MiscellaneousFunctions::GetLastPlayerId() noexcept
|
|
|
|
{
|
|
|
|
return Players::getLastPlayerId();
|
|
|
|
}
|
2017-04-03 22:47:37 +00:00
|
|
|
|
|
|
|
void MiscellaneousFunctions::LogMessage(unsigned short level, const char *message) noexcept
|
|
|
|
{
|
|
|
|
LOG_MESSAGE_SIMPLE(level, "[Script]: %s", message);
|
|
|
|
}
|
|
|
|
|
|
|
|
void MiscellaneousFunctions::LogAppend(unsigned short level, const char *message) noexcept
|
|
|
|
{
|
|
|
|
LOG_APPEND(level, "[Script]: %s", message);
|
|
|
|
}
|