docs: add plugin setup guide
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
namespace RE
|
||||
{
|
||||
namespace SplineUtils
|
||||
{
|
||||
inline void DisconnectSpline(TESObjectREFR& a_spline)
|
||||
{
|
||||
using func_t = decltype(&DisconnectSpline);
|
||||
static REL::Relocation<func_t> func{ ID::SplineUtils::DisconnectSpline };
|
||||
return func(a_spline);
|
||||
}
|
||||
|
||||
inline void ConnectSpline(TESObjectREFR* akEndpoint1, int32_t linkType1, TESObjectREFR* akEndpoint2, int32_t linkType2, TESObjectREFR* akWireRef)
|
||||
{
|
||||
using func_t = decltype(&ConnectSpline);
|
||||
static REL::Relocation<func_t> func{ ID::SplineUtils::ConnectSpline };
|
||||
return func(akEndpoint1, linkType1, akEndpoint2, linkType2, akWireRef);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user