Skip to content

Commit

Permalink
oopsies (#17)
Browse files Browse the repository at this point in the history
* chore: Cleanup enum declaration.

* fix: Class override incorrect.

* fix: Declarations.
  • Loading branch information
FlenarnTemp authored Jul 30, 2024
1 parent 0d3e66c commit dae0e27
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CommonLibF4/include/RE/Bethesda/Events.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#include "RE/Bethesda/Actor.h"
#include "RE/Bethesda/BSFixedString.h"
#include "RE/Bethesda/BSPointerHandle.h"
#include "RE/Bethesda/BSTArray.h"
Expand All @@ -12,6 +13,7 @@

namespace RE
{
class ActiveEffect;
class bhkNPCollisionObject;
class BGSMessage;
class HUDModeType;
Expand Down
1 change: 1 addition & 0 deletions CommonLibF4/include/RE/Bethesda/PipboyDataManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "RE/Bethesda/PipboyQuestData.h"
#include "RE/Bethesda/PipboyRadioData.h"
#include "RE/Bethesda/PipboySpecialData.h"
#include "RE/Bethesda/PipboyStatsData.h"
#include "RE/Bethesda/PipboyThrottleManager.h"
#include "RE/Bethesda/PipboyValue.h"
#include "RE/Bethesda/PipboyWorkshopData.h"
Expand Down
20 changes: 10 additions & 10 deletions CommonLibF4/include/RE/Bethesda/VATS.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@ namespace RE
class TESHitEvent;
struct WeaponFiredEvent;

namespace VATSEvents
{
struct ModeChange
{
VATS::VATS_MODE_ENUM oldMode; // 00
VATS::VATS_MODE_ENUM newMode; // 04
};
static_assert(sizeof(ModeChange) == 0x8);
}

class __declspec(novtable) VATS :
public BSTEventSink<WeaponFiredEvent>, // 00
public BSTEventSink<ProjectileBeginUpdateEvent>, // 08
Expand Down Expand Up @@ -92,4 +82,14 @@ namespace RE
BSSpinLock spinLock; // D0
};
static_assert(sizeof(VATS) == 0xD8);

namespace VATSEvents
{
struct ModeChange
{
VATS::VATS_MODE_ENUM oldMode; // 00
VATS::VATS_MODE_ENUM newMode; // 04
};
static_assert(sizeof(ModeChange) == 0x8);
}
}

0 comments on commit dae0e27

Please sign in to comment.