CommonLibSSE NG
Loading...
Searching...
No Matches
TESCameraState.h
Go to the documentation of this file.
1#pragma once
2
5#include "RE/P/PlayerCamera.h"
6
7namespace RE
8{
9 class BGSLoadFormBuffer;
10 class BGSSaveFormBuffer;
11 class NiPoint3;
12 class NiQuaternion;
13 class TESCamera;
14
16 {
17 public:
18 inline static constexpr auto RTTI = RTTI_TESCameraState;
19 inline static constexpr auto VTABLE = VTABLE_TESCameraState;
20
21 virtual ~TESCameraState(); // 00
22
23 // add
24 virtual void Begin(); // 01 - { return; }
25 virtual void End(); // 02 - { return; }
26 virtual void Update(BSTSmartPointer<TESCameraState>& a_nextState); // 03
27 virtual void GetRotation(NiQuaternion& a_rotation); // 04
28 virtual void GetTranslation(NiPoint3& a_translation); // 05
29 virtual void SaveGame(BGSSaveFormBuffer* a_buf); // 06 - { return; }
30 virtual void LoadGame(BGSLoadFormBuffer* a_buf); // 07 - { return; }
31 virtual void Revert(BGSLoadFormBuffer* a_buf); // 08 - { return; }
32
33 // members
34 std::uint32_t pad0C; // 0C
37 std::uint32_t pad1C; // 1C
38 };
39 static_assert(sizeof(TESCameraState) == 0x20);
40}
Definition BGSLoadFormBuffer.h:11
Definition BSTSmartPointer.h:36
Definition NiPoint3.h:6
Definition NiQuaternion.h:6
Definition TESCamera.h:13
Definition TESCameraState.h:16
virtual void Update(BSTSmartPointer< TESCameraState > &a_nextState)
virtual ~TESCameraState()
static constexpr auto RTTI
Definition TESCameraState.h:18
virtual void LoadGame(BGSLoadFormBuffer *a_buf)
std::uint32_t pad1C
Definition TESCameraState.h:37
virtual void Revert(BGSLoadFormBuffer *a_buf)
virtual void SaveGame(BGSSaveFormBuffer *a_buf)
virtual void Begin()
std::uint32_t pad0C
Definition TESCameraState.h:34
virtual void End()
TESCamera * camera
Definition TESCameraState.h:35
CameraState id
Definition TESCameraState.h:36
virtual void GetTranslation(NiPoint3 &a_translation)
static constexpr auto VTABLE
Definition TESCameraState.h:19
virtual void GetRotation(NiQuaternion &a_rotation)
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_TESCameraState(684972, 392709, 0x1edd398)
constexpr std::array< REL::VariantID, 1 > VTABLE_TESCameraState
Definition Offsets_VTABLE.h:414
Definition BSIntrusiveRefCounted.h:8
CameraState
Definition PlayerCamera.h:21