CommonLibSSE (powerof3)
RemoveItemFunctor.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____RemoveItemFunctor;
20  inline static constexpr auto VTABLE = VTABLE_SkyrimScript____RemoveItemFunctor;
21 
22  ~RemoveItemFunctor() 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 24; }
29  bool LoadImpl(const BSStorage& a_storage, std::uint32_t a_arg2, bool& a_arg3) override; // 06
30 
31  // members
34  FormID item; // 18
35  std::uint32_t count; // 1C
36  bool silent; // 20
37  std::uint8_t pad21; // 21
38  std::uint16_t pad22; // 22
39  std::uint32_t pad24; // 24
41  };
42  static_assert(sizeof(RemoveItemFunctor) == 0x30);
43  }
44 }
Definition: Variable.h:15
Definition: BSStorage.h:14
Definition: BSTSmartPointer.h:37
Definition: DelayFunctor.h:17
FunctorType
Definition: DelayFunctor.h:23
Definition: RemoveItemFunctor.h:17
BSTSmartPointer< BSScript::IVirtualMachine > vm
Definition: RemoveItemFunctor.h:40
ObjectRefHandle container
Definition: RemoveItemFunctor.h:32
RE::BSScript::Variable operator()() override
std::uint32_t count
Definition: RemoveItemFunctor.h:35
bool LoadImpl(const BSStorage &a_storage, std::uint32_t a_arg2, bool &a_arg3) override
static constexpr auto VTABLE
Definition: RemoveItemFunctor.h:20
bool SaveImpl(BSStorage &a_storage) const override
std::uint32_t pad24
Definition: RemoveItemFunctor.h:39
FunctorType GetType() const override
FormID item
Definition: RemoveItemFunctor.h:34
std::uint16_t pad22
Definition: RemoveItemFunctor.h:38
ObjectRefHandle destContainer
Definition: RemoveItemFunctor.h:33
static constexpr auto RTTI
Definition: RemoveItemFunctor.h:19
bool IsLatent() const override
std::uint8_t pad21
Definition: RemoveItemFunctor.h:37
bool silent
Definition: RemoveItemFunctor.h:36
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_SkyrimScript____RemoveItemFunctor(static_cast< std::uint64_t >(689428))
std::uint32_t FormID
Definition: BSCoreTypes.h:5
constexpr std::array< REL::ID, 1 > VTABLE_SkyrimScript____RemoveItemFunctor
Definition: Offsets_VTABLE.h:12719