Files
Commonwealth-Online-Public/plugin/lib/commonlibf4/include/RE/D/DialogueMenuUtils.h
T
2026-05-30 18:33:24 +12:00

29 lines
668 B
C++

#pragma once
namespace RE
{
namespace DialogueMenuUtils
{
inline void OpenMenu()
{
using func_t = decltype(&DialogueMenuUtils::OpenMenu);
static REL::Relocation<func_t> func{ ID::DialogueMenuUtils::OpenMenu };
return func();
}
inline void CloseMenu()
{
using func_t = decltype(&DialogueMenuUtils::CloseMenu);
static REL::Relocation<func_t> func{ ID::DialogueMenuUtils::CloseMenu };
return func();
}
inline void ShowSpeechChallengeAnim()
{
using func_t = decltype(&DialogueMenuUtils::ShowSpeechChallengeAnim);
static REL::Relocation<func_t> func{ ID::DialogueMenuUtils::ShowSpeechChallengeAnim };
return func();
}
}
}