CommonLibSSE (powerof3)
DropObjectFunctor.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____DropObjectFunctor;
20  inline static constexpr auto VTABLE = VTABLE_SkyrimScript____DropObjectFunctor;
21 
22  ~DropObjectFunctor() 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 12; }
29  bool LoadImpl(const BSStorage& a_storage, std::uint32_t a_arg2, bool& a_arg3) override; // 06
30 
31  // members
34  std::uint32_t countToDrop; // 18
35  std::uint32_t pad1C; // 1C
37  };
38  static_assert(sizeof(DropObjectFunctor) == 0x28);
39  }
40 }
Definition: Variable.h:15
Definition: BSStorage.h:14
Definition: BSTSmartPointer.h:37
Definition: DelayFunctor.h:17
FunctorType
Definition: DelayFunctor.h:23
Definition: DropObjectFunctor.h:17
static constexpr auto VTABLE
Definition: DropObjectFunctor.h:20
std::uint32_t pad1C
Definition: DropObjectFunctor.h:35
static constexpr auto RTTI
Definition: DropObjectFunctor.h:19
bool IsLatent() const override
RE::BSScript::Variable operator()() override
FunctorType GetType() const override
std::uint32_t countToDrop
Definition: DropObjectFunctor.h:34
bool LoadImpl(const BSStorage &a_storage, std::uint32_t a_arg2, bool &a_arg3) override
FormID itemToDrop
Definition: DropObjectFunctor.h:33
BSTSmartPointer< BSScript::IVirtualMachine > vm
Definition: DropObjectFunctor.h:36
bool SaveImpl(BSStorage &a_storage) const override
ObjectRefHandle dropper
Definition: DropObjectFunctor.h:32
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_SkyrimScript____DropObjectFunctor
Definition: Offsets_VTABLE.h:12703
constexpr REL::ID RTTI_SkyrimScript____DropObjectFunctor(static_cast< std::uint64_t >(689448))
std::uint32_t FormID
Definition: BSCoreTypes.h:5