Comments cleanup

Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
This commit is contained in:
AMZN-Olex
2021-09-13 18:28:52 -04:00
parent aa6c038880
commit 2a10c400a7
5 changed files with 5 additions and 8 deletions
@@ -18,7 +18,7 @@ namespace Multiplayer
//! @class NetworkHierarchyRootComponent
//! @brief Component that declares the top level entity of a network hierarchy.
/*
* Call @GetHierarchyChildren to get the list of hierarchical entities.
* Call @GetHierarchicalEntities to get the list of hierarchical entities.
* A network hierarchy is meant to be a small group of entities. You can control the maximum supported size of
* a network hierarchy by modifying CVar @bg_hierarchyEntityMaxLimit.
*
@@ -26,7 +26,7 @@ namespace Multiplayer
if (AZ::EditContext* editContext = serializeContext->GetEditContext())
{
editContext->Class<NetworkHierarchyChildComponent>(
"Network Hierarchy Child", "declares a network dependency on the root of this hierarchy")
"Network Hierarchy Child", "Declares a network dependency on the root of this hierarchy.")
->ClassElement(AZ::Edit::ClassElements::EditorData, "")
->Attribute(AZ::Edit::Attributes::Category, "Multiplayer")
->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC_CE("Game"))
@@ -32,7 +32,7 @@ namespace Multiplayer
if (AZ::EditContext* editContext = serializeContext->GetEditContext())
{
editContext->Class<NetworkHierarchyRootComponent>(
"Network Hierarchy Root", "marks the entity as the root of an entity hierarchy")
"Network Hierarchy Root", "Marks the entity as the root of an entity hierarchy.")
->ClassElement(AZ::Edit::ClassElements::EditorData, "")
->Attribute(AZ::Edit::Attributes::Category, "Multiplayer")
->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC_CE("Game"))
@@ -287,8 +287,8 @@ namespace Multiplayer
);
}
/*
* Parent -> Child
/*
* Parent -> Child -> ChildOfChild
*/
class ClientDeepHierarchyTests : public ClientSimpleHierarchyTests
{
@@ -66,9 +66,6 @@ namespace Multiplayer
PopulateHierarchicalEntity(child);
SetupEntity(child.m_entity, child.m_netId, NetEntityRole::Authority);
//// we need a parent-id value to be present in NetworkTransformComponent (which is in client mode and doesn't have a controller)
//SetParentIdOnNetworkTransform(child.m_entity, root.m_netId);
// Create an entity replicator for the child entity
const NetworkEntityHandle childHandle(&child.m_entity, m_networkEntityTracker.get());
child.m_replicator = AZStd::make_unique<EntityReplicator>(*m_entityReplicationManager, m_mockConnection.get(), NetEntityRole::Client, childHandle);