CommonLibVR
SetMotionTypeFunctor.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSPointerHandle.h"
4 #include "RE/B/BSTSmartPointer.h"
5 #include "RE/D/DelayFunctor.h"
6 
7 namespace RE
8 {
9  namespace BSScript
10  {
11  class IVirtualMachine;
12  }
13 
14  namespace SkyrimScript
15  {
17  {
18  public:
19  inline static constexpr auto RTTI = RTTI_SkyrimScript____SetMotionTypeFunctor;
20  inline static constexpr auto VTABLE = VTABLE_SkyrimScript____SetMotionTypeFunctor;
21 
22  ~SetMotionTypeFunctor() override; // 00
23 
24  // override (DelayFunctor)
26  bool IsLatent() const override; // 02 - { return true; }
27  bool SaveImpl(BSStorage& a_storage) const override; // 04
28  FunctorType GetType() const override; // 05 - { return 8; }
29  bool LoadImpl(const BSStorage& a_storage, std::uint32_t a_arg2, bool& a_arg3) override; // 06
30 
31  // members
33  std::uint32_t type; // 14
35  bool allowActivate; // 20
36  std::uint8_t pad21; // 21
37  std::uint16_t pad22; // 22
38  std::uint32_t pad24; // 24
39  };
40  static_assert(sizeof(SetMotionTypeFunctor) == 0x28);
41  }
42 }
Definition: Variable.h:15
Definition: BSStorage.h:14
Definition: BSTSmartPointer.h:37
Definition: DelayFunctor.h:17
FunctorType
Definition: DelayFunctor.h:23
Definition: SetMotionTypeFunctor.h:17
static constexpr auto RTTI
Definition: SetMotionTypeFunctor.h:19
bool LoadImpl(const BSStorage &a_storage, std::uint32_t a_arg2, bool &a_arg3) override
std::uint32_t pad24
Definition: SetMotionTypeFunctor.h:38
bool SaveImpl(BSStorage &a_storage) const override
static constexpr auto VTABLE
Definition: SetMotionTypeFunctor.h:20
bool allowActivate
Definition: SetMotionTypeFunctor.h:35
RE::BSScript::Variable operator()() override
ObjectRefHandle objectToChange
Definition: SetMotionTypeFunctor.h:32
std::uint32_t type
Definition: SetMotionTypeFunctor.h:33
BSTSmartPointer< BSScript::IVirtualMachine > vm
Definition: SetMotionTypeFunctor.h:34
std::uint16_t pad22
Definition: SetMotionTypeFunctor.h:37
FunctorType GetType() const override
std::uint8_t pad21
Definition: SetMotionTypeFunctor.h:36
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_SkyrimScript____SetMotionTypeFunctor(static_cast< std::uint64_t >(689458))
constexpr std::array< REL::ID, 1 > VTABLE_SkyrimScript____SetMotionTypeFunctor
Definition: Offsets_VTABLE.h:12726