docs: add plugin setup guide

This commit is contained in:
2026-05-30 18:33:24 +12:00
parent f3db41c402
commit b61043a3fe
1776 changed files with 122386 additions and 2 deletions
@@ -0,0 +1,21 @@
#pragma once
namespace RE
{
namespace AIFormulas
{
inline float GetBarterValue(float a_baseValue, float a_charisma, bool a_selling, TESObjectREFR* a_refTarget)
{
using func_t = decltype(&AIFormulas::GetBarterValue);
static REL::Relocation<func_t> func{ ID::AIFormulas::GetBarterValue };
return func(a_baseValue, a_charisma, a_selling, a_refTarget);
}
inline std::uint32_t ComputePickpocketSuccess(float a_thiefSkill, float a_targetSkill, std::int32_t a_valueStolen, float a_weightStolen, Actor* a_thief, Actor* a_target, TESForm* a_itemPickpocketing, bool a_placingItem)
{
using func_t = decltype(&AIFormulas::ComputePickpocketSuccess);
static REL::Relocation<func_t> func{ ID::AIFormulas::ComputePickpocketSuccess };
return func(a_thiefSkill, a_targetSkill, a_valueStolen, a_weightStolen, a_thief, a_target, a_itemPickpocketing, a_placingItem);
}
}
}