Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_CopyClassAndMethodPlugin Interface Reference
Inheritance diagram for SCR_CopyClassAndMethodPlugin:

Public Member Functions

override void Run ()
 

Static Public Member Functions

static bool GetCursorClassAndMethodNames (notnull ScriptEditor scriptEditor, out string className, out string methodName)
 Get the current class name / class + method name where the cursor is.
 
static bool GetLineClassAndMethodNames (notnull array< string > lines, int cursorLineId, out string className, out string methodName)
 

Member Function Documentation

◆ GetCursorClassAndMethodNames()

static bool SCR_CopyClassAndMethodPlugin.GetCursorClassAndMethodNames ( notnull ScriptEditor scriptEditor,
out string className,
out string methodName )
static

Get the current class name / class + method name where the cursor is.

Parameters
[in]scriptEditora ScriptEditor instance
[out]className
[out]methodNameis emptied if not in method
Returns
true on success, false otherwise

◆ GetLineClassAndMethodNames()

static bool SCR_CopyClassAndMethodPlugin.GetLineClassAndMethodNames ( notnull array< string > lines,
int cursorLineId,
out string className,
out string methodName )
static
Parameters
[in]lines
[in]lineId
[in]cursorLineId
[out]className
[out]methodName
Returns

◆ Run()

override void SCR_CopyClassAndMethodPlugin.Run ( )

The documentation for this interface was generated from the following file: