Inherits AZ::EBusTraits.
|
|
| AZ_RTTI (SpawnerNotifications, SpawnerNotificationTypeId) |
| |
| virtual void | OnSpawned (const AZStd::string &spawnableName, const AZ::EntityId &rootEntity, const AZStd::string &ticketName) |
| |
| virtual void | OnDespawned (const AZStd::string &ticketName) |
| |
|
|
static constexpr AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Multiple |
| |
|
static constexpr AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::Single |
| |
◆ OnDespawned()
| virtual void ROS2::SpawnerNotifications::OnDespawned |
( |
const AZStd::string & |
ticketName | ) |
|
|
inlinevirtual |
Notifies that despawn operation was completed.
- Parameters
-
| ticketName | name of the ticket that was used to despawn the entity. |
◆ OnSpawned()
| virtual void ROS2::SpawnerNotifications::OnSpawned |
( |
const AZStd::string & |
spawnableName, |
|
|
const AZ::EntityId & |
rootEntity, |
|
|
const AZStd::string & |
ticketName |
|
) |
| |
|
inlinevirtual |
Notifies that spawn operation was completed.
- Parameters
-
| spawnableName | name of the spawnable that was spawned. |
| rootEntity | root entity of the spawned spawnable. |
| ticketName | name of the ticket that was used to spawn the entity. |
The documentation for this class was generated from the following file:
- Gems/ROS2/Code/Include/ROS2/Spawner/SpawnerBus.h