Plasma Engine  2.0
Loading...
Searching...
No Matches
ScriptAttributes.h
1#pragma once
2
3#include <Core/CoreDLL.h>
4#include <Foundation/Reflection/Reflection.h>
5
9{
10 PL_ADD_DYNAMIC_REFLECTION(plScriptExtensionAttribute, plPropertyAttribute);
11
12public:
15
16 plStringView GetTypeName() const { return m_sTypeName; }
17
18private:
19 plUntrackedString m_sTypeName;
20};
21
23
27{
29
30public:
32 plScriptBaseClassFunctionAttribute(plUInt16 uiIndex);
33
34 plUInt16 GetIndex() const { return m_uiIndex; }
35
36private:
37 plUInt16 m_uiIndex;
38};
Base class of all attributes can be used to decorate a RTTI property.
Definition PropertyAttributes.h:11
Add this attribute to a script function to mark it as a base class function. These are functions that...
Definition ScriptAttributes.h:27
Add this attribute to a class to add script functions to the szTypeName class. This might be necessar...
Definition ScriptAttributes.h:9
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34