CommonLibSSE (powerof3)
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;
20 
21  enum class Flag
22  {
23  kNone = 0,
24  kRemoveInventory = 1 << 0,
25  kRealJail = 1 << 1
26  };
27 
28  ~SendPlayerToJailFunctor() override; // 00
29 
30  // override (DelayFunctor)
32  bool IsLatent() const override; // 02 - { return true; }
33  bool SaveImpl(BSStorage& a_storage) const override; // 04
34  FunctorType GetType() const override; // 05 - { return 19; }
35  bool LoadImpl(const BSStorage& a_storage, std::uint32_t a_arg2, bool& a_arg3) override; // 06
36 
37  // members
38  FormID faction; // 10
40  std::uint8_t pad15; // 15
41  std::uint16_t pad16; // 16
43  };
44  static_assert(sizeof(SendPlayerToJailFunctor) == 0x20);
45  }
46 }
Definition: Variable.h:15
Definition: BSStorage.h:14
Definition: BSTSmartPointer.h:37
Definition: DelayFunctor.h:17
FunctorType
Definition: DelayFunctor.h:23
Definition: SendPlayerToJailFunctor.h:16
RE::BSScript::Variable operator()() override
std::uint16_t pad16
Definition: SendPlayerToJailFunctor.h:41
bool LoadImpl(const BSStorage &a_storage, std::uint32_t a_arg2, bool &a_arg3) override
Flag
Definition: SendPlayerToJailFunctor.h:22
static constexpr auto VTABLE
Definition: SendPlayerToJailFunctor.h:19
FunctorType GetType() const override
static constexpr auto RTTI
Definition: SendPlayerToJailFunctor.h:18
BSTSmartPointer< BSScript::IVirtualMachine > vm
Definition: SendPlayerToJailFunctor.h:42
FormID faction
Definition: SendPlayerToJailFunctor.h:38
std::uint8_t pad15
Definition: SendPlayerToJailFunctor.h:40
bool SaveImpl(BSStorage &a_storage) const override
REX::EnumSet< Flag, std::uint8_t > flags
Definition: SendPlayerToJailFunctor.h:39
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_SkyrimScript____SendPlayerToJailFunctor(static_cast< std::uint64_t >(689372))
std::uint32_t FormID
Definition: BSCoreTypes.h:5
constexpr std::array< REL::ID, 1 > VTABLE_SkyrimScript____SendPlayerToJailFunctor
Definition: Offsets_VTABLE.h:12724