Removing unused member, simplify API
Signed-off-by: kberg-amzn <karlberg@amazon.com>
This commit is contained in:
-5
@@ -57,10 +57,6 @@ namespace Multiplayer
|
||||
EntityReplicationManager(AzNetworking::IConnection& connection, AzNetworking::IConnectionListener& connectionListener, Mode mode);
|
||||
~EntityReplicationManager() = default;
|
||||
|
||||
//! Used to override during client migration if your host has a specially assigned publically routable address.
|
||||
//! @param remoteHostId the publically routable address to use in place of the remote HostId
|
||||
void SetMigrateHostId(const HostId& remoteHostId);
|
||||
const HostId& GetMigrateHostId() const;
|
||||
const HostId& GetRemoteHostId() const;
|
||||
|
||||
void ActivatePendingEntities();
|
||||
@@ -211,7 +207,6 @@ namespace Multiplayer
|
||||
AZ::TimeMs m_entityPendingRemovalMs = AZ::TimeMs{ 0 };
|
||||
AZ::TimeMs m_frameTimeMs = AZ::TimeMs{ 0 };
|
||||
HostId m_remoteHostId = InvalidHostId;
|
||||
HostId m_migrateHostId = InvalidHostId;
|
||||
uint32_t m_maxRemoteEntitiesPendingCreationCount = AZStd::numeric_limits<uint32_t>::max();
|
||||
uint32_t m_maxPayloadSize = 0;
|
||||
Mode m_updateMode = Mode::Invalid;
|
||||
|
||||
-12
@@ -49,7 +49,6 @@ namespace Multiplayer
|
||||
{
|
||||
// Set up our remote host identifier, by default we use the IP address of the remote host
|
||||
m_remoteHostId = connection.GetRemoteAddress();
|
||||
m_migrateHostId = m_remoteHostId;
|
||||
|
||||
// Our max payload size is whatever is passed in, minus room for a udp packetheader
|
||||
m_maxPayloadSize = connection.GetConnectionMtu() - UdpPacketHeaderSerializeSize - ReplicationManagerPacketOverhead;
|
||||
@@ -72,17 +71,6 @@ namespace Multiplayer
|
||||
}
|
||||
}
|
||||
|
||||
void EntityReplicationManager::SetMigrateHostId(const HostId& remoteHostId)
|
||||
{
|
||||
// Allows overriding the remote HostId
|
||||
m_migrateHostId = remoteHostId;
|
||||
}
|
||||
|
||||
const HostId& EntityReplicationManager::GetMigrateHostId() const
|
||||
{
|
||||
return m_migrateHostId;
|
||||
}
|
||||
|
||||
const HostId& EntityReplicationManager::GetRemoteHostId() const
|
||||
{
|
||||
return m_remoteHostId;
|
||||
|
||||
Reference in New Issue
Block a user