schola.core.unreal_connections.UnrealEditorConnection
class schola.core.unreal_connections.UnrealEditorConnection(url, port)
: Bases: UnrealConnection
A connection to a running Unreal Editor instance.
Parameters: : - url (str) – The URL to connect to
- port (int) – The port on that URL to connect to
Raises: : AssertionError – If the port is not supplied
Methods
__init__ (url, port) | |
close () | Close the Unreal Connection. |
connect_stubs (*stubs) | Connects the gRPC stubs to the Unreal Engine channel |
get_open_port (url) | Get an open port on the given URL |
start () | Open the Connection to Unreal Engine. |
Attributes
address | Returns the address of the connection |
is_active | Returns whether the connection is active or not |
__init__(url, port) : Parameters: : - url (str)
- port (int)