CommonLibVR
Loading...
Searching...
No Matches
ID.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/F/FileID.h"
4
5namespace RE
6{
7 namespace BSResource
8 {
9 struct ID : public FileID
10 {
11 public:
12 void GenerateFromPath(const char* a_path)
13 {
14 using func_t = decltype(&ID::GenerateFromPath);
15 static REL::Relocation<func_t> func{ RELOCATION_ID(68635, 69979) };
16 return func(this, a_path);
17 }
18
19 // members
20 std::uint32_t dir{ 0 }; // 0
21 };
22 static_assert(sizeof(ID) == 0xC);
23 }
24}
#define RELOCATION_ID(SE, AE)
Definition PCH.h:506
Definition Relocation.h:210
Definition AbsorbEffect.h:6
Definition FileID.h:8
Definition ID.h:10
void GenerateFromPath(const char *a_path)
Definition ID.h:12
std::uint32_t dir
Definition ID.h:20