CommonLibSSE (powerof3)
ExtraStartingPosition.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSExtraData.h"
4 #include "RE/E/ExtraDataTypes.h"
5 #include "RE/N/NiPoint3.h"
6 
7 namespace RE
8 {
9  class BGSLocation;
10 
11  struct FILE_POS_ROT
12  {
13  NiPoint3 pos; // 00
14  NiPoint3 rot; // 0C
15  };
16  static_assert(sizeof(FILE_POS_ROT) == 0x18);
17 
19  {
20  public:
21  inline static constexpr auto RTTI = RTTI_ExtraStartingPosition;
22  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kStartingPosition;
23 
24  virtual ~ExtraStartingPosition(); // 00
25 
26  // override (BSExtraData)
27  virtual ExtraDataType GetType() const override; // 01 - { return kStartingPosition; }
28  virtual bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return location != a_rhs->location || startPosition.pos != a_rhs->startPosition.pos || startPosition.rot != a_rhs->startPosition.rot; }
29 
30  // members
33  };
34  static_assert(sizeof(ExtraStartingPosition) == 0x30);
35 }
Definition: BGSLocation.h:68
Definition: BSExtraData.h:9
Definition: ExtraStartingPosition.h:19
virtual ExtraDataType GetType() const override
virtual bool IsNotEqual(const BSExtraData *a_rhs) const override
static constexpr auto RTTI
Definition: ExtraStartingPosition.h:21
FILE_POS_ROT startPosition
Definition: ExtraStartingPosition.h:31
static constexpr auto EXTRADATATYPE
Definition: ExtraStartingPosition.h:22
BGSLocation * location
Definition: ExtraStartingPosition.h:32
Definition: NiPoint3.h:6
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraStartingPosition
Definition: Offsets_RTTI.h:4768
ExtraDataType
Definition: ExtraDataTypes.h:173
Definition: ExtraStartingPosition.h:12
NiPoint3 rot
Definition: ExtraStartingPosition.h:14
NiPoint3 pos
Definition: ExtraStartingPosition.h:13