|
| 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) |
| |
◆ 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] | scriptEditor | a ScriptEditor instance |
| [out] | className | |
| [out] | methodName | is 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:
- WorkbenchGame/ScriptEditor/SCR_CopyClassAndMethodPlugin.c