Skip to content

FLaunchableScript

struct FLaunchableScript

A struct to hold the configuration of a launchable script.

Public Interface

Constructors:

FLaunchableScript

FLaunchableScript()

Construct a launchable script with no arguments or URL.

Will fail to launch unless ScriptURL is set

Source: Schola/Source/Schola/Public/Subsystem/SubsystemSettings/LaunchableScript.h (line 20, column 1)

Implementation: Schola/Source/Schola/Private/Subsystem/SubsystemSettings/LaunchableScript.cpp (lines 7-11)

FLaunchableScript

FLaunchableScript(FString ScriptURL)

Construct a launchable script with a file URL.

Parameters:

  • ScriptURL (FString) – [in] The URL of the script to launch

Source: Schola/Source/Schola/Public/Subsystem/SubsystemSettings/LaunchableScript.h (line 26, column 1)

Implementation: Schola/Source/Schola/Private/Subsystem/SubsystemSettings/LaunchableScript.cpp (lines 13-17)

FLaunchableScript

FLaunchableScript(FString ScriptURL, FString Args)

Construct a launchable script with a file URL and arguments.

Parameters:

  • ScriptURL (FString) – [in] The URL of the script to launch
  • Args (FString) – [in] The arguments to pass to the script

Source: Schola/Source/Schola/Public/Subsystem/SubsystemSettings/LaunchableScript.h (line 33, column 1)

Implementation: Schola/Source/Schola/Private/Subsystem/SubsystemSettings/LaunchableScript.cpp (lines 19-23)

Public Functions:

AppendArgs

void AppendArgs(FString &AdditionalArgs)

Append additional arguments to the script.

Parameters:

  • AdditionalArgs (FString &) – [in] The arguments to append to the script

Source: Schola/Source/Schola/Public/Subsystem/SubsystemSettings/LaunchableScript.h (line 47, column 6)

Implementation: Schola/Source/Schola/Private/Subsystem/SubsystemSettings/LaunchableScript.cpp (lines 25-28)

LaunchScript

FProcHandle LaunchScript() const const

Launch the script.

Returns: The process handle of the launched script

Returns: FProcHandle

Attributes: const

Source: Schola/Source/Schola/Public/Subsystem/SubsystemSettings/LaunchableScript.h (line 53, column 13)

Implementation: Schola/Source/Schola/Private/Subsystem/SubsystemSettings/LaunchableScript.cpp (lines 30-33)

Public Members:

FString ScriptURL

FString ScriptURL

A path to the script to be launched.

Source: Schola/Source/Schola/Public/Subsystem/SubsystemSettings/LaunchableScript.h (line 37, column 9)

FString Args

FString Args

The arguments to be passed to the script.

Source: Schola/Source/Schola/Public/Subsystem/SubsystemSettings/LaunchableScript.h (line 41, column 9)

Used By: FScriptSettings, UScholaManagerSubsystemSettings

Source: Schola/Source/Schola/Public/Subsystem/SubsystemSettings/LaunchableScript.h (line 12, column 1)