CommonLibSSE NG
VDescTable.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSFixedString.h"
4 #include "RE/B/BSTTuple.h"
5 #include "RE/M/MemoryManager.h"
6 #include "RE/T/TypeInfo.h"
7 
8 namespace RE
9 {
10  namespace BSScript
11  {
12  namespace Internal
13  {
14  struct VDescTable
15  {
16  public:
17  explicit inline VDescTable(std::uint16_t a_numParams, std::uint16_t a_numLocals) :
18  entries(static_cast<std::size_t>(a_numParams + a_numLocals)),
19  paramCount(a_numParams),
20  totalEntries(static_cast<std::uint16_t>(a_numParams + a_numLocals))
21  {}
22 
23  // members
25  std::uint16_t paramCount; // 08
26  std::uint16_t totalEntries; // 0A
27  std::uint32_t pad0C{ 0 }; // 0C
28  };
29  static_assert(sizeof(VDescTable) == 0x10);
30  }
31  }
32 }
Definition: MemoryManager.h:244
Definition: AbsorbEffect.h:6
Definition: ActorValueList.h:28
Definition: VDescTable.h:15
std::uint16_t totalEntries
Definition: VDescTable.h:26
std::uint32_t pad0C
Definition: VDescTable.h:27
std::uint16_t paramCount
Definition: VDescTable.h:25
VDescTable(std::uint16_t a_numParams, std::uint16_t a_numLocals)
Definition: VDescTable.h:17
SimpleArray< BSTTuple< BSFixedString, TypeInfo > > entries
Definition: VDescTable.h:24