CommonLibSSE (Parapets fork)
SendPlayerToJailFunctor.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTSmartPointer.h"
4 #include "RE/D/DelayFunctor.h"
5 
6 namespace RE
7 {
8  namespace BSScript
9  {
10  class IVirtualMachine;
11  }
12 
13  namespace SkyrimScript
14  {
16  {
17  public:
18  inline static constexpr auto RTTI = RTTI_SkyrimScript____SendPlayerToJailFunctor;
19 
20  enum class Flag
21  {
22  kNone = 0,
23  kRemoveInventory = 1 << 0,
24  kRealJail = 1 << 1
25  };
26 
27  ~SendPlayerToJailFunctor() override; // 00
28 
29  // override (DelayFunctor)
31  bool IsLatent() const override; // 02 - { return true; }
32  bool SaveImpl(BSStorage& a_storage) const override; // 04
33  FunctorType GetType() const override; // 05 - { return 19; }
34  bool LoadImpl(const BSStorage& a_storage, std::uint32_t a_arg2, bool& a_arg3) override; // 06
35 
36  // members
37  FormID faction; // 10
39  std::uint8_t pad15; // 15
40  std::uint16_t pad16; // 16
42  };
43  static_assert(sizeof(SendPlayerToJailFunctor) == 0x20);
44  }
45 }
Definition: Variable.h:15
Definition: BSStorage.h:14
Definition: BSTSmartPointer.h:37
Definition: DelayFunctor.h:17
FunctorType
Definition: DelayFunctor.h:22
Definition: SendPlayerToJailFunctor.h:16
RE::BSScript::Variable operator()() override
stl::enumeration< Flag, std::uint8_t > flags
Definition: SendPlayerToJailFunctor.h:38
std::uint16_t pad16
Definition: SendPlayerToJailFunctor.h:40
bool LoadImpl(const BSStorage &a_storage, std::uint32_t a_arg2, bool &a_arg3) override
Flag
Definition: SendPlayerToJailFunctor.h:21
FunctorType GetType() const override
static constexpr auto RTTI
Definition: SendPlayerToJailFunctor.h:18
BSTSmartPointer< BSScript::IVirtualMachine > vm
Definition: SendPlayerToJailFunctor.h:41
FormID faction
Definition: SendPlayerToJailFunctor.h:37
std::uint8_t pad15
Definition: SendPlayerToJailFunctor.h:39
bool SaveImpl(BSStorage &a_storage) const override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_SkyrimScript____SendPlayerToJailFunctor
Definition: Offsets_RTTI.h:5892
std::uint32_t FormID
Definition: BSCoreTypes.h:5