-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds AIProcess struct, the fields line up with CommonLibF4. --------- Co-authored-by: powerof3 <[email protected]> Co-authored-by: Qudix <[email protected]>
- Loading branch information
1 parent
c710bb1
commit 77041d8
Showing
6 changed files
with
219 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#pragma once | ||
|
||
#include "ActorPackage.h" | ||
|
||
namespace RE | ||
{ | ||
struct MiddleLowProcessData; | ||
struct MiddleHighProcessData; | ||
struct HighProcessData; | ||
|
||
// F8 | ||
class AIProcess | ||
{ | ||
public: | ||
MiddleLowProcessData* middleLow; // 00 | ||
MiddleHighProcessData* middleHigh; // 08 | ||
HighProcessData* high; // 10 | ||
ActorPackage currentPackage; // 18 | ||
float hourLastProcessed; // 48 | ||
std::uint32_t unk4C; // 4C | ||
std::uint64_t unk50; // 50 | ||
std::uint64_t unk58; // 58 | ||
std::uint64_t unk60; // 60 | ||
std::uint64_t unk68; // 68 | ||
std::uint64_t unk70; // 70 | ||
std::uint64_t unk78; // 78 | ||
std::uint64_t unk80; // 80 | ||
std::uint64_t unk88; // 88 | ||
std::uint64_t unk90; // 90 | ||
std::uint64_t unk98; // 98 | ||
std::uint64_t unkA0; // A0 | ||
std::uint64_t unkA8; // A8 | ||
std::uint64_t unkB0; // B0 | ||
std::uint64_t unkB8; // B8 | ||
std::uint64_t unkC0; // C0 | ||
std::uint64_t unkC8; // C8 | ||
std::uint64_t unkD0; // D0 | ||
std::uint64_t unkD8; // D8 | ||
std::uint64_t unkE0; // E0 | ||
std::uint64_t unkE8; // E8 | ||
std::uint64_t unkF0; // F0 | ||
}; | ||
static_assert(sizeof(AIProcess) == 0xF8); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#pragma once | ||
|
||
namespace RE | ||
{ | ||
struct ActorPackageData; | ||
class TESPackage; | ||
|
||
class ActorPackage | ||
{ | ||
public: | ||
// members | ||
void* packageLock; // 00 | ||
TESPackage* package; // 08 | ||
ActorPackageData* data; // 10 | ||
void* target; // 18 | ||
std::int32_t currentProcedureIndex; // 1C | ||
float packageStartTime; // 20 | ||
std::uint32_t modifiedPackageFlag; // 24 | ||
std::uint16_t modifiedInterruptFlag; // 28 | ||
std::int8_t actorPackageFlags; // 2A | ||
std::int8_t preferredSpeed; // 2B | ||
}; | ||
static_assert(sizeof(ActorPackage) == 0x30); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#include "RE/A/AIProcess.h" | ||
namespace RE | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#include "RE/A/ActorPackage.h" | ||
namespace RE | ||
{ | ||
} |