CommonLibSSE (Parapets fork)
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
20 virtual ~TESCameraState(); // 00
21
22 // add
23 virtual void Begin(); // 01 - { return; }
24 virtual void End(); // 02 - { return; }
25 virtual void Update(BSTSmartPointer<TESCameraState>& a_nextState); // 03
26 virtual void GetRotation(NiQuaternion& a_rotation); // 04
27 virtual void GetTranslation(NiPoint3& a_translation); // 05
28 virtual void SaveGame(BGSSaveFormBuffer* a_buf); // 06 - { return; }
29 virtual void LoadGame(BGSLoadFormBuffer* a_buf); // 07 - { return; }
30 virtual void Revert(BGSLoadFormBuffer* a_buf); // 08 - { return; }
31
32 // members
33 std::uint32_t pad0C; // 0C
36 std::uint32_t pad1C; // 1C
37 };
38 static_assert(sizeof(TESCameraState) == 0x20);
39}
Definition: BSTSmartPointer.h:37
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:36
virtual void Revert(BGSLoadFormBuffer *a_buf)
virtual void SaveGame(BGSSaveFormBuffer *a_buf)
virtual void Begin()
std::uint32_t pad0C
Definition: TESCameraState.h:33
virtual void End()
TESCamera * camera
Definition: TESCameraState.h:34
CameraState id
Definition: TESCameraState.h:35
virtual void GetTranslation(NiPoint3 &a_translation)
virtual void GetRotation(NiQuaternion &a_rotation)
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESCameraState
Definition: Offsets_RTTI.h:5978
Definition: BSIntrusiveRefCounted.h:8
CameraState
Definition: PlayerCamera.h:21