enderalse/source/Enderal DLL/src/Papyrus.h

14 lines
364 B
C++

#pragma once
#define BIND(a_method, ...) a_vm.RegisterFunction(#a_method##sv, script, a_method __VA_OPT__(, ) __VA_ARGS__)
namespace Papyrus {
using VM = RE::BSScript::Internal::VirtualMachine;
using StackID = RE::VMStackID;
using Severity = RE::BSScript::ErrorLogger::Severity;
inline constexpr auto script = "EnderalFunctions"sv;
bool Bind(VM* a_vm);
}