1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 11:23:51 +00:00

Stubs for minimap

This commit is contained in:
Koncord 2016-08-23 11:11:25 +08:00
parent 7691bcc958
commit fc4d8b82fb

View file

@ -147,6 +147,16 @@ public:
static void SendBaseStats(unsigned short pid) noexcept; static void SendBaseStats(unsigned short pid) noexcept;
static void SendSkills(unsigned short pid) noexcept; static void SendSkills(unsigned short pid) noexcept;
//state 0 - disallow, 1 - allow
static void SetMapVisibility(unsigned short targetPID, unsigned short affectedPID, unsigned short state) noexcept
{
}
static void SetMapVisibilityAll(unsigned short targetPID, unsigned short state) noexcept
{
}
static constexpr ScriptFunctionData functions[]{ static constexpr ScriptFunctionData functions[]{
{"CreateTimer", ScriptFunctions::CreateTimer}, {"CreateTimer", ScriptFunctions::CreateTimer},
{"CreateTimerEx", reinterpret_cast<Function<void>>(ScriptFunctions::CreateTimerEx)}, {"CreateTimerEx", reinterpret_cast<Function<void>>(ScriptFunctions::CreateTimerEx)},
@ -255,6 +265,9 @@ public:
{"SendAttributes", ScriptFunctions::SendAttributes}, {"SendAttributes", ScriptFunctions::SendAttributes},
{"SendBaseStats", ScriptFunctions::SendBaseStats}, {"SendBaseStats", ScriptFunctions::SendBaseStats},
{"SendSkills", ScriptFunctions::SendSkills}, {"SendSkills", ScriptFunctions::SendSkills},
{"SetMapVisibility", ScriptFunctions::SetMapVisibility},
{"SetMapVisibilityAll", ScriptFunctions::SetMapVisibilityAll},
}; };
static constexpr ScriptCallbackData callbacks[]{ static constexpr ScriptCallbackData callbacks[]{