1
artifact-tracker/Source/ArtifactTrackerDLL/src/Papyrus.h

16 lines
408 B
C
Raw Normal View History

2022-06-19 20:35:56 +00:00
#pragma once
#define BIND(a_method, ...) a_vm.RegisterFunction(#a_method##sv, script, a_method __VA_OPT__(, ) __VA_ARGS__)
#include <RE/Skyrim.h>
namespace Papyrus {
using VM = RE::BSScript::Internal::VirtualMachine;
using StackID = RE::VMStackID;
using Severity = RE::BSScript::ErrorLogger::Severity;
2022-06-30 10:31:01 +00:00
inline constexpr auto script = "ArtifactTrackerPlayer"sv;
2022-06-19 20:35:56 +00:00
bool Bind(VM* a_vm);
}