Definition: ErrorLogger.h:13
Definition: IFunction.h:23
CallResult
Definition: IFunction.h:35
FunctionType
Definition: IFunction.h:28
Definition: ScriptFunction.h:16
bool GetIsEmpty() const override
std::uint8_t pad5B
Definition: ScriptFunction.h:55
std::uint32_t pad5C
Definition: ScriptFunction.h:56
const BSFixedString & GetSourceFilename() const override
BSFixedString stateName
Definition: ScriptFunction.h:47
bool CanBeCalledFromTasklets() const override
TypeInfo retType
Definition: ScriptFunction.h:48
TypeInfo GetReturnType() const override
const BSFixedString & GetStateName() const override
~ScriptFunction() 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:61
bool isStatic
Definition: ScriptFunction.h:54
BSFixedString sourceFileName
Definition: ScriptFunction.h:58
const BSFixedString & GetDocString() const override
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:59
bool GetIsNative() const override
ByteCode::PackedInstructionStream instructions
Definition: ScriptFunction.h:52
const BSFixedString & GetObjectTypeName() const override
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
std::uint32_t GetParamCount() const override
std::uint32_t userFlags
Definition: ScriptFunction.h:50
bool GetVarNameForStackIndex(std::uint32_t a_idx, BSFixedString &a_nameOut) const override
void SetCallableFromTasklets(bool a_callable) override
const BSFixedString & GetName() const override
VDescTable descTable
Definition: ScriptFunction.h:49
BSFixedString objName
Definition: ScriptFunction.h:46
stl::enumeration< FunctionType, std::uint16_t > functionType
Definition: ScriptFunction.h:53
std::uint32_t pad74
Definition: ScriptFunction.h:60
BSFixedString name
Definition: ScriptFunction.h:45
std::uint32_t pad44
Definition: ScriptFunction.h:51
static constexpr auto RTTI
Definition: ScriptFunction.h:18
FunctionType GetFunctionType() const override
BSFixedString docString
Definition: ScriptFunction.h:57
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 REL::ID RTTI_BSScript__Internal__ScriptFunction
Definition: Offsets_RTTI.h:2199
Definition: PackedInstructionStream.h:10
Definition: VDescTable.h:15