CommonLibSSE (powerof3)
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 
22  ~MoveToFunctor() 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 0; }
29  bool LoadImpl(const BSStorage& a_storage, std::uint32_t a_arg2, bool& a_arg3) override; // 06
30 
31  // members
36  bool matchRotation; // 30
37  bool exactTranslate; // 31
38  std::uint16_t pad32; // 32
39  std::uint32_t pad34; // 34
41  };
42  static_assert(sizeof(MoveToFunctor) == 0x40);
43  }
44 }
Definition: Variable.h:15
Definition: BSStorage.h:14
Definition: BSTSmartPointer.h:37
Definition: NiPoint3.h:6
Definition: DelayFunctor.h:17
FunctorType
Definition: DelayFunctor.h:22
Definition: MoveToFunctor.h:18
ObjectRefHandle source
Definition: MoveToFunctor.h:32
FunctorType GetType() const override
ObjectRefHandle destination
Definition: MoveToFunctor.h:33
bool SaveImpl(BSStorage &a_storage) const override
BSTSmartPointer< BSScript::IVirtualMachine > vm
Definition: MoveToFunctor.h:40
bool IsLatent() const override
std::uint32_t pad34
Definition: MoveToFunctor.h:39
RE::BSScript::Variable operator()() override
NiPoint3 rotationOffset
Definition: MoveToFunctor.h:35
NiPoint3 offset
Definition: MoveToFunctor.h:34
bool matchRotation
Definition: MoveToFunctor.h:36
bool LoadImpl(const BSStorage &a_storage, std::uint32_t a_arg2, bool &a_arg3) override
std::uint16_t pad32
Definition: MoveToFunctor.h:38
bool exactTranslate
Definition: MoveToFunctor.h:37
static constexpr auto RTTI
Definition: MoveToFunctor.h:20
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_SkyrimScript____MoveToFunctor
Definition: Offsets_RTTI.h:5881