CommonLibSSE NG
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 
15  ~CombatObject() override; // 00
16 
17  // add
18  virtual std::uint32_t GetObjectType() = 0; // 02
19  virtual void SaveGame(BGSSaveGameBuffer* a_buf); // 03 - { return }
20  virtual void LoadGame(BGSLoadGameBuffer* a_buf); // 04 - { return }
21  };
22  static_assert(sizeof(CombatObject) == 0x10);
23 }
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 RTTI
Definition: CombatObject.h:13
virtual std::uint32_t GetObjectType()=0
Definition: NiRefObject.h:8
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_CombatObject(687515, 395365, 0x1f1b538)