Inherits AZ::EBusTraits.
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Multiple |
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::Single |
|
◆ OnConnectToSimulationFail()
virtual void Multiplayer::MultiplayerEditorServerNotifications::OnConnectToSimulationFail |
( |
[[maybe_unused] ]uint16_t |
serverPort | ) |
|
|
inlinevirtual |
Notification when the Editor has sent all the level data successful but for some reason it fails to connect to normal multiplayer simulation.
- Parameters
-
serverPort | The server port. This is useful information since user might be trying to connect to the wrong port. |
◆ OnEditorConnectionAttempt()
virtual void Multiplayer::MultiplayerEditorServerNotifications::OnEditorConnectionAttempt |
( |
[[maybe_unused] ]uint16_t |
connectionAttempts, |
|
|
[[maybe_unused] ]uint16_t |
maxAttempts |
|
) |
| |
|
inlinevirtual |
Notification when the Editor attempts a TCP connection to the server. Note: It's possible multiple connection attempts are needed if the user starts and stops editor play mode repeatedly because the server port takes a few seconds to free.
- Parameters
-
connectionAttempts | The number of attempts made to connect to the editor-server |
◆ OnEditorConnectionAttemptsFailed()
virtual void Multiplayer::MultiplayerEditorServerNotifications::OnEditorConnectionAttemptsFailed |
( |
[[maybe_unused] ]uint16_t |
failedAttempts | ) |
|
|
inlinevirtual |
Notification when the Editor failed all attempts to establish its TCP connection with the server. Maximum attempts are set using the cvar: editorsv_max_connection_attempts
◆ OnEditorServerProcessStoppedUnexpectedly()
virtual void Multiplayer::MultiplayerEditorServerNotifications::OnEditorServerProcessStoppedUnexpectedly |
( |
| ) |
|
|
inlinevirtual |
Notification when the server process launched by the editor has unexpectedly stopped running. This likely means the server crashed, or the user stopped the process by hand.
◆ OnServerLaunchFail()
virtual void Multiplayer::MultiplayerEditorServerNotifications::OnServerLaunchFail |
( |
| ) |
|
|
inlinevirtual |
Notification when the Editor has failed to open the editor server. Might have failed for various reasons, this is a catch-all.
The documentation for this class was generated from the following file:
- Gems/Multiplayer/Code/Include/Multiplayer/MultiplayerEditorServerBus.h