#include <ObjectScopeHysteresisUpdater.h>
◆ Deinit()
| void UE::Net::Private::FObjectScopeHysteresisUpdater::Deinit |
( |
| ) |
|
◆ GetUpdatedObjects()
| FNetBitArrayView UE::Net::Private::FObjectScopeHysteresisUpdater::GetUpdatedObjects |
( |
| ) |
const |
|
inline |
Returns the bitarray of objects affected by hysteresis
◆ HasObjectsToUpdate()
| bool UE::Net::Private::FObjectScopeHysteresisUpdater::HasObjectsToUpdate |
( |
| ) |
const |
|
inline |
Whether any objects are updated for hysteresis. If not there's no point in calling Update().
◆ Init()
| void UE::Net::Private::FObjectScopeHysteresisUpdater::Init |
( |
uint32 |
MaxObjectCount | ) |
|
◆ IsObjectUpdated()
Returns true if the object is currently updated.
◆ OnMaxInternalNetRefIndexIncreased()
| void UE::Net::Private::FObjectScopeHysteresisUpdater::OnMaxInternalNetRefIndexIncreased |
( |
FInternalNetRefIndex |
NewMaxInternalIndex | ) |
|
Called when the maximum InternalNetRefIndex increased and we need to realloc our lists
◆ RemoveHysteresis() [1/3]
| void UE::Net::Private::FObjectScopeHysteresisUpdater::RemoveHysteresis |
( |
const FNetBitArrayView & |
ObjectsToRemove | ) |
|
Removes all objects in the bitarray from hysteresis.
Removes all objects in the bitarray vfrom hysteresis.
◆ RemoveHysteresis() [2/3]
Remove an object from hysteresis update. Needed when an object goes out of scope. An object is automatically removed from hysteresis updates when a previously set frame count has expired.
◆ RemoveHysteresis() [3/3]
| void UE::Net::Private::FObjectScopeHysteresisUpdater::RemoveHysteresis |
( |
TArrayView< const uint32 > |
ObjectsToRemove | ) |
|
Removes all objects in the array from hysteresis.
◆ SetHysteresisFrameCount()
Sets an hysteresis frame count such that an object will be kept in scope until such many frames has passed.
◆ Update()
Adjusts the connection relevant objects based on hysteresis frame counts.
The documentation for this class was generated from the following files: