CommonLibSSE (Parapets fork)
RE::BSScript::Internal::CodeTasklet Class Reference

#include <CodeTasklet.h>

Inheritance diagram for RE::BSScript::Internal::CodeTasklet:
RE::BSScript::Internal::IFuncCallQuery RE::BSIntrusiveRefCounted

Public Types

enum class  ResumeReason {
  kNotResuming = 0 , kNotResumingNoIncrement = 1 , kInitialStart = 2 , kFunctionReturn = 3 ,
  kRetryInstruction = 4 , kFunctionCall = 5
}
 
enum class  OpCode {
  kNOP , kIADD , kFADD , kISUB ,
  kFSUB , kIMUL , kFMUL , kIDIV ,
  kFDIV , kIMOD , kNOT , kINEG ,
  kFNEG , kASSIGN , kCAST , kCMP_EQ ,
  kCMP_LT , kCMP_LTE , kCMP_GT , kCMP_GTE ,
  kJMP , kJMPT , kJMPF , kCALLMETHOD ,
  kCALLPARENT , kCALLSTATIC , kRETURN , kSTRCAT ,
  kPROPGET , kPROPSET , kARRAY_CREATE , kARRAY_LENGTH ,
  kARRAY_GETELEMENT , kARRAY_SETELEMENT , kARRAY_FINDELEMENT , kARRAY_RFINDELEMENT
}
 
- Public Types inherited from RE::BSScript::Internal::IFuncCallQuery
enum class  CallType
 

Public Member Functions

 ~CodeTasklet () override
 
bool GetFunctionCallInfo (CallType &a_callType, BSTSmartPointer< ObjectTypeInfo > &a_arg2, BSFixedString &a_arg3, Variable &a_arg4, BSScrapArray< Variable > &a_arg5) override
 
- Public Member Functions inherited from RE::BSScript::Internal::IFuncCallQuery
virtual ~IFuncCallQuery ()
 
- Public Member Functions inherited from RE::BSIntrusiveRefCounted
std::uint32_t IncRef () const
 
std::uint32_t DecRef () const
 
 TES_HEAP_REDEFINE_NEW ()
 

Public Attributes

Stackstack
 
VirtualMachinevm
 
ErrorLoggererrorLogger
 
stl::enumeration< ResumeReason, std::uint32_t > resumeReason
 
std::uint32_t pad2C
 
StackFrametopFrame
 
std::uint32_t frameMemoryPage
 
std::int8_t jumpBitCount
 
std::int8_t localVarBitCount
 
std::int8_t memberVarBitCount
 
std::uint8_t pad3F
 
std::uint32_t instructionDataBitCount
 
std::uint32_t pad44
 
const void * instructionDataStart
 
- Public Attributes inherited from RE::BSScript::Internal::IFuncCallQuery
std::uint32_t pad0C
 

Static Public Attributes

static constexpr auto RTTI = RTTI_BSScript__Internal__CodeTasklet
 
- Static Public Attributes inherited from RE::BSScript::Internal::IFuncCallQuery
static constexpr auto RTTI = RTTI_BSScript__Internal__IFuncCallQuery
 

Additional Inherited Members

- Protected Attributes inherited from RE::BSIntrusiveRefCounted
volatile std::uint32_t _refCount { 0 }
 

Member Enumeration Documentation

◆ OpCode

Enumerator
kNOP 
kIADD 
kFADD 
kISUB 
kFSUB 
kIMUL 
kFMUL 
kIDIV 
kFDIV 
kIMOD 
kNOT 
kINEG 
kFNEG 
kASSIGN 
kCAST 
kCMP_EQ 
kCMP_LT 
kCMP_LTE 
kCMP_GT 
kCMP_GTE 
kJMP 
kJMPT 
kJMPF 
kCALLMETHOD 
kCALLPARENT 
kCALLSTATIC 
kRETURN 
kSTRCAT 
kPROPGET 
kPROPSET 
kARRAY_CREATE 
kARRAY_LENGTH 
kARRAY_GETELEMENT 
kARRAY_SETELEMENT 
kARRAY_FINDELEMENT 
kARRAY_RFINDELEMENT 

◆ ResumeReason

Enumerator
kNotResuming 
kNotResumingNoIncrement 
kInitialStart 
kFunctionReturn 
kRetryInstruction 
kFunctionCall 

Constructor & Destructor Documentation

◆ ~CodeTasklet()

RE::BSScript::Internal::CodeTasklet::~CodeTasklet ( )
override

Member Function Documentation

◆ GetFunctionCallInfo()

bool RE::BSScript::Internal::CodeTasklet::GetFunctionCallInfo ( CallType a_callType,
BSTSmartPointer< ObjectTypeInfo > &  a_arg2,
BSFixedString a_arg3,
Variable a_arg4,
BSScrapArray< Variable > &  a_arg5 
)
overridevirtual

Member Data Documentation

◆ errorLogger

ErrorLogger* RE::BSScript::Internal::CodeTasklet::errorLogger

◆ frameMemoryPage

std::uint32_t RE::BSScript::Internal::CodeTasklet::frameMemoryPage

◆ instructionDataBitCount

std::uint32_t RE::BSScript::Internal::CodeTasklet::instructionDataBitCount

◆ instructionDataStart

const void* RE::BSScript::Internal::CodeTasklet::instructionDataStart

◆ jumpBitCount

std::int8_t RE::BSScript::Internal::CodeTasklet::jumpBitCount

◆ localVarBitCount

std::int8_t RE::BSScript::Internal::CodeTasklet::localVarBitCount

◆ memberVarBitCount

std::int8_t RE::BSScript::Internal::CodeTasklet::memberVarBitCount

◆ pad2C

std::uint32_t RE::BSScript::Internal::CodeTasklet::pad2C

◆ pad3F

std::uint8_t RE::BSScript::Internal::CodeTasklet::pad3F

◆ pad44

std::uint32_t RE::BSScript::Internal::CodeTasklet::pad44

◆ resumeReason

stl::enumeration<ResumeReason, std::uint32_t> RE::BSScript::Internal::CodeTasklet::resumeReason

◆ RTTI

constexpr auto RE::BSScript::Internal::CodeTasklet::RTTI = RTTI_BSScript__Internal__CodeTasklet
inlinestaticconstexpr

◆ stack

Stack* RE::BSScript::Internal::CodeTasklet::stack

◆ topFrame

StackFrame* RE::BSScript::Internal::CodeTasklet::topFrame

◆ vm

VirtualMachine* RE::BSScript::Internal::CodeTasklet::vm

The documentation for this class was generated from the following file: