-
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.
- Loading branch information
1 parent
943b51d
commit c0886fb
Showing
4 changed files
with
108 additions
and
114 deletions.
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
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 |
---|---|---|
@@ -1,35 +1,31 @@ | ||
#pragma once | ||
|
||
#include "RE/B/BSFixedString.h" | ||
#include "RE/B/BSTSmartPointer.h" | ||
#include "RE/V/Variable.h" | ||
|
||
namespace RE | ||
namespace RE::BSScript | ||
{ | ||
namespace BSScript | ||
{ | ||
class IFunction; | ||
class ObjectTypeInfo; | ||
class Stack; | ||
class Variable; | ||
class IFunction; | ||
class ObjectTypeInfo; | ||
class Stack; | ||
class Variable; | ||
|
||
class StackFrame | ||
{ | ||
public: | ||
[[nodiscard]] std::uint32_t GetPageForFrame() const; | ||
[[nodiscard]] Variable& GetStackFrameVariable(std::uint32_t a_index, std::uint32_t a_pageHint) const; | ||
class StackFrame | ||
{ | ||
public: | ||
[[nodiscard]] std::uint32_t GetPageForFrame() const; | ||
[[nodiscard]] Variable& GetStackFrameVariable(std::uint32_t a_index, std::uint32_t a_pageHint) const; | ||
|
||
// members | ||
Stack* parent; // 00 | ||
StackFrame* previousFrame; // 08 | ||
BSTSmartPointer<IFunction> owningFunction; // 10 | ||
BSTSmartPointer<ObjectTypeInfo> owningObjectType; // 18 | ||
Variable self; // 20 | ||
std::uint32_t index; // 30 | ||
std::uint32_t ip; // 34 | ||
std::uint32_t size; // 38 | ||
bool instructionsValid; // 3C | ||
}; | ||
static_assert(sizeof(StackFrame) == 0x40); | ||
} | ||
// members | ||
Stack* parent; // 00 | ||
StackFrame* previousFrame; // 08 | ||
BSTSmartPointer<IFunction> owningFunction; // 10 | ||
BSTSmartPointer<ObjectTypeInfo> owningObjectType; // 18 | ||
Variable self; // 20 | ||
std::uint32_t index; // 30 | ||
std::uint32_t ip; // 34 | ||
std::uint32_t size; // 38 | ||
bool instructionsValid; // 3C | ||
}; | ||
static_assert(sizeof(StackFrame) == 0x40); | ||
} |
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 |
---|---|---|
@@ -1 +1 @@ | ||
#include "RE/Starfield.h" | ||
#include "RE/Starfield.h" |