reckfellENGINE

ScriptLanguageExtension

A Reckfell C# SDK type.

On this page
class ScriptLanguageExtensionReckfellSharpInherits ScriptLanguage

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

ScriptLanguageExtensionConstructor
# ScriptLanguageExtension
C#
public ScriptLanguageExtension();

Methods57

_AddGlobalConstantvoid
# _AddGlobalConstant
C#
public virtual void _AddGlobalConstant(StringName name, Variant value);
Parameters
NameTypeDefault
nameStringName—
valueVariant—
_AddNamedGlobalConstantvoid
# _AddNamedGlobalConstant
C#
public virtual void _AddNamedGlobalConstant(StringName name, Variant value);
Parameters
NameTypeDefault
nameStringName—
valueVariant—
_AutoIndentCodestring
# _AutoIndentCode
C#
public virtual string _AutoIndentCode(string code, int fromLine, int toLine);
Parameters
NameTypeDefault
codestring—
fromLineint—
toLineint—
Returns string
_CanInheritFromFilebool
# _CanInheritFromFile
C#
public virtual bool _CanInheritFromFile();
Returns bool
_CanMakeFunctionbool
# _CanMakeFunction
C#
public virtual bool _CanMakeFunction();
Returns bool
_CompleteCodeReckfell.Collections.Dictionary
# _CompleteCode
C#
public virtual Reckfell.Collections.Dictionary _CompleteCode(string code, string path, ReckfellObject owner);
Parameters
NameTypeDefault
codestring—
pathstring—
ownerReckfellObject—
Returns Reckfell.Collections.Dictionary
_CreateScriptReckfellObject · Deprecated
# _CreateScript
C#
public virtual ReckfellObject _CreateScript();
Returns ReckfellObject
_DebugGetCurrentStackInfoReckfell.Collections.Array<Reckfell.Collections.Dictionary>
# _DebugGetCurrentStackInfo
C#
public virtual Reckfell.Collections.Array<Reckfell.Collections.Dictionary> _DebugGetCurrentStackInfo();
Returns Reckfell.Collections.Array<Reckfell.Collections.Dictionary>
_DebugGetErrorstring
# _DebugGetError
C#
public virtual string _DebugGetError();
Returns string
_DebugGetGlobalsReckfell.Collections.Dictionary
# _DebugGetGlobals
C#
public virtual Reckfell.Collections.Dictionary _DebugGetGlobals(int maxSubitems, int maxDepth);
Parameters
NameTypeDefault
maxSubitemsint—
maxDepthint—
Returns Reckfell.Collections.Dictionary
_DebugGetStackLevelCountint
# _DebugGetStackLevelCount
C#
public virtual int _DebugGetStackLevelCount();
Returns int
_DebugGetStackLevelFunctionstring
# _DebugGetStackLevelFunction
C#
public virtual string _DebugGetStackLevelFunction(int level);
Parameters
NameTypeDefault
levelint—
Returns string
_DebugGetStackLevelLineint
# _DebugGetStackLevelLine
C#
public virtual int _DebugGetStackLevelLine(int level);
Parameters
NameTypeDefault
levelint—
Returns int
_DebugGetStackLevelLocalsReckfell.Collections.Dictionary
# _DebugGetStackLevelLocals
C#
public virtual Reckfell.Collections.Dictionary _DebugGetStackLevelLocals(int level, int maxSubitems, int maxDepth);
Parameters
NameTypeDefault
levelint—
maxSubitemsint—
maxDepthint—
Returns Reckfell.Collections.Dictionary
_DebugGetStackLevelMembersReckfell.Collections.Dictionary
# _DebugGetStackLevelMembers
C#
public virtual Reckfell.Collections.Dictionary _DebugGetStackLevelMembers(int level, int maxSubitems, int maxDepth);
Parameters
NameTypeDefault
levelint—
maxSubitemsint—
maxDepthint—
Returns Reckfell.Collections.Dictionary
_DebugGetStackLevelSourcestring
# _DebugGetStackLevelSource
C#
public virtual string _DebugGetStackLevelSource(int level);

Returns the source associated with a given debug stack position.

Parameters
NameTypeDefault
levelint—
Returns string
_DebugParseStackLevelExpressionstring
# _DebugParseStackLevelExpression
C#
public virtual string _DebugParseStackLevelExpression(int level, string expression, int maxSubitems, int maxDepth);
Parameters
NameTypeDefault
levelint—
expressionstring—
maxSubitemsint—
maxDepthint—
Returns string
_FindFunctionint
# _FindFunction
C#
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.

Parameters
NameTypeDefault
functionstring—
codestring—
Returns int
_Finishvoid
# _Finish
C#
public virtual void _Finish();
_Framevoid
# _Frame
C#
public virtual void _Frame();
_GetBuiltInTemplatesReckfell.Collections.Array<Reckfell.Collections.Dictionary>
# _GetBuiltInTemplates
C#
public virtual Reckfell.Collections.Array<Reckfell.Collections.Dictionary> _GetBuiltInTemplates(StringName @object);
Parameters
NameTypeDefault
objectStringName—
Returns Reckfell.Collections.Array<Reckfell.Collections.Dictionary>
_GetCommentDelimitersstring[]
# _GetCommentDelimiters
C#
public virtual string[] _GetCommentDelimiters();
Returns string[]
_GetDocCommentDelimitersstring[]
# _GetDocCommentDelimiters
C#
public virtual string[] _GetDocCommentDelimiters();
Returns string[]
_GetExtensionstring
# _GetExtension
C#
public virtual string _GetExtension();
Returns string
_GetGlobalClassNameReckfell.Collections.Dictionary
# _GetGlobalClassName
C#
public virtual Reckfell.Collections.Dictionary _GetGlobalClassName(string path);
Parameters
NameTypeDefault
pathstring—
Returns Reckfell.Collections.Dictionary
_GetNamestring
# _GetName
C#
public virtual string _GetName();
Returns string
_GetPublicAnnotationsReckfell.Collections.Array<Reckfell.Collections.Dictionary>
# _GetPublicAnnotations
C#
public virtual Reckfell.Collections.Array<Reckfell.Collections.Dictionary> _GetPublicAnnotations();
Returns Reckfell.Collections.Array<Reckfell.Collections.Dictionary>
_GetPublicConstantsReckfell.Collections.Dictionary
# _GetPublicConstants
C#
public virtual Reckfell.Collections.Dictionary _GetPublicConstants();
Returns Reckfell.Collections.Dictionary
_GetPublicFunctionsReckfell.Collections.Array<Reckfell.Collections.Dictionary>
# _GetPublicFunctions
C#
public virtual Reckfell.Collections.Array<Reckfell.Collections.Dictionary> _GetPublicFunctions();
Returns Reckfell.Collections.Array<Reckfell.Collections.Dictionary>
_GetRecognizedExtensionsstring[] · Deprecated
# _GetRecognizedExtensions
C#
public virtual string[] _GetRecognizedExtensions();
Returns string[]
_GetReservedWordsstring[]
# _GetReservedWords
C#
public virtual string[] _GetReservedWords();
Returns string[]
_GetStringDelimitersstring[]
# _GetStringDelimiters
C#
public virtual string[] _GetStringDelimiters();
Returns string[]
_GetTypestring
# _GetType
C#
public virtual string _GetType();
Returns string
_HandlesGlobalClassTypebool
# _HandlesGlobalClassType
C#
public virtual bool _HandlesGlobalClassType(string type);
Parameters
NameTypeDefault
typestring—
Returns bool
_HasNamedClassesbool · Deprecated
# _HasNamedClasses
C#
public virtual bool _HasNamedClasses();
Returns bool
_Initvoid
# _Init
C#
public virtual void _Init();
_IsControlFlowKeywordbool
# _IsControlFlowKeyword
C#
public virtual bool _IsControlFlowKeyword(string keyword);
Parameters
NameTypeDefault
keywordstring—
Returns bool
_IsUsingTemplatesbool
# _IsUsingTemplates
C#
public virtual bool _IsUsingTemplates();
Returns bool
_LookupCodeReckfell.Collections.Dictionary
# _LookupCode
C#
public virtual Reckfell.Collections.Dictionary _LookupCode(string code, string symbol, string path, ReckfellObject owner);
Parameters
NameTypeDefault
codestring—
symbolstring—
pathstring—
ownerReckfellObject—
Returns Reckfell.Collections.Dictionary
_MakeFunctionstring
# _MakeFunction
C#
public virtual string _MakeFunction(string className, string functionName, string[] functionArgs);
Parameters
NameTypeDefault
classNamestring—
functionNamestring—
functionArgsstring[]—
Returns string
_MakeTemplateScript
# _MakeTemplate
C#
public virtual Script _MakeTemplate(string template, string className, string baseClassName);
Parameters
NameTypeDefault
templatestring—
classNamestring—
baseClassNamestring—
Returns Script
_OpenInExternalEditorError
# _OpenInExternalEditor
C#
public virtual Error _OpenInExternalEditor(Script script, int line, int column);
Parameters
NameTypeDefault
scriptScript—
lineint—
columnint—
Returns Error
_OverridesExternalEditorbool
# _OverridesExternalEditor
C#
public virtual bool _OverridesExternalEditor();
Returns bool
_PreferredFileNameCasingScriptLanguage.ScriptNameCasing
# _PreferredFileNameCasing
C#
public virtual ScriptLanguage.ScriptNameCasing _PreferredFileNameCasing();
Returns ScriptLanguage.ScriptNameCasing
_ProfilingSetSaveNativeCallsvoid
# _ProfilingSetSaveNativeCalls
C#
public virtual void _ProfilingSetSaveNativeCalls(bool enable);
Parameters
NameTypeDefault
enablebool—
_ProfilingStartvoid
# _ProfilingStart
C#
public virtual void _ProfilingStart();
_ProfilingStopvoid
# _ProfilingStop
C#
public virtual void _ProfilingStop();
_ReloadAllScriptsvoid
# _ReloadAllScripts
C#
public virtual void _ReloadAllScripts();
_ReloadScriptsvoid
# _ReloadScripts
C#
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.

Parameters
NameTypeDefault
scriptsReckfell.Collections.Array—
softReloadbool—
_ReloadToolScriptvoid
# _ReloadToolScript
C#
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.

Parameters
NameTypeDefault
scriptScript—
softReloadbool—
_RemoveNamedGlobalConstantvoid
# _RemoveNamedGlobalConstant
C#
public virtual void _RemoveNamedGlobalConstant(StringName name);
Parameters
NameTypeDefault
nameStringName—
_SupportsBuiltinModebool
# _SupportsBuiltinMode
C#
public virtual bool _SupportsBuiltinMode();
Returns bool
_SupportsDocumentationbool
# _SupportsDocumentation
C#
public virtual bool _SupportsDocumentation();
Returns bool
_ThreadEntervoid
# _ThreadEnter
C#
public virtual void _ThreadEnter();
_ThreadExitvoid
# _ThreadExit
C#
public virtual void _ThreadExit();
_ValidateReckfell.Collections.Dictionary
# _Validate
C#
public virtual Reckfell.Collections.Dictionary _Validate(string script, string path, bool validateFunctions, bool validateErrors, bool validateWarnings, bool validateSafeLines);
Parameters
NameTypeDefault
scriptstring—
pathstring—
validateFunctionsbool—
validateErrorsbool—
validateWarningsbool—
validateSafeLinesbool—
Returns Reckfell.Collections.Dictionary
_ValidatePathstring
# _ValidatePath
C#
public virtual string _ValidatePath(string path);
Parameters
NameTypeDefault
pathstring—
Returns string

ScriptLanguageExtension.CodeCompletionKind

ScriptLanguageExtension.CodeCompletionLocation

ValueDescription
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. 0 for the local class, 1 for the parent, 2 for the grandparent, etc.) to store the depth of an option in the class or a parent class.

ScriptLanguageExtension.LookupResultType

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.