CommonLibSSE NG
Loading...
Searching...
No Matches
BGSGrassManager.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSAtomic.h"
4#include "RE/B/BSTArray.h"
5#include "RE/B/BSTSingleton.h"
7
8namespace RE
9{
10 class NiNode;
11
12 class BGSGrassManager : public BSTSingletonSDM<BGSGrassManager>
13 {
14 public:
16 {
17 REL::Relocation<BGSGrassManager**> singleton{ RELOCATION_ID(514292, 400452) };
18 return *singleton;
19 }
20
21 // members
23 std::uint8_t unk02; // 02
24 std::uint16_t unk04; // 04
25 std::uint32_t unk08; // 08
26 std::uint32_t unk0C; // 0C
27 std::uint64_t unk10; // 10 - BSTHashMap<std::uint64_t, GrassType*> ?
28 std::uint64_t unk18; // 18
29 std::uint64_t unk20; // 20
30 std::uint64_t unk28; // 28
31 std::uint64_t unk30; // 30
32 mutable BSReadWriteLock lock; // 38
33 std::uint32_t unk40; // 40
34 std::uint32_t pad44; // 44
36 float unk60; // 60
37 std::uint32_t pad64; // 64
39 std::uint32_t grassEvalSize; // 70
40 std::uint32_t grassEvalSizeSquared; // 74
41 std::uint32_t unk78; // 78
42 std::uint32_t unk7C; // 7C
43 std::uint64_t unk80; // 80
44 bool enableGrass; // 88
45 };
46 static_assert(sizeof(BGSGrassManager) == 0x90);
47}
#define RELOCATION_ID(a_se, a_ae)
Definition PCH.h:794
Definition BGSGrassManager.h:13
std::uint32_t pad64
Definition BGSGrassManager.h:37
static BGSGrassManager * GetSingleton()
Definition BGSGrassManager.h:15
std::uint32_t pad44
Definition BGSGrassManager.h:34
std::uint32_t unk7C
Definition BGSGrassManager.h:42
std::uint32_t grassEvalSizeSquared
Definition BGSGrassManager.h:40
float unk60
Definition BGSGrassManager.h:36
std::uint64_t unk20
Definition BGSGrassManager.h:29
std::uint32_t grassEvalSize
Definition BGSGrassManager.h:39
std::uint32_t unk78
Definition BGSGrassManager.h:41
std::uint32_t unk08
Definition BGSGrassManager.h:25
std::uint32_t unk0C
Definition BGSGrassManager.h:26
bool enableGrass
Definition BGSGrassManager.h:44
BSTArray< void * > unk48
Definition BGSGrassManager.h:35
std::uint64_t unk18
Definition BGSGrassManager.h:28
std::uint32_t unk40
Definition BGSGrassManager.h:33
std::uint64_t unk10
Definition BGSGrassManager.h:27
std::uint8_t unk02
Definition BGSGrassManager.h:23
BSReadWriteLock lock
Definition BGSGrassManager.h:32
NiPointer< NiNode > grassNode
Definition BGSGrassManager.h:38
std::uint64_t unk30
Definition BGSGrassManager.h:31
std::uint64_t unk28
Definition BGSGrassManager.h:30
std::uint16_t unk04
Definition BGSGrassManager.h:24
bool generateGrassDataFiles
Definition BGSGrassManager.h:22
std::uint64_t unk80
Definition BGSGrassManager.h:43
Definition BSAtomic.h:69
Definition BSTArray.h:377
Definition NiSmartPointer.h:9
Definition Relocation.h:1638
Definition AbsorbEffect.h:6
Definition BSTSingleton.h:50