CommonLibVR
CombatObject.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiRefObject.h"
4 
5 namespace RE
6 {
7  class BGSLoadGameBuffer;
8  class BGSSaveGameBuffer;
9 
10  class CombatObject : public NiRefObject
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_CombatObject;
14  inline static constexpr auto VTABLE = VTABLE_CombatObject;
15 
16  ~CombatObject() override; // 00
17 
18  // add
19  virtual std::uint32_t GetObjectType() = 0; // 02
20  virtual void SaveGame(BGSSaveGameBuffer* a_buf); // 03 - { return }
21  virtual void LoadGame(BGSLoadGameBuffer* a_buf); // 04 - { return }
22  private:
23  KEEP_FOR_RE()
24  };
25  static_assert(sizeof(CombatObject) == 0x10);
26 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BGSLoadGameBuffer.h:6
Definition: BGSSaveGameBuffer.h:10
Definition: CombatObject.h:11
~CombatObject() override
virtual void LoadGame(BGSLoadGameBuffer *a_buf)
virtual void SaveGame(BGSSaveGameBuffer *a_buf)
static constexpr auto VTABLE
Definition: CombatObject.h:14
static constexpr auto RTTI
Definition: CombatObject.h:13
virtual std::uint32_t GetObjectType()=0
Definition: NiRefObject.h:8
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_CombatObject
Definition: Offsets_VTABLE.h:11082
constexpr REL::ID RTTI_CombatObject(static_cast< std::uint64_t >(687515))