CommonLibSSE NG
MapCamera.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTSmartPointer.h"
4 #include "RE/T/TESCamera.h"
5 
6 namespace RE
7 {
8  namespace MapCameraStates
9  {
10  class Exit : public TESCameraState
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_MapCameraStates__Exit;
14  inline static constexpr auto VTABLE = VTABLE_MapCameraStates__Exit;
15  };
16 
17  class Transition : public TESCameraState
18  {
19  public:
20  inline static constexpr auto RTTI = RTTI_MapCameraStates__Transition;
21  inline static constexpr auto VTABLE = VTABLE_MapCameraStates__Transition;
22 
23  std::uint32_t unk20;
24  std::uint32_t unk24;
25  std::uint32_t unk28;
26  std::uint32_t unk2C;
27  std::uint32_t unk30;
28  std::uint32_t unk34;
29  std::uint32_t unk38;
30  std::uint32_t unk3C;
33  std::uint32_t unk58;
34  std::uint32_t unk5C;
36  };
37  static_assert(sizeof(Transition) == 0x70);
38 
39  class World : public TESCameraState
40  {
41  public:
42  inline static constexpr auto RTTI = RTTI_MapCameraStates__World;
43  inline static constexpr auto VTABLE = VTABLE_MapCameraStates__World;
44 
45  struct MapData
46  {
47  void* unk00;
48  void* unk08;
49  std::uint32_t unk10;
50  std::uint32_t unk14;
51  std::uint32_t unk18;
54  };
55 
58  NiPoint3 unk38; // 38
59  NiPoint3 unk44; // 44
60  std::uint32_t unk50; // 50
61  std::uint32_t unk54; // 54
62  std::float_t multiplierOfUnk44; // 58
63  std::uint32_t unk5C;
64  std::uint32_t unk60;
65  std::uint32_t unk64;
66  MapData* mapData; // 68
67  };
68  static_assert(sizeof(World) == 0x70);
69  }
70 
71  class TESWorldSpace;
72  struct IMapCameraCallbacks;
73 
74  class MapCamera : public TESCamera
75  {
76  public:
77  inline static constexpr auto RTTI = RTTI_MapCamera;
78 
79  ~MapCamera() override; // 00
80 
81  // add
82  virtual void Unk_03(void); // 03
83 
84  // members
85  float unk38; // 38
86  float unk3C; // 3C
87  float unk40; // 40
88  float unk44; // 44
89  float unk48; // 48
90  std::uint32_t unk4C; // 4C
93  std::uint32_t unk60; // 60
94  std::uint32_t unk64; // 64
98  std::uint8_t unk88; // 88
99  std::uint8_t pad89; // 89
100  std::uint16_t pad8A; // 8A
101  std::uint32_t pad8C; // 8C
102  };
103  static_assert(sizeof(MapCamera) == 0x90);
104 }
Definition: BSTSmartPointer.h:36
Definition: MapCamera.h:11
static constexpr auto VTABLE
Definition: MapCamera.h:14
static constexpr auto RTTI
Definition: MapCamera.h:13
Definition: MapCamera.h:18
std::uint32_t unk24
Definition: MapCamera.h:24
std::uint32_t unk38
Definition: MapCamera.h:29
std::uint32_t unk5C
Definition: MapCamera.h:34
NiPoint3 zoomOrigin
Definition: MapCamera.h:35
NiPoint3 currentPosition
Definition: MapCamera.h:31
NiPoint3 zoomDestination
Definition: MapCamera.h:32
std::uint32_t unk58
Definition: MapCamera.h:33
std::uint32_t unk20
Definition: MapCamera.h:23
static constexpr auto RTTI
Definition: MapCamera.h:20
std::uint32_t unk30
Definition: MapCamera.h:27
std::uint32_t unk2C
Definition: MapCamera.h:26
std::uint32_t unk3C
Definition: MapCamera.h:30
std::uint32_t unk34
Definition: MapCamera.h:28
std::uint32_t unk28
Definition: MapCamera.h:25
static constexpr auto VTABLE
Definition: MapCamera.h:21
Definition: MapCamera.h:40
NiPoint3 unk38
Definition: MapCamera.h:58
NiPoint3 unk44
Definition: MapCamera.h:59
std::uint32_t unk5C
Definition: MapCamera.h:63
NiPoint3 currentPosition
Definition: MapCamera.h:56
static constexpr auto VTABLE
Definition: MapCamera.h:43
NiPoint3 currentPositionScrollOffset
Definition: MapCamera.h:57
std::uint32_t unk60
Definition: MapCamera.h:64
std::uint32_t unk54
Definition: MapCamera.h:61
std::uint32_t unk64
Definition: MapCamera.h:65
std::uint32_t unk50
Definition: MapCamera.h:60
std::float_t multiplierOfUnk44
Definition: MapCamera.h:62
static constexpr auto RTTI
Definition: MapCamera.h:42
MapData * mapData
Definition: MapCamera.h:66
Definition: MapCamera.h:75
std::uint16_t pad8A
Definition: MapCamera.h:100
BSTSmartPointer< MapCameraStates::Transition > unk80
Definition: MapCamera.h:97
std::uint32_t unk4C
Definition: MapCamera.h:90
float unk48
Definition: MapCamera.h:89
BSTSmartPointer< MapCameraStates::World > unk68[2]
Definition: MapCamera.h:95
BSTSmartPointer< MapCameraStates::Exit > unk78
Definition: MapCamera.h:96
float unk44
Definition: MapCamera.h:88
static constexpr auto RTTI
Definition: MapCamera.h:77
IMapCameraCallbacks * unk58
Definition: MapCamera.h:92
float unk38
Definition: MapCamera.h:85
std::uint32_t unk60
Definition: MapCamera.h:93
~MapCamera() override
virtual void Unk_03(void)
std::uint32_t unk64
Definition: MapCamera.h:94
float unk40
Definition: MapCamera.h:87
std::uint8_t unk88
Definition: MapCamera.h:98
float unk3C
Definition: MapCamera.h:86
std::uint32_t pad8C
Definition: MapCamera.h:101
TESWorldSpace * worldSpace
Definition: MapCamera.h:91
std::uint8_t pad89
Definition: MapCamera.h:99
Definition: NiPoint2.h:6
Definition: NiPoint3.h:6
Definition: TESCameraState.h:16
Definition: TESCamera.h:13
Definition: TESWorldSpace.h:118
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_MapCamera(688982, 396837, 0x0)
constexpr REL::VariantID RTTI_MapCameraStates__Exit(688979, 396834, 0x0)
constexpr std::array< REL::VariantID, 1 > VTABLE_MapCameraStates__Transition
Definition: Offsets_VTABLE.h:4164
constexpr std::array< REL::VariantID, 1 > VTABLE_MapCameraStates__World
Definition: Offsets_VTABLE.h:4167
constexpr REL::VariantID RTTI_MapCameraStates__Transition(688980, 396835, 0x0)
constexpr std::array< REL::VariantID, 1 > VTABLE_MapCameraStates__Exit
Definition: Offsets_VTABLE.h:4165
constexpr REL::VariantID RTTI_MapCameraStates__World(688985, 396840, 0x0)
Definition: IMapCameraCallbacks.h:6
Definition: MapCamera.h:46
std::uint32_t unk14
Definition: MapCamera.h:50
NiPoint2 minimumCoordinates
Definition: MapCamera.h:52
std::uint32_t unk10
Definition: MapCamera.h:49
NiPoint2 maximumCoordinates
Definition: MapCamera.h:53
std::uint32_t unk18
Definition: MapCamera.h:51
void * unk08
Definition: MapCamera.h:48
void * unk00
Definition: MapCamera.h:47