CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
ExtraOwnership.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSExtraData.h"
5
6namespace RE
7{
8 class TESForm;
9
11 {
12 public:
13 inline static constexpr auto RTTI = RTTI_ExtraOwnership;
14 inline static constexpr auto EXTRADATATYPE = ExtraDataType::kOwnership;
15
17 explicit ExtraOwnership(TESForm* a_owner);
18 virtual ~ExtraOwnership() = default; // 00
19
20 // override (BSExtraData)
21 virtual ExtraDataType GetType() const override; // 01 - { return kOwnership; }
22 virtual bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return owner != a_rhs->owner; }
23
24 // members
25 TESForm* owner; // 10
26 };
27 static_assert(sizeof(ExtraOwnership) == 0x18);
28}
Definition: BSExtraData.h:9
Definition: ExtraOwnership.h:11
ExtraOwnership(TESForm *a_owner)
virtual bool IsNotEqual(const BSExtraData *a_rhs) const override
static constexpr auto RTTI
Definition: ExtraOwnership.h:13
virtual ~ExtraOwnership()=default
virtual ExtraDataType GetType() const override
TESForm * owner
Definition: ExtraOwnership.h:25
static constexpr auto EXTRADATATYPE
Definition: ExtraOwnership.h:14
Definition: TESForm.h:34
Definition: AbsorbEffect.h:6
ExtraDataType
Definition: ExtraDataTypes.h:173
constexpr REL::ID RTTI_ExtraOwnership
Definition: Offsets_RTTI.h:4726