diff --git a/deps/mod_settings b/deps/mod_settings index fa3b045..5f28977 160000 --- a/deps/mod_settings +++ b/deps/mod_settings @@ -1 +1 @@ -Subproject commit fa3b04571437a3bfeaf057e99f2fa42a12f71275 +Subproject commit 5f289773a002322ed74229caeefe4947c5a3e83c diff --git a/deps/red4ext.sdk b/deps/red4ext.sdk index 91291e5..17a61af 160000 --- a/deps/red4ext.sdk +++ b/deps/red4ext.sdk @@ -1 +1 @@ -Subproject commit 91291e5ce28064025c78026eb3cc58ec6a6248ea +Subproject commit 17a61af7685736f700a5acd683749cdf8a7302a7 diff --git a/requirements.md b/requirements.md index 77ad2cf..a6b8fa9 100644 --- a/requirements.md +++ b/requirements.md @@ -1,4 +1,4 @@ ## Requirements -* RED4ext 1.13.1+ -* ArchiveXL 1.4.5+ -* Redscript 0.5.14+ +* RED4ext 1.17.0+ +* ArchiveXL 1.7.0+ +* Redscript 0.5.16+ \ No newline at end of file diff --git a/src/red4ext/Main.cpp b/src/red4ext/Main.cpp index 83ed800..1ec2067 100644 --- a/src/red4ext/Main.cpp +++ b/src/red4ext/Main.cpp @@ -80,10 +80,10 @@ RED4EXT_C_EXPORT void RED4EXT_CALL PostRegisterTypes() { // expose the minimap members to the scripts auto ms = rtti->GetClass("gameuiMinimapContainerController"); - ms->props.PushBack(RED4ext::CProperty::Create(rtti->GetType("array:Vector4"), "questPoints", nullptr, 0x1E0)); - ms->props.PushBack(RED4ext::CProperty::Create(rtti->GetType("Bool"), "hasQuestMappin", nullptr, 0x1F0)); - ms->props.PushBack(RED4ext::CProperty::Create(rtti->GetType("array:Vector4"), "poiPoints", nullptr, 0x208)); - ms->props.PushBack(RED4ext::CProperty::Create(rtti->GetType("Bool"), "hasPoiMappin", nullptr, 0x218)); + ms->props.PushBack(RED4ext::CProperty::Create(rtti->GetType("array:Vector4"), "questPoints", nullptr, 0x1F8)); + ms->props.PushBack(RED4ext::CProperty::Create(rtti->GetType("Bool"), "hasQuestMappin", nullptr, 0x208)); + ms->props.PushBack(RED4ext::CProperty::Create(rtti->GetType("array:Vector4"), "poiPoints", nullptr, 0x220)); + ms->props.PushBack(RED4ext::CProperty::Create(rtti->GetType("Bool"), "hasPoiMappin", nullptr, 0x230)); auto getQuestMappin = RED4ext::CClassFunction::Create(ms, "GetQuestMappin", "GetQuestMappin", &GetQuestMappin, {.isNative = true});