CommonLibVR
MoveToFunctor.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 #include "RE/N/NiPoint3.h"
7 
8 namespace RE
9 {
10  namespace BSScript
11  {
12  class IVirtualMachine;
13  }
14 
15  namespace SkyrimScript
16  {
17  class MoveToFunctor : public DelayFunctor
18  {
19  public:
20  inline static constexpr auto RTTI = RTTI_SkyrimScript____MoveToFunctor;
21  inline static constexpr auto VTABLE = VTABLE_SkyrimScript____MoveToFunctor;
22 
23  ~MoveToFunctor() override; // 00
24 
25  // override (DelayFunctor)
27  bool IsLatent() const override; // 02 - { return true; }
28  bool SaveImpl(BSStorage& a_storage) const override; // 04
29  FunctorType GetType() const override; // 05 - { return 0; }
30  bool LoadImpl(const BSStorage& a_storage, std::uint32_t a_arg2, bool& a_arg3) override; // 06
31 
32  // members
37  bool matchRotation; // 30
38  bool exactTranslate; // 31
39  std::uint16_t pad32; // 32
40  std::uint32_t pad34; // 34
42  };
43  static_assert(sizeof(MoveToFunctor) == 0x40);
44  }
45 }
Definition: Variable.h:15
Definition: BSStorage.h:14
Definition: BSTSmartPointer.h:37
Definition: NiPoint3.h:6
Definition: DelayFunctor.h:17
FunctorType
Definition: DelayFunctor.h:23
Definition: MoveToFunctor.h:18
ObjectRefHandle source
Definition: MoveToFunctor.h:33
FunctorType GetType() const override
ObjectRefHandle destination
Definition: MoveToFunctor.h:34
bool SaveImpl(BSStorage &a_storage) const override
BSTSmartPointer< BSScript::IVirtualMachine > vm
Definition: MoveToFunctor.h:41
bool IsLatent() const override
std::uint32_t pad34
Definition: MoveToFunctor.h:40
RE::BSScript::Variable operator()() override
NiPoint3 rotationOffset
Definition: MoveToFunctor.h:36
static constexpr auto VTABLE
Definition: MoveToFunctor.h:21
NiPoint3 offset
Definition: MoveToFunctor.h:35
bool matchRotation
Definition: MoveToFunctor.h:37
bool LoadImpl(const BSStorage &a_storage, std::uint32_t a_arg2, bool &a_arg3) override
std::uint16_t pad32
Definition: MoveToFunctor.h:39
bool exactTranslate
Definition: MoveToFunctor.h:38
static constexpr auto RTTI
Definition: MoveToFunctor.h:20
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_SkyrimScript____MoveToFunctor(static_cast< std::uint64_t >(689430))
constexpr std::array< REL::ID, 1 > VTABLE_SkyrimScript____MoveToFunctor
Definition: Offsets_VTABLE.h:12713