forked from teamnwah/openmw-tes3coop
22 lines
610 B
C++
22 lines
610 B
C++
#include "Miscellaneous.hpp"
|
|
#include <apps/openmw-mp/Script/ScriptFunctions.hpp>
|
|
#include <apps/openmw-mp/Networking.hpp>
|
|
#include <components/openmw-mp/Log.hpp>
|
|
|
|
#include <iostream>
|
|
using namespace std;
|
|
|
|
unsigned int MiscellaneousFunctions::GetLastPlayerId() noexcept
|
|
{
|
|
return Players::getLastPlayerId();
|
|
}
|
|
|
|
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);
|
|
}
|