CommonLibSSE NG
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;
23 
24  ~ExtraStartingPosition() override; // 00
25 
26  // override (BSExtraData)
27  ExtraDataType GetType() const override; // 01 - { return kStartingPosition; }
28  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
~ExtraStartingPosition() override
ExtraDataType GetType() const override
static constexpr auto RTTI
Definition: ExtraStartingPosition.h:21
FILE_POS_ROT startPosition
Definition: ExtraStartingPosition.h:31
bool IsNotEqual(const BSExtraData *a_rhs) const override
BGSLocation * location
Definition: ExtraStartingPosition.h:32
static auto EXTRADATATYPE
Definition: ExtraStartingPosition.h:22
Definition: NiPoint3.h:6
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_ExtraStartingPosition(684645, 392308, 0x1ed80b8)
ExtraDataType
Definition: ExtraDataTypes.h:173
Definition: ExtraStartingPosition.h:12
NiPoint3 rot
Definition: ExtraStartingPosition.h:14
NiPoint3 pos
Definition: ExtraStartingPosition.h:13