Skip to content

Commit d6343d6

Browse files
committed
feat: add HUDMenu::SetHUDColor
1 parent 1119aee commit d6343d6

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

include/RE/H/HUDMenu.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ namespace RE
2727
kReshowOnDestructor = 0x3
2828
};
2929

30+
void SetHUDColor()
31+
{
32+
using func_t = decltype(&HUDMenu::SetHUDColor);
33+
REL::Relocation<func_t> func{ ID::HUDMenu::SetHUDColor };
34+
return func(this);
35+
}
36+
3037
// members
3138
BSTSmallArray<std::unique_ptr<HUDComponentBase>, 32> hudObjects; // 0F0
3239
BSTArray<HUDModeType> hudModes; // 200

include/RE/IDs.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,6 +1063,11 @@ namespace RE::ID
10631063
inline constexpr REL::ID UpdateDisplayObject{ 2220382 };
10641064
}
10651065

1066+
namespace HUDMenu
1067+
{
1068+
inline constexpr REL::ID SetHUDColor{ 2248918 };
1069+
}
1070+
10661071
namespace HUDMenuUtils
10671072
{
10681073
inline constexpr REL::ID GetGameplayHUDColor{ 2248840 };

0 commit comments

Comments
 (0)