CommonLibSSE NG
Loading...
Searching...
No Matches
FreeCameraState.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTPoint.h"
4#include "RE/N/NiPoint3.h"
7
8namespace RE
9{
10 class NiNode;
11
13 public TESCameraState, // 00
14 public PlayerInputHandler // 20
15 {
16 public:
17 inline static constexpr auto RTTI = RTTI_FreeCameraState;
18 inline static constexpr auto VTABLE = VTABLE_FreeCameraState;
19
20 ~FreeCameraState() override; // 00
21
22 // override (TESCameraState)
23 void Begin() override; // 01
24 void End() override; // 02
25 void Update(BSTSmartPointer<TESCameraState>& a_nextState) override; // 03
26 void GetRotation(NiQuaternion& a_rotation) override; // 04
27 void GetTranslation(NiPoint3& a_translation) override; // 05
28
29 // override (PlayerInputHandler)
30 bool CanProcess(InputEvent* a_event) override; // 01
31 void ProcessButton(ButtonEvent* a_event, PlayerControlsData* a_movementData) override; // 04
32
33 // members
37 std::uint16_t unk4C; // 4C
38 bool useRunSpeed; // 4E
39 std::uint8_t unk4F; // 4F
40 };
41 static_assert(sizeof(FreeCameraState) == 0x50);
42}
Definition BSTPoint.h:26
Definition BSTSmartPointer.h:36
Definition ButtonEvent.h:11
Definition FreeCameraState.h:15
void GetRotation(NiQuaternion &a_rotation) override
~FreeCameraState() override
std::uint16_t unk4C
Definition FreeCameraState.h:37
void GetTranslation(NiPoint3 &a_translation) override
NiPoint3 translation
Definition FreeCameraState.h:34
bool CanProcess(InputEvent *a_event) override
void End() override
void ProcessButton(ButtonEvent *a_event, PlayerControlsData *a_movementData) override
std::uint8_t unk4F
Definition FreeCameraState.h:39
static constexpr auto RTTI
Definition FreeCameraState.h:17
static constexpr auto VTABLE
Definition FreeCameraState.h:18
void Update(BSTSmartPointer< TESCameraState > &a_nextState) override
BSTPoint2< float > unk44
Definition FreeCameraState.h:36
void Begin() override
bool useRunSpeed
Definition FreeCameraState.h:38
BSTPoint2< float > rotationInput
Definition FreeCameraState.h:35
Definition InputEvent.h:22
Definition NiPoint3.h:6
Definition NiQuaternion.h:6
Definition PlayerControlsData.h:8
Definition PlayerInputHandler.h:12
Definition TESCameraState.h:16
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_FreeCameraState(688786, 396638, 0x1f45cd0)
constexpr std::array< REL::VariantID, 2 > VTABLE_FreeCameraState
Definition Offsets_VTABLE.h:3987