More fixes to migration, plus some quality of life fixes to TimeoutQueue to allow lambda based handlers and a quick fix to OctreeSystemComponent to more gracefully handle enumerate calls that lie outside the vis system bounds
Signed-off-by: kberg-amzn <karlberg@amazon.com>
This commit is contained in:
@@ -353,6 +353,16 @@ namespace Multiplayer
|
||||
}
|
||||
}
|
||||
|
||||
void LocalPredictionPlayerInputComponentController::ForceEnableAutonomousUpdate()
|
||||
{
|
||||
m_autonomousUpdateEvent.Enqueue(AZ::TimeMs{ 1 }, true);
|
||||
}
|
||||
|
||||
void LocalPredictionPlayerInputComponentController::ForceDisableAutonomousUpdate()
|
||||
{
|
||||
m_autonomousUpdateEvent.RemoveFromQueue();
|
||||
}
|
||||
|
||||
bool LocalPredictionPlayerInputComponentController::IsMigrating() const
|
||||
{
|
||||
return m_lastMigratedInputId != ClientInputId{ 0 };
|
||||
|
||||
Reference in New Issue
Block a user