CommonLibVR
Loading...
Searching...
No Matches
BSResource.h
Go to the documentation of this file.
1#pragma once
2
3namespace RE
4{
5 namespace BSResource
6 {
7 class Location;
8
9 inline void RegisterGlobalPath(const char* a_path)
10 {
11 using func_t = decltype(&RegisterGlobalPath);
12 static REL::Relocation<func_t> func{ RELOCATION_ID(68480, 69833) }; //TODO: Verify SSE
13 return func(a_path);
14 }
15
16 inline void RegisterLocation(Location* a_location, std::uint32_t a_priority)
17 {
18 using func_t = decltype(&RegisterLocation);
19 static REL::Relocation<func_t> func{ RELOCATION_ID(68476, 69829) }; //TODO: Verify SSE
20 return func(a_location, a_priority);
21 }
22 }
23}
#define RELOCATION_ID(SE, AE)
Definition PCH.h:506
Definition Relocation.h:210
Definition Location.h:17
void RegisterLocation(Location *a_location, std::uint32_t a_priority)
Definition BSResource.h:16
void RegisterGlobalPath(const char *a_path)
Definition BSResource.h:9
Definition AbsorbEffect.h:6