CommonLibSSE (Parapets fork)
Crime.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSAtomic.h"
4 #include "RE/B/BSPointerHandle.h"
5 #include "RE/B/BSTArray.h"
6 
7 namespace RE
8 {
9  class TESBoundObject;
10  class TESFaction;
11  class TESForm;
12 
13  namespace PackageNS
14  {
15  struct CRIME_TYPES
16  {
17  enum CRIME_TYPE : std::uint32_t
18  {
19  kNone = static_cast<std::underlying_type_t<CRIME_TYPE>>(-1),
20  kSteal = 0,
21  kPickpocket = 1,
22  kTrespass = 2,
23  kAttack = 3,
24  kMurder = 4,
25  kEscape = 5,
26  kUnused = 6,
27 
28  kTotal = 7
29  };
30  };
32  }
33 
34  struct Crime
35  {
36  public:
37  // members
38  std::uint64_t unk00; // 00
39  std::uint64_t unk08; // 08
40  std::uint64_t unk10; // 10
41  std::uint64_t unk18; // 18
42  std::uint64_t unk20; // 20
44  std::uint64_t unk40; // 40
45  std::uint64_t unk48; // 48
46  std::uint64_t unk50; // 50
47  std::uint64_t unk58; // 58
49  std::uint32_t unk68; // 68
50  mutable BSReadWriteLock lock; // 68
51  std::uint32_t unk74; // 74
52  };
53  static_assert(sizeof(Crime) == 0x78);
54 }
Definition: BSAtomic.h:69
Definition: BSTArray.h:377
Definition: TESFaction.h:120
Definition: AbsorbEffect.h:6
Definition: Crime.h:35
BSTArray< ActorHandle > actorsKnowOfCrime
Definition: Crime.h:43
std::uint64_t unk20
Definition: Crime.h:42
std::uint32_t unk74
Definition: Crime.h:51
BSReadWriteLock lock
Definition: Crime.h:50
std::uint64_t unk00
Definition: Crime.h:38
std::uint64_t unk50
Definition: Crime.h:46
std::uint64_t unk58
Definition: Crime.h:47
TESFaction * crimeFaction
Definition: Crime.h:48
std::uint32_t unk68
Definition: Crime.h:49
std::uint64_t unk48
Definition: Crime.h:45
std::uint64_t unk18
Definition: Crime.h:41
std::uint64_t unk40
Definition: Crime.h:44
std::uint64_t unk08
Definition: Crime.h:39
std::uint64_t unk10
Definition: Crime.h:40
Definition: Crime.h:16
CRIME_TYPE
Definition: Crime.h:18