#include <GlobalDirtyNetObjectTracker.h>
◆ FDirtyHandleAndPropertyMap
◆ FDirtyPropertyStorage
◆ CreatePoller()
◆ DECLARE_DELEGATE()
Delegate called on pollers that haven't gathered dirty state before it resets
◆ Deinit()
| void UE::Net::FGlobalDirtyNetObjectTracker::Deinit |
( |
| ) |
|
|
staticprotected |
Destroys the instance if it exists.
◆ GetDirtyNetObjects()
| const TSet< FNetHandle > & UE::Net::FGlobalDirtyNetObjectTracker::GetDirtyNetObjects |
( |
const FPollHandle & |
Handle | ) |
|
|
static |
◆ GetDirtyNetObjectsAndProperties()
◆ Init()
| void UE::Net::FGlobalDirtyNetObjectTracker::Init |
( |
| ) |
|
|
staticprotected |
If push model is compiled in Init() creates a new instance that is used by functions that need it. Checks that no instance exists.
◆ IsUsingPerPropertyDirtyTracking()
| bool UE::Net::FGlobalDirtyNetObjectTracker::IsUsingPerPropertyDirtyTracking |
( |
| ) |
|
|
static |
Returns true if we are tracking dirtiness per property.
◆ LockDirtyListUntilReset()
| void UE::Net::FGlobalDirtyNetObjectTracker::LockDirtyListUntilReset |
( |
const FPollHandle & |
Handle | ) |
|
|
static |
Detect any updates to the dirty list until all pollers have gathered and reset the list.
◆ MarkNetObjectStateDirty() [1/2]
Marks an object as dirty. Assumes Init() has been called.
◆ MarkNetObjectStateDirty() [2/2]
| void UE::Net::FGlobalDirtyNetObjectTracker::MarkNetObjectStateDirty |
( |
FNetHandle |
NetHandle, |
|
|
const int32 |
StartRepIndex, |
|
|
const int32 |
EndRepIndex |
|
) |
| |
|
static |
Marks an object as dirty. Assumes Init() has been called.
◆ ResetDirtyNetObjects()
| void UE::Net::FGlobalDirtyNetObjectTracker::ResetDirtyNetObjects |
( |
const FPollHandle & |
Handle | ) |
|
|
static |
Clears the set of dirty net objects. GetDirtyNetObjects() must be called first. Some synchronization is needed between pollers such that all pollers have the chance to call GetDirtyNetObjects() first. It may be a good idea to have the polling done in a NetDriver TickFlush() or similar and resetting done in PostTickFlush(). Assumes Init() has been called.
◆ ResetDirtyNetObjectsIfSinglePoller()
| bool UE::Net::FGlobalDirtyNetObjectTracker::ResetDirtyNetObjectsIfSinglePoller |
( |
const FPollHandle & |
Handle | ) |
|
|
static |
Reset the list of dirty net objects but only if there is a single poller registered in the system. Returns true if the reset was executed.
◆ FNetCoreModule
| friend UE::Net::FGlobalDirtyNetObjectTracker::FNetCoreModule |
|
protected |
The documentation for this class was generated from the following files: