docs: add plugin setup guide
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
#pragma once
|
||||
|
||||
#include "RE/B/BSFixedString.h"
|
||||
#include "RE/B/BSIntrusiveRefCounted.h"
|
||||
#include "RE/B/BSTArray.h"
|
||||
#include "RE/B/BSTSmartPointer.h"
|
||||
|
||||
namespace RE
|
||||
{
|
||||
namespace BSScript
|
||||
{
|
||||
class ObjectTypeInfo;
|
||||
class Variable;
|
||||
|
||||
namespace Internal
|
||||
{
|
||||
class __declspec(novtable) IFuncCallQuery :
|
||||
public BSIntrusiveRefCounted
|
||||
{
|
||||
public:
|
||||
static constexpr auto RTTI{ RTTI::BSScript__Internal__IFuncCallQuery };
|
||||
static constexpr auto VTABLE{ VTABLE::BSScript__Internal__IFuncCallQuery };
|
||||
|
||||
enum class CallType
|
||||
{
|
||||
kMember,
|
||||
kStatic,
|
||||
kGetter,
|
||||
kSetter
|
||||
};
|
||||
|
||||
virtual ~IFuncCallQuery(); // 00
|
||||
|
||||
// add
|
||||
virtual bool GetFunctionCallInfo(
|
||||
CallType& a_callType,
|
||||
BSTSmartPointer<ObjectTypeInfo>& a_objectTypeInfo,
|
||||
BSFixedString& a_name,
|
||||
Variable& a_self,
|
||||
BSScrapArray<Variable>& a_args) const = 0; // 01
|
||||
|
||||
// members
|
||||
std::uint32_t pad0C; // 0C
|
||||
};
|
||||
static_assert(sizeof(IFuncCallQuery) == 0x10);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user