Removing unused member, simplify API
Signed-off-by: kberg-amzn <karlberg@amazon.com>
This commit is contained in:
-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