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
const BSFixedString & GetObjectTypeName() const override
std::uint8_t pad5B
Definition: ScriptFunction.h:55
std::uint32_t pad5C
Definition: ScriptFunction.h:56
BSFixedString stateName
Definition: ScriptFunction.h:47
bool CanBeCalledFromTasklets() const override
TypeInfo retType
Definition: ScriptFunction.h:48
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:61
bool isStatic
Definition: ScriptFunction.h:54
const BSFixedString & GetDocString() const override
BSFixedString sourceFileName
Definition: ScriptFunction.h:58
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
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:50
bool GetVarNameForStackIndex(std::uint32_t a_idx, BSFixedString &a_nameOut) const override
void SetCallableFromTasklets(bool a_callable) 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
const BSFixedString & GetStateName() const override
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:36
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BSScript__Internal__ScriptFunction(691871, 399915, 0x1f7d700)
Definition: PackedInstructionStream.h:10
Definition: VDescTable.h:15