Skip to content

Commit

Permalink
Merge pull request #89 from NoahBoddie/dev
Browse files Browse the repository at this point in the history
Altered CachedValueData and renamed permanentActorValueCache
  • Loading branch information
powerof3 authored Oct 19, 2023
2 parents 383faac + 2049940 commit 17dde2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions include/RE/A/AIProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,15 @@ namespace RE
};
static_assert(sizeof(MiddleLowProcessData) == 0x4);


struct CachedValueData
{
public:
// members
bool dirty; // 0
std::uint8_t pad1; // 1
std::uint16_t pad2; // 2
float value; // 4
float value; // 0
bool invalid; // 4
std::uint8_t pad5; // 5
std::uint16_t pad6; // 6
};
static_assert(sizeof(CachedValueData) == 0x8);

Expand Down Expand Up @@ -93,7 +94,7 @@ namespace RE
stl::enumeration<BooleanValue, std::uint32_t> booleanValues; // 28
stl::enumeration<Flags, std::uint32_t> flags; // 2C
BSTArray<CachedValueData> actorValueCache; // 30
BSTArray<CachedValueData> permanentActorValueCache; // 48
BSTArray<CachedValueData> maxActorValueCache; // 48
};
static_assert(sizeof(CachedValues) == 0x60);

Expand Down
4 changes: 2 additions & 2 deletions include/RE/D/DualValueModifierEffect.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ namespace RE
virtual float GetSecondaryAVWeight() const; // 22

// members
ActorValue secondaryActorValue; // 98
float secondaryAVWeight; // 9C
float secondaryAVWeight; // 98
std::uint32_t pad9C; // 9C
};
static_assert(sizeof(DualValueModifierEffect) == 0xA0);
}

0 comments on commit 17dde2b

Please sign in to comment.