Added the ability to look up a Net Entity ID for a given AZ Entity ID
Signed-off-by: pereslav <pereslav@amazon.com>
This commit is contained in:
@@ -89,6 +89,11 @@ namespace Multiplayer
|
||||
//! @return the total number of entities tracked by this INetworkEntityManager instance
|
||||
virtual uint32_t GetEntityCount() const = 0;
|
||||
|
||||
//! Returns the Net Entity ID for a given AZ Entity ID.
|
||||
//! @param entityId the AZ Entity ID
|
||||
//! @return the Net Entity ID
|
||||
virtual NetEntityId GetNetEntityIdById(const AZ::EntityId& entityId) const = 0;
|
||||
|
||||
//! Adds the provided entity to the internal entity map identified by the provided netEntityId.
|
||||
//! @param netEntityId the identifier to use for the added entity
|
||||
//! @param entity the entity to add to the internal entity map
|
||||
|
||||
Reference in New Issue
Block a user