Skip to content

Commit 8d64dad

Browse files
committed
feat: add GameUIModel::SetGameColors
1 parent ac2d02b commit 8d64dad

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

include/RE/G/GameUIModel.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ namespace RE
2929
return *singleton;
3030
}
3131

32+
void SetGameColors()
33+
{
34+
using func_t = decltype(&GameUIModel::SetGameColors);
35+
static REL::Relocation<func_t> func{ ID::GameUIModel::SetGameColors };
36+
return func(this);
37+
}
38+
3239
void UpdateDataModels()
3340
{
3441
using func_t = decltype(&GameUIModel::UpdateDataModels);

include/RE/IDs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,7 @@ namespace RE::ID
10371037
namespace GameUIModel
10381038
{
10391039
inline constexpr REL::ID Singleton{ 4802814 };
1040+
inline constexpr REL::ID SetGameColors{ 2220911 };
10401041
inline constexpr REL::ID UpdateDataModels{ 2220905 };
10411042
}
10421043

0 commit comments

Comments
 (0)