Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::EditorPythonScriptNotifications Class Reference

Provides a bus to notify when Python scripts are about to run. More...

#include <EditorPythonScriptNotificationsBus.h>

Inherits AZ::EBusTraits.

Public Member Functions

virtual void OnStartExecuteByString (AZStd::string_view script)
 Notifies the start of execution of a Python script using a string.
 
virtual void OnStartExecuteByFilename (AZStd::string_view filename)
 Notifies the start of execution of a Python script using a filename.
 
virtual void OnStartExecuteByFilenameWithArgs (AZStd::string_view filename, const AZStd::vector< AZStd::string_view > &args)
 Notifies the start of execution of a Python script using a filename and args.
 
virtual void OnStartExecuteByFilenameAsTest (AZStd::string_view filename, AZStd::string_view testCase, const AZStd::vector< AZStd::string_view > &args)
 Notifies the start of execution of a Python script as a test.
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple
 
static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single
 

Detailed Description

Provides a bus to notify when Python scripts are about to run.


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