#include <LocalUserNotificationBus.h>
Inherits AZ::EBusTraits.
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::Single |
| EBus Trait: local user notifications are addressed to a single address.
|
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Multiple |
| EBus Trait: local user notifications can be handled by multiple listeners.
|
|
EBus interface used to listen for notifications related to assignment of local user ids to local player slots in addition to notifications related to individual local user profiles.
◆ OnLocalUserIdAssignedToLocalPlayerSlot()
virtual void LocalUser::LocalUserNotifications::OnLocalUserIdAssignedToLocalPlayerSlot |
( |
AzFramework::LocalUserId |
localUserId, |
|
|
AZ::u32 |
newLocalPlayerSlot, |
|
|
AZ::u32 |
previousLocalPlayerSlot = LocalPlayerSlotNone |
|
) |
| |
|
inlinevirtual |
Override to be notified when a local user id is assigned to a local player slot
- Parameters
-
[in] | localUserId | The local user id that was assigned to a local player slot. |
[in] | newLocalPlayerSlot | The local player slot that the local user id now occupies. |
[in] | previousLocalPlayerSlot | The local player slot that the local user id previously occupied, or LocalPlayerSlotNone. |
◆ OnLocalUserIdRemovedFromLocalPlayerSlot()
virtual void LocalUser::LocalUserNotifications::OnLocalUserIdRemovedFromLocalPlayerSlot |
( |
AzFramework::LocalUserId |
localUserId, |
|
|
AZ::u32 |
localPlayerSlot |
|
) |
| |
|
inlinevirtual |
Override to be notified when a local user id is removed from a local player slot
- Parameters
-
[in] | localUserId | The local user id that was removed from a local player slot. |
[in] | localPlayerSlot | The local player slot that the local user id was removed from. |
◆ OnLocalUserSignedIn()
virtual void LocalUser::LocalUserNotifications::OnLocalUserSignedIn |
( |
AzFramework::LocalUserId |
localUserId | ) |
|
|
inlinevirtual |
Override to be notified when a local user signs into the system
- Parameters
-
[in] | localUserId | The local user id that signed into the system |
◆ OnLocalUserSignedOut()
virtual void LocalUser::LocalUserNotifications::OnLocalUserSignedOut |
( |
AzFramework::LocalUserId |
localUserId | ) |
|
|
inlinevirtual |
Override to be notified when a local user signs out of the system
- Parameters
-
[in] | localUserId | The local user id that signed out of the system |
The documentation for this class was generated from the following file:
- Gems/LocalUser/Code/Include/LocalUser/LocalUserNotificationBus.h