Definition: ErrorLogger.h:13
Definition: IFunction.h:23
CallResult
Definition: IFunction.h:36
FunctionType
Definition: IFunction.h:29
Definition: ScriptFunction.h:16
bool GetIsEmpty() const override
const BSFixedString & GetObjectTypeName() const override
std::uint8_t pad5B
Definition: ScriptFunction.h:56
std::uint32_t pad5C
Definition: ScriptFunction.h:57
BSFixedString stateName
Definition: ScriptFunction.h:48
bool CanBeCalledFromTasklets() const override
TypeInfo retType
Definition: ScriptFunction.h:49
TypeInfo GetReturnType() const override
~ScriptFunction() override
const BSFixedString & GetName() const override
void InsertLocals(StackFrame *a_frame) override
bool TranslateIPToLineNumber(std::uint32_t a_indexPtr, std::uint32_t &a_lineNumberOut) const override
std::uint16_t * lineNumbers
Definition: ScriptFunction.h:62
bool isStatic
Definition: ScriptFunction.h:55
const BSFixedString & GetDocString() const override
BSFixedString sourceFileName
Definition: ScriptFunction.h:59
CallResult Call(const BSTSmartPointer< Stack > &a_stack, ErrorLogger *a_logger, Internal::VirtualMachine *a_vm, bool a_arg4) override
std::uint32_t lineNumberCount
Definition: ScriptFunction.h:60
bool GetIsNative() const override
ByteCode::PackedInstructionStream instructions
Definition: ScriptFunction.h:53
std::uint32_t GetStackFrameSize() const override
void GetParam(std::uint32_t a_idx, BSFixedString &a_nameOut, TypeInfo &a_typeOut) const override
bool GetIsStatic() const override
const BSFixedString & GetSourceFilename() const override
std::uint32_t GetParamCount() const override
std::uint32_t userFlags
Definition: ScriptFunction.h:51
bool GetVarNameForStackIndex(std::uint32_t a_idx, BSFixedString &a_nameOut) const override
void SetCallableFromTasklets(bool a_callable) override
VDescTable descTable
Definition: ScriptFunction.h:50
REX::EnumSet< FunctionType, std::uint16_t > functionType
Definition: ScriptFunction.h:54
BSFixedString objName
Definition: ScriptFunction.h:47
std::uint32_t pad74
Definition: ScriptFunction.h:61
BSFixedString name
Definition: ScriptFunction.h:46
static constexpr auto VTABLE
Definition: ScriptFunction.h:19
std::uint32_t pad44
Definition: ScriptFunction.h:52
const BSFixedString & GetStateName() const override
static constexpr auto RTTI
Definition: ScriptFunction.h:18
FunctionType GetFunctionType() const override
BSFixedString docString
Definition: ScriptFunction.h:58
std::uint32_t GetUserFlags() const override
Definition: VirtualMachine.h:46
Definition: StackFrame.h:15
Definition: TypeInfo.h:10
Definition: BSTSmartPointer.h:37
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BSScript__Internal__ScriptFunction
Definition: Offsets_VTABLE.h:9471
constexpr REL::ID RTTI_BSScript__Internal__ScriptFunction(static_cast< std::uint64_t >(691871))
Definition: PackedInstructionStream.h:10
Definition: VDescTable.h:15