ScriptLanguageExtension
A Reckfell C# SDK type.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
ScriptLanguageExtensionConstructor
public ScriptLanguageExtension();Methods57
_AddGlobalConstantvoid
public virtual void _AddGlobalConstant(StringName name, Variant value);| Name | Type | Default |
|---|---|---|
name | StringName | — |
value | Variant | — |
_AddNamedGlobalConstantvoid
public virtual void _AddNamedGlobalConstant(StringName name, Variant value);| Name | Type | Default |
|---|---|---|
name | StringName | — |
value | Variant | — |
_AutoIndentCodestring
public virtual string _AutoIndentCode(string code, int fromLine, int toLine);| Name | Type | Default |
|---|---|---|
code | string | — |
fromLine | int | — |
toLine | int | — |
string_CanInheritFromFilebool
public virtual bool _CanInheritFromFile();bool_CanMakeFunctionbool
public virtual bool _CanMakeFunction();bool_CompleteCodeReckfell.Collections.Dictionary
public virtual Reckfell.Collections.Dictionary _CompleteCode(string code, string path, ReckfellObject owner);| Name | Type | Default |
|---|---|---|
code | string | — |
path | string | — |
owner | ReckfellObject | — |
Reckfell.Collections.Dictionary_CreateScriptReckfellObject · Deprecated
public virtual ReckfellObject _CreateScript();ReckfellObject_DebugGetCurrentStackInfoReckfell.Collections.Array<Reckfell.Collections.Dictionary>
public virtual Reckfell.Collections.Array<Reckfell.Collections.Dictionary> _DebugGetCurrentStackInfo();Reckfell.Collections.Array<Reckfell.Collections.Dictionary>_DebugGetErrorstring
public virtual string _DebugGetError();string_DebugGetGlobalsReckfell.Collections.Dictionary
public virtual Reckfell.Collections.Dictionary _DebugGetGlobals(int maxSubitems, int maxDepth);| Name | Type | Default |
|---|---|---|
maxSubitems | int | — |
maxDepth | int | — |
Reckfell.Collections.Dictionary_DebugGetStackLevelCountint
public virtual int _DebugGetStackLevelCount();int_DebugGetStackLevelFunctionstring
public virtual string _DebugGetStackLevelFunction(int level);| Name | Type | Default |
|---|---|---|
level | int | — |
string_DebugGetStackLevelLineint
public virtual int _DebugGetStackLevelLine(int level);| Name | Type | Default |
|---|---|---|
level | int | — |
int_DebugGetStackLevelLocalsReckfell.Collections.Dictionary
public virtual Reckfell.Collections.Dictionary _DebugGetStackLevelLocals(int level, int maxSubitems, int maxDepth);| Name | Type | Default |
|---|---|---|
level | int | — |
maxSubitems | int | — |
maxDepth | int | — |
Reckfell.Collections.Dictionary_DebugGetStackLevelMembersReckfell.Collections.Dictionary
public virtual Reckfell.Collections.Dictionary _DebugGetStackLevelMembers(int level, int maxSubitems, int maxDepth);| Name | Type | Default |
|---|---|---|
level | int | — |
maxSubitems | int | — |
maxDepth | int | — |
Reckfell.Collections.Dictionary_DebugGetStackLevelSourcestring
public virtual string _DebugGetStackLevelSource(int level);Returns the source associated with a given debug stack position.
| Name | Type | Default |
|---|---|---|
level | int | — |
string_DebugParseStackLevelExpressionstring
public virtual string _DebugParseStackLevelExpression(int level, string expression, int maxSubitems, int maxDepth);| Name | Type | Default |
|---|---|---|
level | int | — |
expression | string | — |
maxSubitems | int | — |
maxDepth | int | — |
string_FindFunctionint
public virtual int _FindFunction(string function, string code);Returns the line where the function is defined in the code, or -1 if the function is not present.
| Name | Type | Default |
|---|---|---|
function | string | — |
code | string | — |
int_Finishvoid
public virtual void _Finish();_Framevoid
public virtual void _Frame();_GetBuiltInTemplatesReckfell.Collections.Array<Reckfell.Collections.Dictionary>
public virtual Reckfell.Collections.Array<Reckfell.Collections.Dictionary> _GetBuiltInTemplates(StringName @object);| Name | Type | Default |
|---|---|---|
object | StringName | — |
Reckfell.Collections.Array<Reckfell.Collections.Dictionary>_GetCommentDelimitersstring[]
public virtual string[] _GetCommentDelimiters();string[]_GetDocCommentDelimitersstring[]
public virtual string[] _GetDocCommentDelimiters();string[]_GetExtensionstring
public virtual string _GetExtension();string_GetGlobalClassNameReckfell.Collections.Dictionary
public virtual Reckfell.Collections.Dictionary _GetGlobalClassName(string path);| Name | Type | Default |
|---|---|---|
path | string | — |
Reckfell.Collections.Dictionary_GetNamestring
public virtual string _GetName();string_GetPublicAnnotationsReckfell.Collections.Array<Reckfell.Collections.Dictionary>
public virtual Reckfell.Collections.Array<Reckfell.Collections.Dictionary> _GetPublicAnnotations();Reckfell.Collections.Array<Reckfell.Collections.Dictionary>_GetPublicConstantsReckfell.Collections.Dictionary
public virtual Reckfell.Collections.Dictionary _GetPublicConstants();Reckfell.Collections.Dictionary_GetPublicFunctionsReckfell.Collections.Array<Reckfell.Collections.Dictionary>
public virtual Reckfell.Collections.Array<Reckfell.Collections.Dictionary> _GetPublicFunctions();Reckfell.Collections.Array<Reckfell.Collections.Dictionary>_GetRecognizedExtensionsstring[] · Deprecated
public virtual string[] _GetRecognizedExtensions();string[]_GetReservedWordsstring[]
public virtual string[] _GetReservedWords();string[]_GetStringDelimitersstring[]
public virtual string[] _GetStringDelimiters();string[]_GetTypestring
public virtual string _GetType();string_HandlesGlobalClassTypebool
public virtual bool _HandlesGlobalClassType(string type);| Name | Type | Default |
|---|---|---|
type | string | — |
bool_HasNamedClassesbool · Deprecated
public virtual bool _HasNamedClasses();bool_Initvoid
public virtual void _Init();_IsControlFlowKeywordbool
public virtual bool _IsControlFlowKeyword(string keyword);| Name | Type | Default |
|---|---|---|
keyword | string | — |
bool_IsUsingTemplatesbool
public virtual bool _IsUsingTemplates();bool_LookupCodeReckfell.Collections.Dictionary
public virtual Reckfell.Collections.Dictionary _LookupCode(string code, string symbol, string path, ReckfellObject owner);| Name | Type | Default |
|---|---|---|
code | string | — |
symbol | string | — |
path | string | — |
owner | ReckfellObject | — |
Reckfell.Collections.Dictionary_MakeFunctionstring
public virtual string _MakeFunction(string className, string functionName, string[] functionArgs);| Name | Type | Default |
|---|---|---|
className | string | — |
functionName | string | — |
functionArgs | string[] | — |
string_MakeTemplateScript
public virtual Script _MakeTemplate(string template, string className, string baseClassName);| Name | Type | Default |
|---|---|---|
template | string | — |
className | string | — |
baseClassName | string | — |
Script_OpenInExternalEditorError
public virtual Error _OpenInExternalEditor(Script script, int line, int column);| Name | Type | Default |
|---|---|---|
script | Script | — |
line | int | — |
column | int | — |
Error_OverridesExternalEditorbool
public virtual bool _OverridesExternalEditor();bool_PreferredFileNameCasingScriptLanguage.ScriptNameCasing
public virtual ScriptLanguage.ScriptNameCasing _PreferredFileNameCasing();ScriptLanguage.ScriptNameCasing_ProfilingSetSaveNativeCallsvoid
public virtual void _ProfilingSetSaveNativeCalls(bool enable);| Name | Type | Default |
|---|---|---|
enable | bool | — |
_ProfilingStartvoid
public virtual void _ProfilingStart();_ProfilingStopvoid
public virtual void _ProfilingStop();_ReloadAllScriptsvoid
public virtual void _ReloadAllScripts();_ReloadScriptsvoid
public virtual void _ReloadScripts(Reckfell.Collections.Array scripts, bool softReload);Reloads all scripts from disk and the specifics of how that happens is ScriptLanguageExtension specific.
soft_reload is always true.
| Name | Type | Default |
|---|---|---|
scripts | Reckfell.Collections.Array | — |
softReload | bool | — |
_ReloadToolScriptvoid
public virtual void _ReloadToolScript(Script script, bool softReload);Reloads the given script from disk and the specifics of how that happens is ScriptLanguageExtension specific.
soft_reload is always true.
| Name | Type | Default |
|---|---|---|
script | Script | — |
softReload | bool | — |
_RemoveNamedGlobalConstantvoid
public virtual void _RemoveNamedGlobalConstant(StringName name);| Name | Type | Default |
|---|---|---|
name | StringName | — |
_SupportsBuiltinModebool
public virtual bool _SupportsBuiltinMode();bool_SupportsDocumentationbool
public virtual bool _SupportsDocumentation();bool_ThreadEntervoid
public virtual void _ThreadEnter();_ThreadExitvoid
public virtual void _ThreadExit();_ValidateReckfell.Collections.Dictionary
public virtual Reckfell.Collections.Dictionary _Validate(string script, string path, bool validateFunctions, bool validateErrors, bool validateWarnings, bool validateSafeLines);| Name | Type | Default |
|---|---|---|
script | string | — |
path | string | — |
validateFunctions | bool | — |
validateErrors | bool | — |
validateWarnings | bool | — |
validateSafeLines | bool | — |
Reckfell.Collections.Dictionary_ValidatePathstring
public virtual string _ValidatePath(string path);| Name | Type | Default |
|---|---|---|
path | string | — |
stringScriptLanguageExtension.CodeCompletionKind
ScriptLanguageExtension.CodeCompletionLocation
| Value | Description |
|---|---|
Local = 0 | The option is local to the location of the code completion query - e.g. a local variable. Subsequent value of location represent options from the outer class, the exact value represent how far they are (in terms of inner classes). |
Other = 1024 | The option is from other engine code, not covered by the other enum constants - e.g. built-in classes. |
OtherUserCode = 512 | The option is from user code which is not local and not in a derived class (e.g. Autoload Singletons). |
ParentMask = 256 | The option is from the containing class or a parent class, relative to the location of the code completion query. Perform a bitwise OR with the class depth (e.g. |