UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UDemoNetDriver Class Reference

#include <DemoNetDriver.h>

+ Inheritance diagram for UDemoNetDriver:

Public Member Functions

ENGINE_API UDemoNetDriver (const FObjectInitializer &ObjectInitializer)
 
ENGINE_API UDemoNetDriver (FVTableHelper &Helper)
 
ENGINE_API ~UDemoNetDriver ()
 
virtual ENGINE_API void SetWorld (class UWorld *InWorld) override
 
int32 GetDemoFrameNum () const
 
bool GetChannelsArePaused () const
 
double GetCurrentLevelIndex () const
 
void SetCurrentLevelIndex (int32 Index)
 
APlayerControllerGetSpectatorController () const
 
TSharedPtr< class INetworkReplayStreamerGetReplayStreamer () const
 
uint32 GetDemoCurrentTimeInMS () const
 
double GetLastCheckpointTime () const
 
void SetLastCheckpointTime (double CheckpointTime)
 
ENGINE_API void RespawnNecessaryNetStartupActors (TArray< AActor * > &SpawnedActors, ULevel *Level=nullptr)
 
void SetPlayingPlaylist (TSharedPtr< struct FReplayPlaylistTracker > InPlaylistTracker)
 
virtual ENGINE_API void Serialize (FArchive &Ar) override
 
ENGINE_API bool IsSavingCheckpoint () const
 
bool IsLoadingCheckpoint () const
 
ENGINE_API bool IsPlayingClientReplay () const
 
bool IsRecordingMapChanges () const
 
ENGINE_API void RequestCheckpoint ()
 
virtual ENGINE_API bool InitBase (bool bInitAsClient, FNetworkNotify *InNotify, const FURL &URL, bool bReuseAddressAndPort, FString &Error) override
 
virtual ENGINE_API void FinishDestroy () override
 
virtual ENGINE_API FString LowLevelGetNetworkNumber () override
 
virtual ENGINE_API bool InitConnect (FNetworkNotify *InNotify, const FURL &ConnectURL, FString &Error) override
 
virtual ENGINE_API bool InitListen (FNetworkNotify *InNotify, FURL &ListenURL, bool bReuseAddressAndPort, FString &Error) override
 
virtual ENGINE_API void TickFlush (float DeltaSeconds) override
 
virtual ENGINE_API void PostTickFlush () override
 
virtual ENGINE_API void TickDispatch (float DeltaSeconds) override
 
virtual ENGINE_API void ProcessRemoteFunction (class AActor *Actor, class UFunction *Function, void *Parameters, struct FOutParmRec *OutParms, struct FFrame *Stack, class UObject *SubObject=nullptr) override
 
virtual bool IsAvailable () const override
 
ENGINE_API void SkipTime (const float InTimeToSkip)
 
ENGINE_API void SkipTimeInternal (const float SecondsToSkip, const bool InFastForward, const bool InIsForCheckpoint)
 
ENGINE_API bool InitConnectInternal (FString &Error)
 
virtual ENGINE_API bool ShouldClientDestroyTearOffActors () const override
 
virtual ENGINE_API bool ShouldSkipRepNotifies () const override
 
virtual ENGINE_API bool ShouldQueueBunchesForActorGUID (FNetworkGUID InGUID) const override
 
virtual ENGINE_API bool ShouldIgnoreRPCs () const override
 
virtual ENGINE_API FNetworkGUID GetGUIDForActor (const AActor *InActor) const override
 
virtual ENGINE_API AActorGetActorForGUID (FNetworkGUID InGUID) const override
 
virtual ENGINE_API bool ShouldReceiveRepNotifiesForObject (UObject *Object) const override
 
virtual ENGINE_API void ForceNetUpdate (AActor *Actor) override
 
virtual ENGINE_API bool IsServer () const override
 
virtual ENGINE_API bool ShouldReplicateFunction (AActor *Actor, UFunction *Function) const override
 
virtual ENGINE_API bool ShouldReplicateActor (AActor *Actor) const override
 
virtual ENGINE_API bool ShouldForwardFunction (AActor *Actor, UFunction *Function, void *Parms) const override
 
virtual ENGINE_API void NotifyActorChannelOpen (UActorChannel *Channel, AActor *Actor) override
 
virtual ENGINE_API void NotifyActorChannelCleanedUp (UActorChannel *Channel, EChannelCloseReason CloseReason) override
 
virtual ENGINE_API void NotifyActorClientDormancyChanged (AActor *Actor, ENetDormancy OldDormancyState) override
 
virtual ENGINE_API void NotifyActorTornOff (AActor *Actor) override
 
virtual void ProcessLocalServerPackets () override
 
virtual void ProcessLocalClientPackets () override
 
virtual ENGINE_API void InitDestroyedStartupActors () override
 
virtual ENGINE_API void SetAnalyticsProvider (TSharedPtr< IAnalyticsProvider > InProvider) override
 
virtual void LowLevelSend (TSharedPtr< const FInternetAddr > Address, void *Data, int32 CountBits, FOutPacketTraits &Traits) override
 
virtual class ISocketSubsystemGetSocketSubsystem () override
 
virtual bool DoesSupportEncryption () const override
 
ENGINE_API bool ContinueListen (FURL &ListenURL)
 
ENGINE_API void GotoTimeInSeconds (const float TimeInSeconds, const FOnGotoTimeDelegate &InOnGotoTimeDelegate=FOnGotoTimeDelegate())
 
ENGINE_API bool IsRecording () const
 
ENGINE_API bool IsPlaying () const
 
float GetDemoTotalTime () const
 
void SetDemoTotalTime (float TotalTime)
 
float GetDemoCurrentTime () const
 
void SetDemoCurrentTime (float CurrentTime)
 
FString GetDemoURL () const
 
void SetMaxDesiredRecordTimeMS (const float InMaxDesiredRecordTimeMS)
 
float GetMaxDesiredRecordTimeMS () const
 
void SetViewerOverride (APlayerController *const InViewerOverride)
 
void SetActorPrioritizationEnabled (const bool bInPrioritizeActors)
 
bool IsActorPrioritizationEnabled () const
 
void SetCheckpointSaveMaxMSPerFrame (const float InCheckpointSaveMaxMSPerFrame)
 
ENGINE_API void TickFlushAsyncEndOfFrame (float DeltaSeconds)
 
ENGINE_API const TArray< FLevelNameAndTime > & GetLevelNameAndTimeList ()
 
ENGINE_API FDemoSavedPropertyState SavePropertyState () const
 
ENGINE_API bool ComparePropertyState (const FDemoSavedPropertyState &State) const
 
virtual bool IsNetResourceValid (void) override
 
ENGINE_API void TickDemoRecord (float DeltaSeconds)
 
ENGINE_API void PauseChannels (const bool bPause)
 
ENGINE_API void PauseRecording (const bool bInPauseRecording)
 
ENGINE_API bool IsRecordingPaused () const
 
ENGINE_API bool ConditionallyProcessPlaybackPackets ()
 
ENGINE_API void ProcessAllPlaybackPackets ()
 
ENGINE_API bool ConditionallyReadDemoFrameIntoPlaybackPackets (FArchive &Ar)
 
ENGINE_API bool ProcessPacket (const uint8 *Data, int32 Count)
 
bool ProcessPacket (const FPlaybackPacket &PlaybackPacket)
 
ENGINE_API void WriteDemoFrameFromQueuedDemoPackets (FArchive &Ar, TArray< FQueuedDemoPacket > &QueuedPackets, float FrameTime, EWriteDemoFrameFlags Flags)
 
ENGINE_API void WritePacket (FArchive &Ar, uint8 *Data, int32 Count)
 
ENGINE_API void TickDemoPlayback (float DeltaSeconds)
 
ENGINE_API void FinalizeFastForward (const double StartTime)
 
ENGINE_API void SpawnDemoRecSpectator (UNetConnection *Connection, const FURL &ListenURL)
 
ENGINE_API void RestoreConnectionPostScrub (APlayerController *PC, UNetConnection *NetConnection)
 
ENGINE_API void SetSpectatorController (APlayerController *PC)
 
ENGINE_API bool SpawnSplitscreenViewer (ULocalPlayer *NewPlayer, UWorld *InWorld)
 
ENGINE_API bool RemoveSplitscreenViewer (APlayerController *RemovePlayer, bool bMarkOwnerForDeletion=false)
 
ENGINE_API void ResetDemoState ()
 
ENGINE_API void JumpToEndOfLiveReplay ()
 
ENGINE_API void AddEvent (const FString &Group, const FString &Meta, const TArray< uint8 > &Data)
 
ENGINE_API void AddOrUpdateEvent (const FString &EventName, const FString &Group, const FString &Meta, const TArray< uint8 > &Data)
 
ENGINE_API void EnumerateEvents (const FString &Group, const FEnumerateEventsCallback &Delegate)
 
ENGINE_API void EnumerateEventsForActiveReplay (const FString &Group, const FEnumerateEventsCallback &Delegate)
 
ENGINE_API void EnumerateEventsForActiveReplay (const FString &Group, const int32 UserIndex, const FEnumerateEventsCallback &Delegate)
 
ENGINE_API void RequestEventData (const FString &EventID, const FRequestEventDataCallback &Delegate)
 
ENGINE_API void RequestEventDataForActiveReplay (const FString &EventID, const FRequestEventDataCallback &Delegate)
 
ENGINE_API void RequestEventDataForActiveReplay (const FString &EventID, const int32 UserIndex, const FRequestEventDataCallback &Delegate)
 
ENGINE_API void RequestEventGroupDataForActiveReplay (const FString &Group, const FRequestEventGroupDataCallback &Delegate)
 
ENGINE_API void RequestEventGroupDataForActiveReplay (const FString &Group, const int32 UserIndex, const FRequestEventGroupDataCallback &Delegate)
 
bool IsFastForwarding () const
 
bool IsFinalizingFastForward () const
 
bool IsRestoringStartupActors () const
 
ENGINE_API FReplayExternalDataArrayGetExternalDataArrayForObject (UObject *Object)
 
ENGINE_API bool SetExternalDataForObject (UObject *OwningObject, const uint8 *Src, const int32 NumBits)
 
ENGINE_API bool ReadDemoFrameIntoPlaybackPackets (FArchive &Ar, TArray< FPlaybackPacket > &Packets, const bool bForLevelFastForward, float *OutTime)
 
bool ReadDemoFrameIntoPlaybackPackets (FArchive &Ar)
 
ENGINE_API void AddUserToReplay (const FString &UserString)
 
ENGINE_API void StopDemo ()
 
ENGINE_API void ReplayStreamingReady (const FStartStreamingResult &Result)
 
ENGINE_API void AddReplayTask (FQueuedReplayTask *NewTask)
 
ENGINE_API bool IsAnyTaskPending () const
 
ENGINE_API void ClearReplayTasks ()
 
ENGINE_API bool ProcessReplayTasks ()
 
ENGINE_API bool IsNamedTaskInQueue (const FName &Name) const
 
ENGINE_API FName GetNextQueuedTaskName () const
 
ENGINE_API void AddNonQueuedActorForScrubbing (AActor const *Actor)
 
ENGINE_API void AddNonQueuedGUIDForScrubbing (FNetworkGUID InGUID)
 
virtual ENGINE_API bool IsLevelInitializedForActor (const AActor *InActor, const UNetConnection *InConnection) const override
 
ENGINE_API void NotifyGotoTimeFinished (bool bWasSuccessful)
 
virtual ENGINE_API void NotifyActorDestroyed (AActor *ThisActor, bool IsSeamlessTravel=false, EChannelCloseReason CloseReason=EChannelCloseReason::Destroyed) override
 
virtual ENGINE_API void NotifyActorLevelUnloaded (AActor *Actor) override
 
virtual ENGINE_API void NotifyStreamingLevelUnload (ULevel *InLevel) override
 
virtual ENGINE_API void QueueNetStartupActorForRollbackViaDeletion (AActor *Actor)
 
ENGINE_API void OnSeamlessTravelStartDuringRecording (const FString &LevelName)
 
const FString & GetDemoSessionID () const
 
ENGINE_API bool ShouldTickFlushAsyncEndOfFrame () const
 
bool HasLevelStreamingFixes () const
 
bool HasDeltaCheckpoints () const
 
bool HasGameSpecificFrameData () const
 
const FString & GetActiveReplayName () const
 
uint32 GetPlaybackDemoChangelist () const
 
uint32 GetPlaybackDemoVersion () const
 
FReplayCustomVersion::Type GetPlaybackReplayVersion () const
 
uint32 GetPlaybackEngineNetworkProtocolVersion () const
 
uint32 GetPlaybackGameNetworkProtocolVersion () const
 
uint32 GetPlaybackCustomVersionVersion (const FGuid &VersionGuid) const
 
ENGINE_API FString GetDemoPath () const
 
float GetLastReplayFrameFidelity () const
 
- Public Member Functions inherited from UNetDriver
virtual ENGINE_API ~UNetDriver ()
 
int32 GetNetServerMaxTickRate () const
 
ENGINE_API void SetNetServerMaxTickRate (int32 InServerMaxTickRate)
 
void TryUpgradeNetworkFeatures (EEngineNetworkRuntimeFeatures RemoteFeatures)
 
 DECLARE_MULTICAST_DELEGATE_ThreeParams (FOnNetServerMaxTickRateChanged, UNetDriver *, int32, int32)
 
bool IsKnownChannelName (const FName &ChName) const
 
ENGINE_API void CreateInitialClientChannels ()
 
ENGINE_API void CreateInitialServerChannels (UNetConnection *ClientConnection)
 
ENGINE_API void AddObjectToNetworkIdCache (UObject *Object)
 
ENGINE_API void RemoveObjectFromNetworkIdCache (UObject *Object)
 
 DECLARE_MULTICAST_DELEGATE_OneParam (FOnNetUpdateFrequencyChanged, const AActor *Actor)
 
FOnNetUpdateFrequencyChangedGetOnNetUpdateFrequencyChanged ()
 
int32 GetMaxChannelsOverride () const
 
UChannelGetOrCreateChannelByName (const FName &ChName)
 
void ReleaseToChannelPool (UChannel *Channel)
 
void SetNetDriverName (FName NewNetDriverNamed)
 
void SetNetDriverDefinition (FName NewNetDriverDefinition)
 
FName GetNetDriverDefinition () const
 
ENGINE_API void PostCreation (bool bInitializeWithIris)
 
ENGINE_API void ReinitBase ()
 
void InitPacketSimulationSettings ()
 
bool IsSimulatingPacketLossBurst () const
 
double GetElapsedTime () const
 
void ResetElapsedTime ()
 
ENGINE_API void RequestNetDriverDestruction ()
 
bool IsInTick () const
 
bool GetPendingDestruction () const
 
ENGINE_API void SetPendingDestruction (bool bDestroy)
 
const TSharedPtr< class FNetGUIDCache > & GetNetGuidCache () const
 
TSharedPtr< class FNetGUIDCache > & GetNetGuidCache ()
 
void PrintDebugRelevantActors ()
 
const TSet< FNetworkGUID > & GetDestroyedStartupOrDormantActors (const FName &LevelName)
 
void SetNetAnalyticsAttributes (const FString &AttributeKey, const FString &AttributeValue)
 
TSharedPtr< FRepLayoutGetObjectClassRepLayout (UClass *InClass)
 
ENGINE_API TSharedPtr< FRepLayoutGetFunctionRepLayout (UFunction *Function)
 
ENGINE_API TSharedPtr< FRepLayoutGetStructRepLayout (UStruct *Struct)
 
TSharedPtr< FReplicationChangelistMgrGetReplicationChangeListMgr (UObject *Object)
 
void UpdateStandbyCheatStatus (void)
 
ENGINE_API void SetPacketSimulationSettings (const FPacketSimulationSettings &NewSettings)
 
ENGINE_API void OnPacketSimulationSettingsChanged ()
 
ENGINE_API UNetDriver (const FObjectInitializer &ObjectInitializer=FObjectInitializer::Get())
 
ENGINE_API UNetDriver (FVTableHelper &Helper)
 
virtual ENGINE_API void PostInitProperties () override
 
virtual ENGINE_API void PostReloadConfig (FProperty *PropertyToLoad) override
 
ENGINE_API void EnableExecuteRPCFunctions (bool bEnable)
 
ENGINE_API bool IsExecuteRPCFunctionsEnabled () const
 
ENGINE_API void EnablePreReplication (bool bEnable)
 
ENGINE_API bool IsPreReplicationEnabled () const
 
ENGINE_API void ReplicateAutonomousAsSimulated (bool bEnabled)
 
ENGINE_API bool IsReplicatingAutonomousAsSimulated () const
 
virtual bool CanDowngradeActorRole (UNetConnection *Connection, AActor *Actor) const
 
ENGINE_API ENetMode GetNetMode () const
 
virtual ENGINE_API void InitConnectionlessHandler ()
 
virtual ENGINE_API void FlushHandler ()
 
virtual ENGINE_API bool InitConnectionClass (void)
 
virtual ENGINE_API bool InitReplicationDriverClass ()
 
virtual ENGINE_API bool InitReplicationBridgeClass ()
 
virtual ENGINE_API void Shutdown ()
 
virtual ENGINE_API void LowLevelDestroy ()
 
virtual TSharedPtr< const FInternetAddrGetLocalAddr ()
 
virtual ENGINE_API void AssertValid ()
 
virtual ENGINE_API int32 ServerReplicateActors (float DeltaSeconds)
 
TObjectPtr< UNetworkMetricsDatabaseGetMetrics ()
 
ENGINE_API void ProcessRemoteFunctionForChannel (UActorChannel *Ch, const class FClassNetCache *ClassCache, const FFieldNetCache *FieldCache, UObject *TargetObj, UNetConnection *Connection, UFunction *Function, void *Parms, FOutParmRec *OutParms, FFrame *Stack, const bool IsServer, const ERemoteFunctionSendPolicy SendPolicy=ERemoteFunctionSendPolicy::Default)
 
ENGINE_API void ProcessRemoteFunctionForChannel (UActorChannel *Ch, const class FClassNetCache *ClassCache, const FFieldNetCache *FieldCache, UObject *TargetObj, UNetConnection *Connection, UFunction *Function, void *Parms, FOutParmRec *OutParms, FFrame *Stack, const bool IsServer, const ERemoteFunctionSendPolicy SendPolicy, EProcessRemoteFunctionFlags &RemoteFunctionFlags)
 
virtual ENGINE_API void PostTickDispatch ()
 
virtual ENGINE_API void UpdateNetworkLagState ()
 
virtual ENGINE_API void ReplicateVoicePacket (TSharedPtr< class FVoicePacket > VoicePacket, class UNetConnection *CameFromConn)
 
bool HandleSocketsCommand (const TCHAR *Cmd, FOutputDevice &Ar)
 
bool HandlePackageMapCommand (const TCHAR *Cmd, FOutputDevice &Ar)
 
bool HandleNetFloodCommand (const TCHAR *Cmd, FOutputDevice &Ar)
 
bool HandleNetDebugTextCommand (const TCHAR *Cmd, FOutputDevice &Ar)
 
bool HandleNetDisconnectCommand (const TCHAR *Cmd, FOutputDevice &Ar)
 
bool HandleNetDumpServerRPCCommand (const TCHAR *Cmd, FOutputDevice &Ar)
 
bool HandleNetDumpDormancy (const TCHAR *Cmd, FOutputDevice &Ar)
 
bool HandleDumpSubObjectsCommand (const TCHAR *Cmd, FOutputDevice &Ar)
 
bool HandleDumpRepLayoutFlagsCommand (const TCHAR *Cmd, FOutputDevice &Ar)
 
bool HandlePushModelMemCommand (const TCHAR *Cmd, FOutputDevice &Ar)
 
bool HandlePropertyConditionsMemCommand (const TCHAR *Cmd, FOutputDevice &Ar)
 
ENGINE_API void HandlePacketLossBurstCommand (int32 DurationInMilliseconds)
 
ENGINE_API void ForceAllActorsNetUpdateTime (float NetUpdateTimeOffset, TFunctionRef< bool(const AActor *const)> ValidActorTestFunc)
 
ENGINE_API void FlushActorDormancy (AActor *Actor, bool bWasDormInitial=false)
 
ENGINE_API void NotifyActorDormancyChange (AActor *Actor, ENetDormancy OldDormancyState)
 
ENGINE_API void ForcePropertyCompare (AActor *Actor)
 
ENGINE_API void ForceActorRelevantNextUpdate (AActor *Actor)
 
virtual ENGINE_API void AddNetworkActor (AActor *Actor)
 
void NotifySubObjectDestroyed (UObject *SubObject)
 
virtual ENGINE_API void NotifyActorRenamed (AActor *Actor, FName PreviousName)
 
virtual ENGINE_API void NotifyActorRenamed (AActor *Actor, UObject *PreviousOuter, FName PreviousName)
 
virtual ENGINE_API void RemoveNetworkActor (AActor *Actor)
 
void DeleteSubObjectOnClients (AActor *Actor, UObject *SubObject)
 
void TearOffSubObjectOnClients (AActor *Actor, UObject *SubObject)
 
virtual ENGINE_API void NotifyActorTearOff (AActor *Actor)
 
ENGINE_API void NotifyActorIsTraveling (AActor *TravelingActor)
 
ENGINE_API void SetRoleSwapOnReplicate (AActor *Actor, bool bSwapRoles)
 
virtual ENGINE_API class UChildConnectionCreateChild (UNetConnection *Parent)
 
FString GetDescription () const
 
virtual ENGINE_API void CleanPackageMaps ()
 
void RemoveClassRepLayoutReferences (UClass *Class)
 
ENGINE_API void CleanupWorldForSeamlessTravel ()
 
ENGINE_API void PreSeamlessTravelGarbageCollect ()
 
ENGINE_API void PostSeamlessTravelGarbageCollect ()
 
virtual class UWorldGetWorld () const override final
 
class UPackageGetWorldPackage () const
 
virtual ENGINE_API void ResetGameWorldState ()
 
bool NetObjectIsDynamic (const UObject *Object) const
 
void DrawNetDriverDebug ()
 
TSharedPtr< FRepChangedPropertyTrackerFindOrCreateRepChangedPropertyTracker (UObject *Obj)
 
TSharedPtr< FRepChangedPropertyTrackerFindRepChangedPropertyTracker (UObject *Obj)
 
FNetworkObjectListGetNetworkObjectList ()
 
const FNetworkObjectListGetNetworkObjectList () const
 
ENGINE_API FNetworkObjectInfoFindOrAddNetworkObjectInfo (const AActor *InActor)
 
ENGINE_API FNetworkObjectInfoFindNetworkObjectInfo (const AActor *InActor)
 
const FNetworkObjectInfoFindNetworkObjectInfo (const AActor *InActor) const
 
ENGINE_API bool IsNetworkActorUpdateFrequencyThrottled (const AActor *InActor) const
 
ENGINE_API bool IsNetworkActorUpdateFrequencyThrottled (const FNetworkObjectInfo &InNetworkActor) const
 
ENGINE_API void CancelAdaptiveReplication (FNetworkObjectInfo &InNetworkActor)
 
ENGINE_API void CancelAdaptiveReplication (const AActor *InActor)
 
ENGINE_API bool IsPendingNetUpdate (const AActor *InActor) const
 
int32 GetDuplicateLevelID () const
 
void SetDuplicateLevelID (const int32 InDuplicateLevelID)
 
ENGINE_API void SetReplicationDriver (UReplicationDriver *NewReplicationManager)
 
UReplicationDriverGetReplicationDriver () const
 
bool IsUsingIrisReplication () const
 
ENGINE_API EEngineNetworkRuntimeFeatures GetNetworkRuntimeFeatures () const
 
ENGINE_API void RestartIrisSystem ()
 
ENGINE_API void DestroyIrisSystem ()
 
ENGINE_API void RecreateIrisSystem ()
 
template<class T >
T * GetReplicationDriver () const
 
UReplicationSystemGetReplicationSystem ()
 
UReplicationSystemGetReplicationSystem () const
 
void UpdateGroupFilterStatusForLevel (const ULevel *Level, UE::Net::FNetObjectGroupHandle LevelGroupHandle)
 
void DisallowReplicationOfAllLevelGroupsForConnection (UE::Net::FConnectionHandle Handle)
 
void UpdateGroupFilterStatusForAllLevelsForConnection (UE::Net::FConnectionHandle Handle)
 
void UpdateGroupFilterStatusForAllLevelsForAllConnections ()
 
const UE::Net::FNetTokenStoreGetNetTokenStore () const
 
UE::Net::FNetTokenStoreGetNetTokenStore ()
 
 DECLARE_MULTICAST_DELEGATE_OneParam (FOnNetTokenStoreReady, UNetDriver *)
 
FOnNetTokenStoreReady::RegistrationType & OnNetTokenStoreReady ()
 
ENGINE_API void RemoveClientConnection (UNetConnection *ClientConnectionToRemove)
 
ENGINE_API void AddClientConnection (UNetConnection *NewConnection)
 
ENGINE_API void ForEachClientConnection (TFunction< bool(TObjectPtr< UNetConnection >)> Func)
 
ENGINE_API void NotifyActorFullyDormantForConnection (AActor *Actor, UNetConnection *Connection)
 
void NotifyRPCProcessed (UFunction *Function, UNetConnection *Connection, double ElapsedTimeSeconds)
 
virtual ENGINE_API bool ShouldCallRemoteFunction (UObject *Object, UFunction *Function, const FReplicationFlags &RepFlags) const
 
virtual ENGINE_API bool ShouldClientDestroyActor (AActor *Actor, EChannelCloseReason CloseReason=EChannelCloseReason::Destroyed) const
 
virtual ENGINE_API void ClientSetActorDormant (AActor *Actor)
 
virtual ENGINE_API void ClientSetActorTornOff (AActor *Actor)
 
ENGINE_API void ConsumeAsyncLoadDelinquencyAnalytics (FNetAsyncLoadDelinquencyAnalytics &Out)
 
ENGINE_API const FNetAsyncLoadDelinquencyAnalyticsGetAsyncLoadDelinquencyAnalytics () const
 
ENGINE_API void ResetAsyncLoadDelinquencyAnalytics ()
 
uint32 AllocateConnectionId ()
 
void FreeConnectionId (uint32 Id)
 
ENGINE_API UNetConnectionGetConnectionById (uint32 ParentConnectionId) const
 
ENGINE_API UNetConnectionGetConnectionByHandle (UE::Net::FConnectionHandle ConnectionHandle) const
 
uint32 GetNetTraceId () const
 
ENGINE_API bool CanCreateDestructionInfo () const
 
ENGINE_API int64 SendDestructionInfo (UNetConnection *Connection, FActorDestructionInfo *DestructionInfo)
 
bool SendDestructionInfoForLevelUnloadIfDormant (AActor *ThisActor, UNetConnection *Connection)
 
ENGINE_API UE::Net::FNetIDVariant CreateNetIDForObject (UObject *Object)
 
ENGINE_API void AssignNetIDToObject (UE::Net::FNetIDVariant NetID, const UObject *Object)
 
const bool MaySendProperties () const
 
uint32 GetOutTotalNotifiedPackets () const
 
void IncreaseOutTotalNotifiedPackets ()
 
int32 GetTotalOutOfOrderPackets () const
 
int32 GetTotalOutOfOrderPacketsLost () const
 
void IncreaseTotalOutOfOrderPacketsLost (int32 Count=1)
 
int32 GetTotalOutOfOrderPacketsRecovered () const
 
void IncreaseTotalOutOfOrderPacketsRecovered (int32 Count=1)
 
int32 GetTotalOutOfOrderPacketsDuplicate () const
 
void IncreaseTotalOutOfOrderPacketsDuplicate (int32 Count=1)
 
uint32 GetCachedGlobalNetTravelCount () const
 
bool DidHitchLastFrame () const
 
void MoveMappedObjectToUnmapped (const UObject *Object)
 
bool HasReplayConnection () const
 
virtual ENGINE_API bool IsEncryptionRequired () const
 
ENGINE_API float GetIncomingBunchFrameProcessingTimeLimit () const
 
ENGINE_API bool HasExceededIncomingBunchFrameProcessingTime () const
 
void AddBunchProcessingFrameTimeMS (float Milliseconds)
 
void AddQueuedBunchFailsafeChannel ()
 
void SetReplicateTransactionally (bool bInReplicateTransactionally)
 
constexpr bool ShouldReplicateTransactionally () const
 
void SetDeferTransactionalSend (bool bInDeferTransactionalSend)
 
bool ShouldDeferTransactionalSend () const
 
bool IsUsingRemoteObjectReferences () const
 
void SetUsingRemoteObjectReferences (bool bValue)
 
void SetSupportForNoPawnConnection (bool bInSupportNoPawnConnection)
 
bool HasSupportForNoPawnConnection ()
 
TObjectPtr< UNetConnectionFindConnection (struct FUniqueNetIdRepl &PlayerId)
 
bool IsSendingImmediateAcks () const
 
- Public Member Functions inherited from UObject
COREUOBJECT_API UObject ()
 
COREUOBJECT_API UObject (const FObjectInitializer &ObjectInitializer)
 
COREUOBJECT_API UObject (EStaticConstructor, EObjectFlags InFlags)
 
COREUOBJECT_API UObject (FVTableHelper &Helper)
 
COREUOBJECT_API UObjectCreateDefaultSubobject (FName SubobjectFName, UClass *ReturnType, UClass *ClassToCreateByDefault, bool bIsRequired, bool bIsTransient)
 
template<class TReturnType >
TReturnTypeCreateEditorOnlyDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType >
TReturnTypeCreateDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType , class TClassToConstructByDefault >
TReturnTypeCreateDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType >
TReturnTypeCreateOptionalDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType , class TClassToConstructByDefault >
TReturnTypeCreateOptionalDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
COREUOBJECT_API void GetDefaultSubobjects (TArray< UObject * > &OutDefaultSubobjects)
 
COREUOBJECT_API UObjectGetDefaultSubobjectByName (FName ToFind)
 
virtual COREUOBJECT_API void PostReinitProperties ()
 
virtual void PostCDOContruct ()
 
virtual COREUOBJECT_API void PreSaveRoot (FObjectPreSaveRootContext ObjectSaveContext)
 
virtual COREUOBJECT_API void PostSaveRoot (FObjectPostSaveRootContext ObjectSaveContext)
 
virtual COREUOBJECT_API void PreSave (FObjectPreSaveContext SaveContext)
 
virtual COREUOBJECT_API void CollectSaveOverrides (FObjectCollectSaveOverridesContext SaveContext)
 
UE_FORCEINLINE_HINT bool Modify (bool bAlwaysMarkDirty=true)
 
UE_FORCEINLINE_HINT bool IsCapturingAsRootObjectForTransaction () const
 
virtual bool ResolveSubobject (const TCHAR *SubObjectPath, UObject *&OutObject, bool bLoadIfExists)
 
virtual bool IsReadyForAsyncPostLoad () const
 
virtual COREUOBJECT_API void PostLoad ()
 
virtual COREUOBJECT_API void PostLoadSubobjects (FObjectInstancingGraph *OuterInstanceGraph)
 
virtual COREUOBJECT_API void BeginDestroy ()
 
virtual bool IsReadyForFinishDestroy ()
 
virtual COREUOBJECT_API void Serialize (FStructuredArchive::FRecord Record)
 
virtual void ShutdownAfterError ()
 
virtual void PostInterpChange (FProperty *PropertyThatChanged)
 
virtual COREUOBJECT_API void PostRename (UObject *OldOuter, const FName OldName)
 
virtual void PreDuplicate (FObjectDuplicationParameters &DupParams)
 
virtual void PostDuplicate (bool bDuplicateForPIE)
 
virtual void PostDuplicate (EDuplicateMode::Type DuplicateMode)
 
virtual COREUOBJECT_API bool NeedsLoadForClient () const
 
virtual COREUOBJECT_API bool NeedsLoadForServer () const
 
virtual COREUOBJECT_API bool NeedsLoadForTargetPlatform (const class ITargetPlatform *TargetPlatform) const
 
virtual bool NeedsLoadForEditorGame () const
 
virtual bool IsEditorOnly () const
 
virtual bool HasNonEditorOnlyReferences () const
 
virtual bool IsPostLoadThreadSafe () const
 
virtual COREUOBJECT_API bool IsDestructionThreadSafe () const
 
virtual COREUOBJECT_API void GetPreloadDependencies (TArray< UObject * > &OutDeps)
 
virtual void GetPrestreamPackages (TArray< UObject * > &OutPrestream)
 
virtual void ExportCustomProperties (FOutputDevice &Out, uint32 Indent)
 
virtual void ImportCustomProperties (const TCHAR *SourceText, FFeedbackContext *Warn)
 
virtual void PostEditImport ()
 
virtual COREUOBJECT_API bool Rename (const TCHAR *NewName=nullptr, UObject *NewOuter=nullptr, ERenameFlags Flags=REN_None)
 
virtual FString GetDesc ()
 
COREUOBJECT_API UScriptStructGetSparseClassDataStruct () const
 
virtual bool GetNativePropertyValues (TMap< FString, FString > &out_PropertyValues, uint32 ExportFlags=0) const
 
virtual COREUOBJECT_API void GetResourceSizeEx (FResourceSizeEx &CumulativeResourceSize)
 
SIZE_T GetResourceSizeBytes (EResourceSizeMode::Type Mode)
 
virtual FName GetExporterName (void)
 
COREUOBJECT_API void CallAddReferencedObjects (FReferenceCollector &Collector)
 
virtual FRestoreForUObjectOverwriteGetRestoreForUObjectOverwrite ()
 
virtual bool AreNativePropertiesIdenticalTo (UObject *Other) const
 
virtual COREUOBJECT_API void GetAssetRegistryTags (FAssetRegistryTagsContext Context) const
 
virtual COREUOBJECT_API void GetAssetRegistryTags (TArray< FAssetRegistryTag > &OutTags) const
 
COREUOBJECT_API void GetAssetRegistryTags (FAssetData &Out) const
 
COREUOBJECT_API void GetAssetRegistryTags (FAssetRegistryTagsContext Context, FAssetData &Out) const
 
virtual COREUOBJECT_API bool IsAsset () const
 
virtual COREUOBJECT_API FPrimaryAssetId GetPrimaryAssetId () const
 
virtual COREUOBJECT_API bool IsLocalizedResource () const
 
virtual COREUOBJECT_API bool IsSafeForRootSet () const
 
virtual COREUOBJECT_API void TagSubobjects (EObjectFlags NewFlags)
 
virtual COREUOBJECT_API void GetLifetimeReplicatedProps (TArray< class FLifetimeProperty > &OutLifetimeProps) const
 
virtual COREUOBJECT_API void GetReplicatedCustomConditionState (FCustomPropertyConditionState &OutActiveState) const
 
virtual COREUOBJECT_API void RegisterReplicationFragments (UE::Net::FFragmentRegistrationContext &Context, UE::Net::EFragmentRegistrationFlags RegistrationFlags)
 
virtual COREUOBJECT_API bool IsNameStableForNetworking () const
 
virtual COREUOBJECT_API bool IsFullNameStableForNetworking () const
 
virtual COREUOBJECT_API bool IsSupportedForNetworking () const
 
virtual void GetSubobjectsWithStableNamesForNetworking (TArray< UObject * > &ObjList)
 
virtual COREUOBJECT_API void PreNetReceive ()
 
virtual COREUOBJECT_API void PostNetReceive ()
 
virtual void PostRepNotifies ()
 
virtual COREUOBJECT_API void PreDestroyFromReplication ()
 
COREUOBJECT_API bool IsSelected () const
 
COREUOBJECT_API void SerializeScriptProperties (FArchive &Ar) const
 
COREUOBJECT_API void SerializeScriptProperties (FStructuredArchive::FSlot Slot) const
 
COREUOBJECT_API void ReinitializeProperties (UObject *SourceObject=NULL, struct FObjectInstancingGraph *InstanceGraph=NULL)
 
COREUOBJECT_API FString GetDetailedInfo () const
 
COREUOBJECT_API bool ConditionalBeginDestroy ()
 
COREUOBJECT_API bool ConditionalFinishDestroy ()
 
COREUOBJECT_API void ConditionalPostLoad ()
 
COREUOBJECT_API void ConditionalPreload ()
 
COREUOBJECT_API void ConditionalPostLoadSubobjects (struct FObjectInstancingGraph *OuterInstanceGraph=NULL)
 
bool IsBasedOnArchetype (const UObject *const SomeObject) const
 
COREUOBJECT_API UFunctionFindFunction (FName InName) const
 
COREUOBJECT_API UFunctionFindFunctionChecked (FName InName) const
 
virtual COREUOBJECT_API void BuildSubobjectMapping (UObject *OtherObject, TMap< UObject *, UObject * > &ObjectMapping) const
 
COREUOBJECT_API void CollectDefaultSubobjects (TArray< UObject * > &OutDefaultSubobjects, bool bIncludeNestedSubobjects=false) const
 
COREUOBJECT_API bool CheckDefaultSubobjects (bool bForceCheck=false) const
 
COREUOBJECT_API void SaveConfig (uint64 RequiredPropertyFlags=CPF_Config, const TCHAR *Filename=nullptr, FConfigCacheIni *Config=GConfig, bool bAllowCopyToDefaultObject=true)
 
COREUOBJECT_API void SaveConfig (const FSaveConfigContext &Context)
 
COREUOBJECT_API void UpdateDefaultConfigFile (const FString &SpecificFileLocation="")
 
COREUOBJECT_API bool TryUpdateDefaultConfigFile (const FString &SpecificFileLocation="", bool bWarnIfFail=true)
 
COREUOBJECT_API void UpdateGlobalUserConfigFile ()
 
COREUOBJECT_API void UpdateProjectUserConfigFile ()
 
COREUOBJECT_API void UpdateSinglePropertyInConfigFile (const FProperty *InProperty, const FString &InConfigIniName)
 
COREUOBJECT_API FString GetDefaultConfigFilename () const
 
COREUOBJECT_API FString GetGlobalUserConfigFilename () const
 
COREUOBJECT_API FString GetProjectUserConfigFilename () const
 
virtual const TCHARGetConfigOverridePlatform () const
 
virtual void OverrideConfigSection (FString &SectionName)
 
virtual void OverridePerObjectConfigSection (FString &SectionName)
 
COREUOBJECT_API void LoadConfig (UClass *ConfigClass=nullptr, const TCHAR *Filename=nullptr, uint32 PropagationFlags=UE::LCPF_None, class FProperty *PropertyToLoad=nullptr, TArray< UE::ConfigAccessTracking::FConfigAccessData > *OutAccessedKeys=nullptr)
 
COREUOBJECT_API void ReloadConfig (UClass *ConfigClass=NULL, const TCHAR *Filename=NULL, uint32 PropagationFlags=UE::LCPF_None, class FProperty *PropertyToLoad=NULL)
 
COREUOBJECT_API void ParseParms (const TCHAR *Parms)
 
COREUOBJECT_API void OutputReferencers (FOutputDevice &Ar, FReferencerInformationList *Referencers=NULL)
 
COREUOBJECT_API void RetrieveReferencers (TArray< FReferencerInformation > *OutInternalReferencers, TArray< FReferencerInformation > *OutExternalReferencers)
 
COREUOBJECT_API void SetLinker (FLinkerLoad *LinkerLoad, int32 LinkerIndex, bool bShouldDetachExisting=true, bool bSilenceLogs=false)
 
COREUOBJECT_API UObjectGetArchetype () const
 
COREUOBJECT_API void GetArchetypeInstances (TArray< UObject * > &Instances)
 
COREUOBJECT_API void InstanceSubobjectTemplates (struct FObjectInstancingGraph *InstanceGraph=NULL)
 
template<class T >
bool Implements () const
 
virtual COREUOBJECT_API void ProcessEvent (UFunction *Function, void *Parms)
 
virtual int32 GetFunctionCallspace (UFunction *Function, FFrame *Stack)
 
virtual bool CallRemoteFunction (UFunction *Function, void *Parms, struct FOutParmRec *OutParms, FFrame *Stack)
 
COREUOBJECT_API bool CallFunctionByNameWithArguments (const TCHAR *Cmd, FOutputDevice &Ar, UObject *Executor, bool bForceCallWithNonExec=false)
 
COREUOBJECT_API void CallFunction (FFrame &Stack, RESULT_DECL, UFunction *Function)
 
 DECLARE_FUNCTION (ProcessInternal)
 
virtual bool ProcessConsoleExec (const TCHAR *Cmd, FOutputDevice &Ar, UObject *Executor)
 
COREUOBJECT_API void SkipFunction (FFrame &Stack, RESULT_DECL, UFunction *Function)
 
virtual UClassRegenerateClass (UClass *ClassToRegenerate, UObject *PreviousCDO)
 
COREUOBJECT_API bool IsInBlueprint () const
 
COREUOBJECT_API void DestroyNonNativeProperties ()
 
virtual void MarkAsEditorOnlySubobject ()
 
COREUOBJECT_API void AbortInsideMemberFunction () const
 
 DECLARE_FUNCTION (execUndefined)
 
 DECLARE_FUNCTION (execLocalVariable)
 
 DECLARE_FUNCTION (execInstanceVariable)
 
 DECLARE_FUNCTION (execDefaultVariable)
 
 DECLARE_FUNCTION (execLocalOutVariable)
 
 DECLARE_FUNCTION (execInterfaceVariable)
 
 DECLARE_FUNCTION (execClassSparseDataVariable)
 
 DECLARE_FUNCTION (execInterfaceContext)
 
 DECLARE_FUNCTION (execArrayElement)
 
 DECLARE_FUNCTION (execBoolVariable)
 
 DECLARE_FUNCTION (execClassDefaultVariable)
 
 DECLARE_FUNCTION (execEndFunctionParms)
 
 DECLARE_FUNCTION (execNothing)
 
 DECLARE_FUNCTION (execNothingInt32)
 
 DECLARE_FUNCTION (execNothingOp4a)
 
 DECLARE_FUNCTION (execBreakpoint)
 
 DECLARE_FUNCTION (execTracepoint)
 
 DECLARE_FUNCTION (execWireTracepoint)
 
 DECLARE_FUNCTION (execInstrumentation)
 
 DECLARE_FUNCTION (execEndOfScript)
 
 DECLARE_FUNCTION (execReturnNothing)
 
 DECLARE_FUNCTION (execEmptyParmValue)
 
 DECLARE_FUNCTION (execJump)
 
 DECLARE_FUNCTION (execJumpIfNot)
 
 DECLARE_FUNCTION (execAssert)
 
 DECLARE_FUNCTION (execPushExecutionFlow)
 
 DECLARE_FUNCTION (execPopExecutionFlow)
 
 DECLARE_FUNCTION (execComputedJump)
 
 DECLARE_FUNCTION (execPopExecutionFlowIfNot)
 
 DECLARE_FUNCTION (execLet)
 
 DECLARE_FUNCTION (execLetObj)
 
 DECLARE_FUNCTION (execLetWeakObjPtr)
 
 DECLARE_FUNCTION (execLetBool)
 
 DECLARE_FUNCTION (execLetDelegate)
 
 DECLARE_FUNCTION (execLetMulticastDelegate)
 
 DECLARE_FUNCTION (execAddMulticastDelegate)
 
 DECLARE_FUNCTION (execClearMulticastDelegate)
 
 DECLARE_FUNCTION (execEatReturnValue)
 
 DECLARE_FUNCTION (execRemoveMulticastDelegate)
 
 DECLARE_FUNCTION (execSelf)
 
 DECLARE_FUNCTION (execContext)
 
 DECLARE_FUNCTION (execContext_FailSilent)
 
 DECLARE_FUNCTION (execStructMemberContext)
 
 DECLARE_FUNCTION (execVirtualFunction)
 
 DECLARE_FUNCTION (execFinalFunction)
 
 DECLARE_FUNCTION (execLocalVirtualFunction)
 
 DECLARE_FUNCTION (execLocalFinalFunction)
 
 DECLARE_FUNCTION (execStructCmpEq)
 
 DECLARE_FUNCTION (execStructCmpNe)
 
 DECLARE_FUNCTION (execStructMember)
 
 DECLARE_FUNCTION (execEqualEqual_DelegateDelegate)
 
 DECLARE_FUNCTION (execNotEqual_DelegateDelegate)
 
 DECLARE_FUNCTION (execEqualEqual_DelegateFunction)
 
 DECLARE_FUNCTION (execNotEqual_DelegateFunction)
 
 DECLARE_FUNCTION (execIntConst)
 
 DECLARE_FUNCTION (execInt64Const)
 
 DECLARE_FUNCTION (execUInt64Const)
 
 DECLARE_FUNCTION (execSkipOffsetConst)
 
 DECLARE_FUNCTION (execFloatConst)
 
 DECLARE_FUNCTION (execDoubleConst)
 
 DECLARE_FUNCTION (execStringConst)
 
 DECLARE_FUNCTION (execUnicodeStringConst)
 
 DECLARE_FUNCTION (execTextConst)
 
 DECLARE_FUNCTION (execPropertyConst)
 
 DECLARE_FUNCTION (execObjectConst)
 
 DECLARE_FUNCTION (execSoftObjectConst)
 
 DECLARE_FUNCTION (execFieldPathConst)
 
 DECLARE_FUNCTION (execInstanceDelegate)
 
 DECLARE_FUNCTION (execNameConst)
 
 DECLARE_FUNCTION (execByteConst)
 
 DECLARE_FUNCTION (execIntZero)
 
 DECLARE_FUNCTION (execIntOne)
 
 DECLARE_FUNCTION (execTrue)
 
 DECLARE_FUNCTION (execFalse)
 
 DECLARE_FUNCTION (execNoObject)
 
 DECLARE_FUNCTION (execNullInterface)
 
 DECLARE_FUNCTION (execIntConstByte)
 
 DECLARE_FUNCTION (execRotationConst)
 
 DECLARE_FUNCTION (execVectorConst)
 
 DECLARE_FUNCTION (execVector3fConst)
 
 DECLARE_FUNCTION (execTransformConst)
 
 DECLARE_FUNCTION (execStructConst)
 
 DECLARE_FUNCTION (execSetArray)
 
 DECLARE_FUNCTION (execSetSet)
 
 DECLARE_FUNCTION (execSetMap)
 
 DECLARE_FUNCTION (execArrayConst)
 
 DECLARE_FUNCTION (execSetConst)
 
 DECLARE_FUNCTION (execMapConst)
 
 DECLARE_FUNCTION (execBitFieldConst)
 
 DECLARE_FUNCTION (execNew)
 
 DECLARE_FUNCTION (execClassContext)
 
 DECLARE_FUNCTION (execNativeParm)
 
 DECLARE_FUNCTION (execCast)
 
 DECLARE_FUNCTION (execDynamicCast)
 
 DECLARE_FUNCTION (execMetaCast)
 
 DECLARE_FUNCTION (execInterfaceCast)
 
 DECLARE_FUNCTION (execDoubleToFloatCast)
 
 DECLARE_FUNCTION (execFloatToDoubleCast)
 
 DECLARE_FUNCTION (execObjectToBool)
 
 DECLARE_FUNCTION (execInterfaceToBool)
 
 DECLARE_FUNCTION (execObjectToInterface)
 
 DECLARE_FUNCTION (execInterfaceToInterface)
 
 DECLARE_FUNCTION (execInterfaceToObject)
 
 DECLARE_FUNCTION (execGetDynArrayElement)
 
 DECLARE_FUNCTION (execSetDynArrayElement)
 
 DECLARE_FUNCTION (execGetDynArrayLength)
 
 DECLARE_FUNCTION (execSetDynArrayLength)
 
 DECLARE_FUNCTION (execDynArrayInsert)
 
 DECLARE_FUNCTION (execDynArrayRemove)
 
 DECLARE_FUNCTION (execDynArrayFind)
 
 DECLARE_FUNCTION (execDynArrayFindStruct)
 
 DECLARE_FUNCTION (execDynArrayAdd)
 
 DECLARE_FUNCTION (execDynArrayAddItem)
 
 DECLARE_FUNCTION (execDynArrayInsertItem)
 
 DECLARE_FUNCTION (execDynArrayRemoveItem)
 
 DECLARE_FUNCTION (execDynArraySort)
 
 DECLARE_FUNCTION (execBindDelegate)
 
 DECLARE_FUNCTION (execCallMulticastDelegate)
 
 DECLARE_FUNCTION (execLetValueOnPersistentFrame)
 
 DECLARE_FUNCTION (execCallMathFunction)
 
 DECLARE_FUNCTION (execSwitchValue)
 
 DECLARE_FUNCTION (execArrayGetByRef)
 
 DECLARE_FUNCTION (execAutoRtfmTransact)
 
 DECLARE_FUNCTION (execAutoRtfmStopTransact)
 
 DECLARE_FUNCTION (execAutoRtfmAbortIfNot)
 
void ExecuteUbergraph (int32 EntryPoint)
 
virtual void ValidateGeneratedRepEnums (const TArray< struct FRepRecord > &ClassReps) const
 
virtual uint64 GetNetPushIdDynamic () const
 
- Public Member Functions inherited from UObjectBaseUtility
 UObjectBaseUtility ()
 
 UObjectBaseUtility (EObjectFlags InFlags)
 
void SetFlags (EObjectFlags NewFlags)
 
void ClearFlags (EObjectFlags FlagsToClear)
 
bool HasAnyFlags (EObjectFlags FlagsToCheck) const
 
bool HasAllFlags (EObjectFlags FlagsToCheck) const
 
UE_FORCEINLINE_HINT EObjectFlags GetMaskedFlags (EObjectFlags Mask=RF_AllFlags) const
 
UE_FORCEINLINE_HINT void Mark (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT void UnMark (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT bool HasAnyMarks (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT bool HasAllMarks (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT EObjectMark GetAllMarks () const
 
void MarkAsGarbage ()
 
void ClearGarbage ()
 
UE_FORCEINLINE_HINT void AddToRoot ()
 
UE_FORCEINLINE_HINT void RemoveFromRoot ()
 
UE_FORCEINLINE_HINT bool IsRooted () const
 
UE_FORCEINLINE_HINT int32 GetRefCount () const
 
bool ThisThreadAtomicallyClearedRFUnreachable ()
 
UE_FORCEINLINE_HINT bool IsUnreachable () const
 
UE_FORCEINLINE_HINT bool IsNative () const
 
void SetInternalFlags (EInternalObjectFlags FlagsToSet) const
 
UE_FORCEINLINE_HINT EInternalObjectFlags GetInternalFlags () const
 
UE_FORCEINLINE_HINT bool HasAnyInternalFlags (EInternalObjectFlags FlagsToCheck) const
 
void ClearInternalFlags (EInternalObjectFlags FlagsToClear) const
 
bool AtomicallyClearInternalFlags (EInternalObjectFlags FlagsToClear) const
 
COREUOBJECT_API FString GetFullName (const UObject *StopOuter=NULL, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 
COREUOBJECT_API void GetFullName (const UObject *StopOuter, FString &ResultString, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 
COREUOBJECT_API void GetFullName (FStringBuilderBase &ResultString, const UObject *StopOuter=NULL, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 
COREUOBJECT_API FString GetPathName (const UObject *StopOuter=NULL) const
 
COREUOBJECT_API void GetPathName (const UObject *StopOuter, FString &ResultString) const
 
COREUOBJECT_API void GetPathName (const UObject *StopOuter, FStringBuilderBase &ResultString) const
 
virtual bool CanBeClusterRoot () const
 
virtual COREUOBJECT_API bool CanBeInCluster () const
 
virtual COREUOBJECT_API void CreateCluster ()
 
virtual void OnClusterMarkedAsPendingKill ()
 
COREUOBJECT_API void AddToCluster (UObjectBaseUtility *ClusterRootOrObjectFromCluster, bool bAddAsMutableObject=false)
 
COREUOBJECT_API FString GetFullGroupName (bool bStartWithOuter) const
 
UE_FORCEINLINE_HINT FString GetName () const
 
UE_FORCEINLINE_HINT void GetName (FString &ResultString) const
 
UE_FORCEINLINE_HINT void AppendName (FString &ResultString) const
 
COREUOBJECT_API bool IsPackageExternal () const
 
COREUOBJECT_API void DetachExternalPackage ()
 
COREUOBJECT_API void ReattachExternalPackage ()
 
COREUOBJECT_API UObjectGetOutermostObject () const
 
COREUOBJECT_API UPackageGetPackage () const
 
UE_INTERNAL virtual COREUOBJECT_API UE::Core::FVersePath GetVersePath () const
 
COREUOBJECT_API UPackageGetOutermost () const
 
COREUOBJECT_API bool MarkPackageDirty () const
 
COREUOBJECT_API bool IsTemplate (EObjectFlags TemplateTypes=RF_ArchetypeObject|RF_ClassDefaultObject) const
 
COREUOBJECT_API UObjectGetTypedOuter (UClass *Target) const
 
template<typename T >
T * GetTypedOuter () const
 
template<typename InterfaceClassType >
InterfaceClassTypeGetImplementingOuter () const
 
COREUOBJECT_API UObjectBaseUtilityGetImplementingOuterObject (const UClass *InInterfaceClass) const
 
COREUOBJECT_API bool IsIn (const UObject *SomeOuter) const
 
COREUOBJECT_API bool IsIn (const UPackage *SomePackage) const
 
COREUOBJECT_API bool IsInOuter (const UObject *SomeOuter) const
 
COREUOBJECT_API bool IsInPackage (const UPackage *SomePackage) const
 
COREUOBJECT_API bool IsInA (const UClass *SomeBaseClass) const
 
COREUOBJECT_API bool RootPackageHasAnyFlags (uint32 CheckFlagMask) const
 
template<typename OtherClassType >
bool IsA (OtherClassType SomeBase) const
 
template<class T >
bool IsA () const
 
COREUOBJECT_API const UClassFindNearestCommonBaseClass (const UClass *TestClass) const
 
COREUOBJECT_API voidGetInterfaceAddress (UClass *InterfaceClass)
 
COREUOBJECT_API voidGetNativeInterfaceAddress (UClass *InterfaceClass)
 
const voidGetNativeInterfaceAddress (UClass *InterfaceClass) const
 
COREUOBJECT_API bool IsTemplateForSubobjects (EObjectFlags TemplateTypes=RF_ClassDefaultObject|RF_DefaultSubObject|RF_InheritableComponentTemplate) const
 
COREUOBJECT_API bool IsDefaultSubobject () const
 
COREUOBJECT_API class FLinkerLoadGetLinker () const
 
COREUOBJECT_API int32 GetLinkerIndex () const
 
COREUOBJECT_API FPackageFileVersion GetLinkerUEVersion () const
 
int32 GetLinkerUE4Version () const
 
COREUOBJECT_API int32 GetLinkerLicenseeUEVersion () const
 
int32 GetLinkerLicenseeUE4Version () const
 
COREUOBJECT_API int32 GetLinkerCustomVersion (FGuid CustomVersionKey) const
 
UE_FORCEINLINE_HINT bool operator< (const UObjectBaseUtility &Other) const
 
TStatId GetStatID (bool bForDeferredUse=false) const
 
- Public Member Functions inherited from UObjectBase
COREUOBJECT_API UObjectBase (UClass *InClass, EObjectFlags InFlags, EInternalObjectFlags InInternalFlags, UObject *InOuter, FName InName, int32 InInternalIndex=-1, int32 InSerialNumber=0, FRemoteObjectId InRemoteId=FRemoteObjectId())
 
virtual COREUOBJECT_API ~UObjectBase ()
 
COREUOBJECT_API bool IsValidLowLevel () const
 
COREUOBJECT_API bool IsValidLowLevelFast (bool bRecursive=true) const
 
FORCEINLINE uint32 GetUniqueID () const
 
FORCEINLINE UClassGetClass () const
 
FORCEINLINE UObjectGetOuter () const
 
FORCEINLINE FName GetFName () const
 
virtual COREUOBJECT_API FName GetFNameForStatID () const
 
COREUOBJECT_API UPackageGetExternalPackage () const
 
COREUOBJECT_API void SetExternalPackage (UPackage *InPackage)
 
COREUOBJECT_API UPackageGetExternalPackageInternal () const
 
COREUOBJECT_API void MarkAsReachable () const
 
COREUOBJECT_API void AddRef () const
 
COREUOBJECT_API void ReleaseRef () const
 
FORCEINLINE EObjectFlags GetFlags () const
 
FORCENOINLINE void AtomicallySetFlags (EObjectFlags FlagsToAdd)
 
FORCENOINLINE void AtomicallyClearFlags (EObjectFlags FlagsToClear)
 
- Public Member Functions inherited from FExec
virtual CORE_API ~FExec ()
 
virtual CORE_API bool Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar)
 

Public Attributes

double AccumulatedRecordTime
 
double LastRecordAvgFlush
 
double MaxRecordTime
 
int32 RecordCountSinceFlush
 
TArray< FPlaybackPacketPlaybackPackets
 
- Public Attributes inherited from UNetDriver
FString NetConnectionClassName
 
FString ReplicationDriverClassName
 
FString ReplicationBridgeClassName
 
FNetDriverReplicationSystemConfig ReplicationSystemConfigServer
 
FNetDriverReplicationSystemConfig ReplicationSystemConfigClient
 
int32 MaxDownloadSize
 
uint32 bClampListenServerTickRate:1
 
int32 NetServerMaxTickRate
 
FOnNetServerMaxTickRateChanged OnNetServerMaxTickRateChanged
 
int32 MaxNetTickRate
 
int32 MaxInternetClientRate
 
int32 MaxClientRate
 
float ServerTravelPause
 
float SpawnPrioritySeconds
 
float RelevantTimeout
 
float KeepAliveTime
 
float InitialConnectTimeout
 
float ConnectionTimeout
 
float GracefulCloseConnectionTimeout = 2.0f
 
float TimeoutMultiplierForUnoptimizedBuilds
 
TObjectPtr< class UNetConnectionServerConnection
 
TArray< TObjectPtr< UNetConnection > > ClientConnections
 
FConnectionMap MappedClientConnections
 
TArray< FDisconnectedClientRecentlyDisconnectedClients
 
int32 RecentlyDisconnectedTrackingTime
 
TUniquePtr< PacketHandlerConnectionlessHandler
 
TWeakPtr< StatelessConnectHandlerComponentStatelessConnectComponent
 
TSharedPtr< IAnalyticsProviderAnalyticsProvider
 
TSharedPtr< FNetAnalyticsAggregatorAnalyticsAggregator
 
TObjectPtr< class UWorldWorld
 
TObjectPtr< class UPackageWorldPackage
 
TSharedPtr< class FNetGUIDCacheGuidCache
 
TSharedPtr< class FClassNetCacheMgrNetCache
 
TObjectPtr< UClassNetConnectionClass
 
TObjectPtr< UClassChildNetConnectionClass
 
TObjectPtr< UClassReplicationDriverClass
 
TObjectPtr< UClassReplicationBridgeClass
 
FPropertyRoleProperty
 
FPropertyRemoteRoleProperty
 
FName NetDriverName
 
TArray< FChannelDefinitionChannelDefinitions
 
TMap< FName, FChannelDefinitionChannelDefinitionMap
 
class FNetworkNotifyNotify
 
uint8 bNoTimeouts: 1
 
uint8 bNeverApplyNetworkEmulationSettings: 1
 
uint8 bIsPeer: 1
 
uint8 ProfileStats: 1
 
uint8 bSkipLocalStats: 1
 
uint8 bCollectNetStats: 1
 
uint8 bIsStandbyCheckingEnabled: 1
 
uint8 bHasStandbyCheatTriggered: 1
 
double LastTickDispatchRealtime
 
int32 SendCycles
 
uint32 InBytesPerSecond
 
uint32 OutBytesPerSecond
 
uint32 InBytes
 
uint32 InTotalBytes
 
uint32 OutBytes
 
uint32 OutTotalBytes
 
uint32 NetGUIDOutBytes
 
uint32 NetGUIDInBytes
 
uint32 InPackets
 
uint32 PrevInPackets
 
uint32 InTotalPackets
 
uint32 OutPackets
 
uint32 PrevOutPackets
 
uint32 OutTotalPackets
 
uint32 InBunches
 
uint32 OutBunches
 
uint32 InTotalBunches
 
uint32 OutTotalBunches
 
uint32 OutTotalReliableBunches
 
uint32 InTotalReliableBunches
 
uint32 InPacketsLost
 
uint32 PrevInPacketsLost
 
uint32 InTotalPacketsLost
 
uint32 OutPacketsLost
 
uint32 PrevOutPacketsLost
 
uint32 OutTotalPacketsLost
 
uint32 VoicePacketsSent
 
uint32 VoiceBytesSent
 
uint32 VoicePacketsRecv
 
uint32 VoiceBytesRecv
 
uint32 VoiceInPercent
 
uint32 VoiceOutPercent
 
double StatUpdateTime
 
float StatPeriod
 
uint32 TotalRPCsCalled
 
uint32 OutTotalAcks
 
double LastCleanupTime
 
float StandbyRxCheatTime
 
float StandbyTxCheatTime
 
int32 BadPingThreshold
 
float PercentMissingForRxStandby
 
float PercentMissingForTxStandby
 
float PercentForBadPing
 
float JoinInProgressStandbyWaitTime
 
int32 NetTag
 
bool DebugRelevantActors
 
TArray< TWeakObjectPtr< AActor > > LastPrioritizedActors
 
TArray< TWeakObjectPtr< AActor > > LastRelevantActors
 
TArray< TWeakObjectPtr< AActor > > LastSentActors
 
TArray< TWeakObjectPtr< AActor > > LastNonRelevantActors
 
TMap< FNetworkGUID, TUniquePtr< FActorDestructionInfo > > DestroyedStartupOrDormantActors
 
TMap< FName, FNameRenamedStartupActors
 
uint32 ReplicationFrame
 
TMap< TWeakObjectPtr< UObject >, TSharedPtr< FRepLayout >, FDefaultSetAllocator, TWeakObjectPtrMapKeyFuncs< TWeakObjectPtr< UObject >, TSharedPtr< FRepLayout > > > RepLayoutMap
 
TMap< FNetworkGUID, TSet< FObjectReplicator * > > GuidToReplicatorMap
 
int32 TotalTrackedGuidMemoryBytes
 
TSet< FObjectReplicator * > UnmappedReplicators
 
TSet< FObjectReplicator * > AllOwnedReplicators
 
FDelegateHandle TickDispatchDelegateHandle
 
FDelegateHandle PostTickDispatchDelegateHandle
 
FDelegateHandle TickFlushDelegateHandle
 
FDelegateHandle PostTickFlushDelegateHandle
 
FOnSendRPC SendRPCDel
 
FShouldSkipRepNotifies SkipRepNotifiesDel
 
float ProcessQueuedBunchesCurrentFrameMilliseconds
 
FDDoSDetection DDoS
 
TSharedPtr< FInternetAddrLocalAddr
 
FPacketSimulationSettings PacketSimulationSettings
 
virtual bool InitConnect (class FNetworkNotify *InNotify, const FURL &ConnectURL, FString &Error) PURE_VIRTUAL(UNetDriver
 
virtual bool InitListen (class FNetworkNotify *InNotify, FURL &ListenURL, bool bReuseAddressAndPort, FString &Error) PURE_VIRTUAL(UNetDriver
 
virtual void LowLevelSend(TSharedPtr< const FInternetAddr > Address, void *Data, int32 CountBits, FOutPacketTraits &Traits) PURE_VIRTUAL(UNetDriver virtual ENGINE_API voi ProcessLocalServerPackets )()
 
virtual class ISocketSubsystemGetSocketSubsystem () PURE_VIRTUAL(UNetDriver
 
virtual bool IsNetResourceValid (void) PURE_VIRTUAL(UNetDriver
 

Protected Member Functions

virtual ENGINE_API UChannelInternalCreateChannelByName (const FName &ChName) override
 
ENGINE_API void ProcessSeamlessTravel (int32 LevelIndex)
 
ENGINE_API bool DemoReplicateActor (AActor *Actor, UNetConnection *Connection, bool bMustReplicate)
 
PRAGMA_DISABLE_DEPRECATION_WARNINGS ENGINE_API void NotifyDemoPlaybackFailure (EDemoPlayFailure::Type FailureType)
 
ENGINE_API PRAGMA_ENABLE_DEPRECATION_WARNINGS void NotifyDemoPlaybackError (const UE::Net::TNetResult< EReplayResult > &Result)
 
ENGINE_API void NotifyDemoRecordFailure (const UE::Net::TNetResult< EReplayResult > &Result)
 
- Protected Member Functions inherited from UNetDriver
virtual ENGINE_API void InternalProcessRemoteFunction (class AActor *Actor, class UObject *SubObject, class UNetConnection *Connection, class UFunction *Function, void *Parms, FOutParmRec *OutParms, FFrame *Stack, bool bIsServer)
 
virtual ENGINE_API void SetupNetworkMetrics ()
 
virtual ENGINE_API bool Exec_Dev (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar=*GLog) override
 
virtual ENGINE_API bool ShouldUpdateStats () const
 
virtual ENGINE_API bool ShouldRegisterMetricsDatabaseListeners () const
 
void SetIsInTick (bool bIsInTick)
 
ENGINE_API void RegisterTickEvents (class UWorld *InWorld)
 
ENGINE_API void UnregisterTickEvents (class UWorld *InWorld)
 
void UpdateNetworkStats ()
 
virtual ENGINE_API void OnLevelRemovedFromWorld (class ULevel *Level, class UWorld *World)
 
virtual ENGINE_API void OnLevelAddedToWorld (class ULevel *Level, class UWorld *World)
 
void NotifyGameInstanceUpdated ()
 
virtual ENGINE_API void ForwardRemoteFunction (UObject *RootObject, UObject *SubObject, UFunction *Function, void *Parms)
 
void EvaluateNoTimeouts ()
 
- Protected Member Functions inherited from UObject
virtual FString GetDetailedInfoInternal () const
 
COREUOBJECT_API bool CanCheckDefaultSubObjects (bool bForceCheck, bool &bResult) const
 
virtual COREUOBJECT_API bool CheckDefaultSubobjectsInternal () const
 
- Protected Member Functions inherited from UObjectBase
 UObjectBase ()
 
COREUOBJECT_API UObjectBase (EObjectFlags InFlags)
 
COREUOBJECT_API void LowLevelRename (FName NewName, UObject *NewOuter=NULL)
 
virtual void RegisterDependencies ()
 
COREUOBJECT_API void Register (class UClass *(*StaticClassFn)(), const TCHAR *PackageName, const TCHAR *Name)
 
COREUOBJECT_API void Register (const TCHAR *PackageName, const TCHAR *Name)
 
virtual COREUOBJECT_API void DeferredRegister (UClass *UClassStaticClass, const TCHAR *PackageName, const TCHAR *Name)
 
FORCEINLINE void SetFlagsTo (EObjectFlags NewFlags)
 
- Protected Member Functions inherited from FExec
virtual bool Exec_Runtime (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar)
 
virtual bool Exec_Editor (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar)
 

Protected Attributes

uint8 bIsWaitingForHeaderDownload: 1
 
uint8 bIsWaitingForStream: 1
 
TOptional< UE::Net::TNetResult< EReplayResult > > PendingRecordFailure
 
TArray< FQueuedDemoPacketQueuedPacketsBeforeTravel
 
int64 MaxArchiveReadPos
 
- Protected Attributes inherited from UNetDriver
uint8 bMaySendProperties: 1
 
uint8 bSkipServerReplicateActors: 1
 
uint8 bSkipClearVoicePackets: 1
 
FDelegateHandle OnLevelRemovedFromWorldHandle
 
FDelegateHandle OnLevelAddedToWorldHandle
 
FRandomStream UpdateDelayRandomStream
 
bool bTickingThrottleEnabled = true
 

Friends

class FPendingTaskHelper
 
class UDemoNetConnection
 
class FQueuedReplayTask
 

Additional Inherited Members

- Public Types inherited from UNetDriver
enum class  ERemoteFunctionSendPolicy { Default , ForceSend , ForceQueue }
 
- Public Types inherited from UObject
enum class  ENetFields_Private { NETFIELD_REP_START = 0 , NETFIELD_REP_END = -1 }
 
typedef UObject WithinClass
 
- Static Public Member Functions inherited from UNetDriver
static ENGINE_API void AddReferencedObjects (UObject *InThis, FReferenceCollector &Collector)
 
static ENGINE_API bool IsAdaptiveNetUpdateFrequencyEnabled ()
 
static bool IsDormInitialStartupActor (AActor *Actor)
 
- Static Public Member Functions inherited from UObject
static COREUOBJECT_API void UpdateClassesExcludedFromDedicatedServer (const TArray< FString > &InClassNames, const TArray< FString > &InModulesNames)
 
static COREUOBJECT_API void UpdateClassesExcludedFromDedicatedClient (const TArray< FString > &InClassNames, const TArray< FString > &InModulesNames)
 
static COREUOBJECT_API bool CanCreateInCurrentContext (UObject *Template)
 
static COREUOBJECT_API void AddReferencedObjects (UObject *InThis, FReferenceCollector &Collector)
 
static COREUOBJECT_API const FNameSourceFileTagName ()
 
static COREUOBJECT_API UObjectGetArchetypeFromRequiredInfo (const UClass *Class, const UObject *Outer, FName Name, EObjectFlags ObjectFlags)
 
- Static Public Member Functions inherited from UObjectBaseUtility
static bool IsGarbageEliminationEnabled ()
 
static bool IsPendingKillEnabled ()
 
static void SetGarbageEliminationEnabled (bool bEnabled)
 
static COREUOBJECT_API void ReloadObjectsFromModifiedConfigSections (const class FConfigModificationTracker *ChangeTracker)
 
- Static Public Member Functions inherited from UObjectBase
static COREUOBJECT_API FString RemoveClassPrefix (const TCHAR *ClassName)
 
static void PrefetchClass (UObject *Object)
 
static void PrefetchOuter (UObject *Object)
 
- Static Public Attributes inherited from UNetDriver
static constexpr ERemoteFunctionSendPolicy Default = ERemoteFunctionSendPolicy::Default
 
static constexpr ERemoteFunctionSendPolicy ForceSend = ERemoteFunctionSendPolicy::ForceSend
 
static constexpr ERemoteFunctionSendPolicy ForceQueue = ERemoteFunctionSendPolicy::ForceQueue
 

Detailed Description

Simulated network driver for recording and playing back game sessions.

Constructor & Destructor Documentation

◆ UDemoNetDriver() [1/2]

UDemoNetDriver::UDemoNetDriver ( const FObjectInitializer ObjectInitializer)

◆ UDemoNetDriver() [2/2]

UDemoNetDriver::UDemoNetDriver ( FVTableHelper Helper)

◆ ~UDemoNetDriver()

UDemoNetDriver::~UDemoNetDriver ( )

Member Function Documentation

◆ AddEvent()

void UDemoNetDriver::AddEvent ( const FString &  Group,
const FString &  Meta,
const TArray< uint8 > &  Data 
)

◆ AddNonQueuedActorForScrubbing()

void UDemoNetDriver::AddNonQueuedActorForScrubbing ( AActor const *  Actor)

If a channel is associated with Actor, adds the channel's GUID to the list of GUIDs excluded from queuing bunches during scrubbing.

◆ AddNonQueuedGUIDForScrubbing()

void UDemoNetDriver::AddNonQueuedGUIDForScrubbing ( FNetworkGUID  InGUID)

Adds the channel's GUID to the list of GUIDs excluded from queuing bunches during scrubbing.

◆ AddOrUpdateEvent()

void UDemoNetDriver::AddOrUpdateEvent ( const FString &  EventName,
const FString &  Group,
const FString &  Meta,
const TArray< uint8 > &  Data 
)

◆ AddReplayTask()

void UDemoNetDriver::AddReplayTask ( FQueuedReplayTask NewTask)

◆ AddUserToReplay()

void UDemoNetDriver::AddUserToReplay ( const FString &  UserString)

Adds a join-in-progress user to the set of users associated with the currently recording replay (if any)

Parameters
UserStringa string that uniquely identifies the user, usually their FUniqueNetId

◆ ClearReplayTasks()

void UDemoNetDriver::ClearReplayTasks ( )

◆ ComparePropertyState()

bool UDemoNetDriver::ComparePropertyState ( const FDemoSavedPropertyState State) const

Compares the values of replicated properties stored in State with the current values of the object replicators. Logs and returns true if there were any differences.

◆ ConditionallyProcessPlaybackPackets()

bool UDemoNetDriver::ConditionallyProcessPlaybackPackets ( )

◆ ConditionallyReadDemoFrameIntoPlaybackPackets()

bool UDemoNetDriver::ConditionallyReadDemoFrameIntoPlaybackPackets ( FArchive Ar)

◆ ContinueListen()

bool UDemoNetDriver::ContinueListen ( FURL ListenURL)

Called when we are already recording but have traveled to a new map to start recording again

◆ DemoReplicateActor()

bool UDemoNetDriver::DemoReplicateActor ( AActor Actor,
UNetConnection Connection,
bool  bMustReplicate 
)
protected

◆ DoesSupportEncryption()

virtual bool UDemoNetDriver::DoesSupportEncryption ( ) const
inlineoverridevirtual

Whether or not this NetDriver supports encryption. Does not signify that encryption is actually enabled, nor setup by the PacketHandler.

Returns
Whether or not this NetDriver supports encryption.

Reimplemented from UNetDriver.

◆ EnumerateEvents()

void UDemoNetDriver::EnumerateEvents ( const FString &  Group,
const FEnumerateEventsCallback Delegate 
)

◆ EnumerateEventsForActiveReplay() [1/2]

void UDemoNetDriver::EnumerateEventsForActiveReplay ( const FString &  Group,
const FEnumerateEventsCallback Delegate 
)

◆ EnumerateEventsForActiveReplay() [2/2]

void UDemoNetDriver::EnumerateEventsForActiveReplay ( const FString &  Group,
const int32  UserIndex,
const FEnumerateEventsCallback Delegate 
)

◆ FinalizeFastForward()

void UDemoNetDriver::FinalizeFastForward ( const double  StartTime)

◆ FinishDestroy()

void UDemoNetDriver::FinishDestroy ( )
overridevirtual

Called to finish destroying the object. After UObject::FinishDestroy is called, the object's memory should no longer be accessed.

Warning
Because properties are destroyed here, Super::FinishDestroy() should always be called at the end of your child class's FinishDestroy() method, rather than at the beginning.

Reimplemented from UNetDriver.

◆ ForceNetUpdate()

void UDemoNetDriver::ForceNetUpdate ( AActor Actor)
overridevirtual

Reimplemented from UNetDriver.

◆ GetActiveReplayName()

const FString & UDemoNetDriver::GetActiveReplayName ( ) const
inline

Gets the actively recording or playback replay (stream) name. Note, this will be empty when not recording or playing back.

◆ GetActorForGUID()

AActor * UDemoNetDriver::GetActorForGUID ( FNetworkGUID  InGUID) const
overridevirtual

Returns the actor that corresponds to InGUID, if one can be found.

Reimplemented from UNetDriver.

◆ GetChannelsArePaused()

bool UDemoNetDriver::GetChannelsArePaused ( ) const
inline

◆ GetCurrentLevelIndex()

double UDemoNetDriver::GetCurrentLevelIndex ( ) const
inline

◆ GetDemoCurrentTime()

float UDemoNetDriver::GetDemoCurrentTime ( ) const
inline

Current record/playback position in seconds

◆ GetDemoCurrentTimeInMS()

uint32 UDemoNetDriver::GetDemoCurrentTimeInMS ( ) const
inline

◆ GetDemoFrameNum()

int32 UDemoNetDriver::GetDemoFrameNum ( ) const
inline

Current record/playback frame number

◆ GetDemoPath()

FString UDemoNetDriver::GetDemoPath ( ) const

◆ GetDemoSessionID()

const FString & UDemoNetDriver::GetDemoSessionID ( ) const
inline
Returns
the unique identifier for the lifetime of this object.

◆ GetDemoTotalTime()

float UDemoNetDriver::GetDemoTotalTime ( ) const
inline

Total time of demo in seconds

◆ GetDemoURL()

FString UDemoNetDriver::GetDemoURL ( ) const
inline

◆ GetExternalDataArrayForObject()

FReplayExternalDataArray * UDemoNetDriver::GetExternalDataArrayForObject ( UObject Object)

◆ GetGUIDForActor()

FNetworkGUID UDemoNetDriver::GetGUIDForActor ( const AActor InActor) const
overridevirtual

Returns the existing FNetworkGUID of InActor, if it has one.

Reimplemented from UNetDriver.

◆ GetLastCheckpointTime()

double UDemoNetDriver::GetLastCheckpointTime ( ) const
inline

◆ GetLastReplayFrameFidelity()

float UDemoNetDriver::GetLastReplayFrameFidelity ( ) const
inline

◆ GetLevelNameAndTimeList()

ENGINE_API const TArray< FLevelNameAndTime > & UDemoNetDriver::GetLevelNameAndTimeList ( )

◆ GetMaxDesiredRecordTimeMS()

float UDemoNetDriver::GetMaxDesiredRecordTimeMS ( ) const
inline

◆ GetNextQueuedTaskName()

FName UDemoNetDriver::GetNextQueuedTaskName ( ) const

◆ GetPlaybackCustomVersionVersion()

uint32 UDemoNetDriver::GetPlaybackCustomVersionVersion ( const FGuid VersionGuid) const
inline

◆ GetPlaybackDemoChangelist()

uint32 UDemoNetDriver::GetPlaybackDemoChangelist ( ) const
inline

◆ GetPlaybackDemoVersion()

uint32 UDemoNetDriver::GetPlaybackDemoVersion ( ) const
inline

◆ GetPlaybackEngineNetworkProtocolVersion()

uint32 UDemoNetDriver::GetPlaybackEngineNetworkProtocolVersion ( ) const
inline

◆ GetPlaybackGameNetworkProtocolVersion()

uint32 UDemoNetDriver::GetPlaybackGameNetworkProtocolVersion ( ) const
inline

◆ GetPlaybackReplayVersion()

FReplayCustomVersion::Type UDemoNetDriver::GetPlaybackReplayVersion ( ) const
inline

◆ GetReplayStreamer()

TSharedPtr< class INetworkReplayStreamer > UDemoNetDriver::GetReplayStreamer ( ) const
inline

◆ GetSocketSubsystem()

virtual class ISocketSubsystem * UDemoNetDriver::GetSocketSubsystem ( )
inlineoverridevirtual

◆ GetSpectatorController()

APlayerController * UDemoNetDriver::GetSpectatorController ( ) const
inline

◆ GotoTimeInSeconds()

void UDemoNetDriver::GotoTimeInSeconds ( const float  TimeInSeconds,
const FOnGotoTimeDelegate InOnGotoTimeDelegate = FOnGotoTimeDelegate() 
)

Scrubs playback to the given time.

Parameters
TimeInSeconds
InOnGotoTimeDelegateDelegate to call when finished. Will be called only once at most.

◆ HasDeltaCheckpoints()

bool UDemoNetDriver::HasDeltaCheckpoints ( ) const
inline

Returns whether or not this replay was recorded / is playing with delta checkpoints.

◆ HasGameSpecificFrameData()

bool UDemoNetDriver::HasGameSpecificFrameData ( ) const
inline

Returns whether or not this replay was recorded / is playing with the game specific per frame data feature.

◆ HasLevelStreamingFixes()

bool UDemoNetDriver::HasLevelStreamingFixes ( ) const
inline

Returns whether or not this replay was recorded / is playing with Level Streaming fixes.

◆ InitBase()

bool UDemoNetDriver::InitBase ( bool  bInitAsClient,
FNetworkNotify InNotify,
const FURL URL,
bool  bReuseAddressAndPort,
FString &  Error 
)
overridevirtual

Returns true if this net driver is valid for the current configuration. Safe to call on a CDO if necessary

Returns
true if available, false otherwise Common initialization between server and client connection setup
Parameters
bInitAsClientare we a client or server
InNotifynotification object to associate with the net driver
URLdestination
bReuseAddressAndPortwhether to allow multiple sockets to be bound to the same address/port
Erroroutput containing an error string on failure
Returns
true if successful, false otherwise (check Error parameter)

Reimplemented from UNetDriver.

◆ InitConnect()

bool UDemoNetDriver::InitConnect ( FNetworkNotify InNotify,
const FURL ConnectURL,
FString &  Error 
)
overridevirtual

◆ InitConnectInternal()

bool UDemoNetDriver::InitConnectInternal ( FString &  Error)

◆ InitDestroyedStartupActors()

void UDemoNetDriver::InitDestroyedStartupActors ( )
overridevirtual

Initialize the list of destroyed net startup actors from the current World

Reimplemented from UNetDriver.

◆ InitListen()

bool UDemoNetDriver::InitListen ( FNetworkNotify InNotify,
FURL ListenURL,
bool  bReuseAddressAndPort,
FString &  Error 
)
overridevirtual

◆ InternalCreateChannelByName()

UChannel * UDemoNetDriver::InternalCreateChannelByName ( const FName ChName)
overrideprotectedvirtual

Subclasses may override this to customize channel creation. Called by GetOrCreateChannel if the pool is exhausted and a new channel must be allocated.

Reimplemented from UNetDriver.

◆ IsActorPrioritizationEnabled()

bool UDemoNetDriver::IsActorPrioritizationEnabled ( ) const
inline

◆ IsAnyTaskPending()

bool UDemoNetDriver::IsAnyTaskPending ( ) const

◆ IsAvailable()

virtual bool UDemoNetDriver::IsAvailable ( ) const
inlineoverridevirtual

◆ IsFastForwarding()

bool UDemoNetDriver::IsFastForwarding ( ) const
inline

◆ IsFinalizingFastForward()

bool UDemoNetDriver::IsFinalizingFastForward ( ) const
inline

◆ IsLevelInitializedForActor()

bool UDemoNetDriver::IsLevelInitializedForActor ( const AActor InActor,
const UNetConnection InConnection 
) const
overridevirtual

Returns true if this actor is considered to be in a loaded level

Reimplemented from UNetDriver.

◆ IsLoadingCheckpoint()

bool UDemoNetDriver::IsLoadingCheckpoint ( ) const
inline

◆ IsNamedTaskInQueue()

bool UDemoNetDriver::IsNamedTaskInQueue ( const FName Name) const

◆ IsNetResourceValid()

virtual bool UDemoNetDriver::IsNetResourceValid ( void  )
inlineoverridevirtual
Returns
true if the net resource is valid or false if it should not be used

◆ IsPlaying()

bool UDemoNetDriver::IsPlaying ( ) const

◆ IsPlayingClientReplay()

bool UDemoNetDriver::IsPlayingClientReplay ( ) const

◆ IsRecording()

bool UDemoNetDriver::IsRecording ( ) const

◆ IsRecordingMapChanges()

bool UDemoNetDriver::IsRecordingMapChanges ( ) const
inline

◆ IsRecordingPaused()

bool UDemoNetDriver::IsRecordingPaused ( ) const

◆ IsRestoringStartupActors()

bool UDemoNetDriver::IsRestoringStartupActors ( ) const
inline

◆ IsSavingCheckpoint()

bool UDemoNetDriver::IsSavingCheckpoint ( ) const

Returns true if we're in the process of saving a checkpoint.

◆ IsServer()

bool UDemoNetDriver::IsServer ( ) const
overridevirtual
Returns
true if this netdriver is handling accepting connections

Reimplemented from UNetDriver.

◆ JumpToEndOfLiveReplay()

void UDemoNetDriver::JumpToEndOfLiveReplay ( )

◆ LowLevelGetNetworkNumber()

FString UDemoNetDriver::LowLevelGetNetworkNumber ( )
overridevirtual

Reimplemented from UNetDriver.

◆ LowLevelSend()

virtual void UDemoNetDriver::LowLevelSend ( TSharedPtr< const FInternetAddr Address,
void Data,
int32  CountBits,
FOutPacketTraits Traits 
)
inlineoverridevirtual

◆ NotifyActorChannelCleanedUp()

void UDemoNetDriver::NotifyActorChannelCleanedUp ( UActorChannel Channel,
EChannelCloseReason  CloseReason 
)
overridevirtual

Called when an actor channel is cleaned up for an actor.

Reimplemented from UNetDriver.

◆ NotifyActorChannelOpen()

void UDemoNetDriver::NotifyActorChannelOpen ( UActorChannel Channel,
AActor Actor 
)
overridevirtual

Called when an actor channel is remotely opened for an actor.

Reimplemented from UNetDriver.

◆ NotifyActorClientDormancyChanged()

void UDemoNetDriver::NotifyActorClientDormancyChanged ( AActor Actor,
ENetDormancy  OldDormancyState 
)
overridevirtual

Called after an actor channel is opened on a client when the actor was previously dormant.

Reimplemented from UNetDriver.

◆ NotifyActorDestroyed()

void UDemoNetDriver::NotifyActorDestroyed ( AActor Actor,
bool  IsSeamlessTravel = false,
EChannelCloseReason  CloseReason = EChannelCloseReason::Destroyed 
)
overridevirtual

Called when a spawned actor is destroyed.

Reimplemented from UNetDriver.

◆ NotifyActorLevelUnloaded()

void UDemoNetDriver::NotifyActorLevelUnloaded ( AActor TheActor)
overridevirtual

Called when an actor is being unloaded during a seamless travel or do due level streaming The main point is that it calls the normal NotifyActorDestroyed to destroy the channel on the server but also removes the Actor reference, sets broken flag, and cleans up actor class references on clients.

Reimplemented from UNetDriver.

◆ NotifyActorTornOff()

void UDemoNetDriver::NotifyActorTornOff ( AActor Actor)
overridevirtual

Reimplemented from UNetDriver.

◆ NotifyDemoPlaybackError()

PRAGMA_ENABLE_DEPRECATION_WARNINGS void UDemoNetDriver::NotifyDemoPlaybackError ( const UE::Net::TNetResult< EReplayResult > &  Result)
protected

◆ NotifyDemoPlaybackFailure()

PRAGMA_DISABLE_DEPRECATION_WARNINGS void UDemoNetDriver::NotifyDemoPlaybackFailure ( EDemoPlayFailure::Type  FailureType)
protected

◆ NotifyDemoRecordFailure()

void UDemoNetDriver::NotifyDemoRecordFailure ( const UE::Net::TNetResult< EReplayResult > &  Result)
protected

◆ NotifyGotoTimeFinished()

void UDemoNetDriver::NotifyGotoTimeFinished ( bool  bWasSuccessful)

Called when a "go to time" operation is completed.

◆ NotifyStreamingLevelUnload()

void UDemoNetDriver::NotifyStreamingLevelUnload ( ULevel InLevel)
overridevirtual

Reimplemented from UNetDriver.

◆ OnSeamlessTravelStartDuringRecording()

void UDemoNetDriver::OnSeamlessTravelStartDuringRecording ( const FString &  LevelName)

Called when seamless travel begins when recording a replay.

◆ PauseChannels()

void UDemoNetDriver::PauseChannels ( const bool  bPause)

◆ PauseRecording()

void UDemoNetDriver::PauseRecording ( const bool  bInPauseRecording)

◆ PostTickFlush()

void UDemoNetDriver::PostTickFlush ( )
overridevirtual

PostTick actions

Reimplemented from UNetDriver.

◆ ProcessAllPlaybackPackets()

void UDemoNetDriver::ProcessAllPlaybackPackets ( )

◆ ProcessLocalClientPackets()

virtual void UDemoNetDriver::ProcessLocalClientPackets ( )
inlineoverridevirtual

Process any local talker packets that need to be sent to the server

Reimplemented from UNetDriver.

◆ ProcessLocalServerPackets()

virtual void UDemoNetDriver::ProcessLocalServerPackets ( )
inlineoverridevirtual

◆ ProcessPacket() [1/2]

bool UDemoNetDriver::ProcessPacket ( const FPlaybackPacket PlaybackPacket)
inline

◆ ProcessPacket() [2/2]

bool UDemoNetDriver::ProcessPacket ( const uint8 Data,
int32  Count 
)

◆ ProcessRemoteFunction()

void UDemoNetDriver::ProcessRemoteFunction ( class AActor Actor,
class UFunction Function,
void Parms,
struct FOutParmRec OutParms,
struct FFrame Stack,
class UObject SubObject = nullptr 
)
overridevirtual

Process a remote function call on some actor destined for a remote location

Parameters
Actoractor making the function call
Functionfunction definition called
Parmsparameters in a UObject memory layout
OutParmsout parameter information (irrelevant for RPC's)
Stackstack frame the UFunction is called in
SubObjectoptional: sub object to actually call function on

Reimplemented from UNetDriver.

◆ ProcessReplayTasks()

bool UDemoNetDriver::ProcessReplayTasks ( )

◆ ProcessSeamlessTravel()

void UDemoNetDriver::ProcessSeamlessTravel ( int32  LevelIndex)
protected

◆ QueueNetStartupActorForRollbackViaDeletion()

void UDemoNetDriver::QueueNetStartupActorForRollbackViaDeletion ( AActor Actor)
virtual

Call this function during playback to track net startup actors that need a hard reset when scrubbing, which is done by destroying and then re-spawning

◆ ReadDemoFrameIntoPlaybackPackets() [1/2]

bool UDemoNetDriver::ReadDemoFrameIntoPlaybackPackets ( FArchive Ar)
inline

◆ ReadDemoFrameIntoPlaybackPackets() [2/2]

bool UDemoNetDriver::ReadDemoFrameIntoPlaybackPackets ( FArchive Ar,
TArray< FPlaybackPacket > &  Packets,
const bool  bForLevelFastForward,
float OutTime 
)

◆ RemoveSplitscreenViewer()

bool UDemoNetDriver::RemoveSplitscreenViewer ( APlayerController RemovePlayer,
bool  bMarkOwnerForDeletion = false 
)

Removes a splitscreen demo viewer and cleans up its connection.

Parameters
RemovePlayerThe PlayerController to remove from the replay system
bMarkOwnerForDeletionIf this function should handle deleting the given player as well.
Returns
If the player was successfully removed from the replay.

◆ ReplayStreamingReady()

void UDemoNetDriver::ReplayStreamingReady ( const FStartStreamingResult Result)

◆ RequestCheckpoint()

void UDemoNetDriver::RequestCheckpoint ( )

◆ RequestEventData()

void UDemoNetDriver::RequestEventData ( const FString &  EventID,
const FRequestEventDataCallback Delegate 
)

◆ RequestEventDataForActiveReplay() [1/2]

void UDemoNetDriver::RequestEventDataForActiveReplay ( const FString &  EventID,
const FRequestEventDataCallback Delegate 
)

◆ RequestEventDataForActiveReplay() [2/2]

void UDemoNetDriver::RequestEventDataForActiveReplay ( const FString &  EventID,
const int32  UserIndex,
const FRequestEventDataCallback Delegate 
)

◆ RequestEventGroupDataForActiveReplay() [1/2]

void UDemoNetDriver::RequestEventGroupDataForActiveReplay ( const FString &  Group,
const FRequestEventGroupDataCallback Delegate 
)

Retrieve data for all events matching the requested group, and call the passed in delegate on completion.

◆ RequestEventGroupDataForActiveReplay() [2/2]

void UDemoNetDriver::RequestEventGroupDataForActiveReplay ( const FString &  Group,
const int32  UserIndex,
const FRequestEventGroupDataCallback Delegate 
)

◆ ResetDemoState()

void UDemoNetDriver::ResetDemoState ( )

◆ RespawnNecessaryNetStartupActors()

void UDemoNetDriver::RespawnNecessaryNetStartupActors ( TArray< AActor * > &  SpawnedActors,
ULevel Level = nullptr 
)

◆ RestoreConnectionPostScrub()

void UDemoNetDriver::RestoreConnectionPostScrub ( APlayerController PC,
UNetConnection NetConnection 
)

Restores the given player controller so that it properly points to the given NetConnection after scrubbing when viewing a replay.

Parameters
PCThe PlayerController to set up the given NetConnection for
NetConnectionThe NetConnection to be assigned to the player controller.

◆ SavePropertyState()

FDemoSavedPropertyState UDemoNetDriver::SavePropertyState ( ) const

Returns the replicated state of every object on a current actor channel. Use the result to compare in DiffReplicatedProperties.

◆ Serialize()

void UDemoNetDriver::Serialize ( FArchive Ar)
overridevirtual

Handles reading, writing, and reference collecting using FArchive. This implementation handles all FProperty serialization, but can be overridden for native variables.

Reimplemented from UNetDriver.

◆ SetActorPrioritizationEnabled()

void UDemoNetDriver::SetActorPrioritizationEnabled ( const bool  bInPrioritizeActors)
inline

Enable or disable prioritization of actors for recording.

◆ SetAnalyticsProvider()

void UDemoNetDriver::SetAnalyticsProvider ( TSharedPtr< IAnalyticsProvider InProvider)
overridevirtual

Sets the analytics provider

Reimplemented from UNetDriver.

◆ SetCheckpointSaveMaxMSPerFrame()

void UDemoNetDriver::SetCheckpointSaveMaxMSPerFrame ( const float  InCheckpointSaveMaxMSPerFrame)
inline

Sets CheckpointSaveMaxMSPerFrame.

◆ SetCurrentLevelIndex()

void UDemoNetDriver::SetCurrentLevelIndex ( int32  Index)
inline

◆ SetDemoCurrentTime()

void UDemoNetDriver::SetDemoCurrentTime ( float  CurrentTime)
inline

◆ SetDemoTotalTime()

void UDemoNetDriver::SetDemoTotalTime ( float  TotalTime)
inline

◆ SetExternalDataForObject()

bool UDemoNetDriver::SetExternalDataForObject ( UObject OwningObject,
const uint8 Src,
const int32  NumBits 
)

◆ SetLastCheckpointTime()

void UDemoNetDriver::SetLastCheckpointTime ( double  CheckpointTime)
inline

◆ SetMaxDesiredRecordTimeMS()

void UDemoNetDriver::SetMaxDesiredRecordTimeMS ( const float  InMaxDesiredRecordTimeMS)
inline

Sets the desired maximum recording time in milliseconds.

◆ SetPlayingPlaylist()

void UDemoNetDriver::SetPlayingPlaylist ( TSharedPtr< struct FReplayPlaylistTracker InPlaylistTracker)
inline

◆ SetSpectatorController()

void UDemoNetDriver::SetSpectatorController ( APlayerController PC)

Sets the main spectator controller to be used and adds them to the spectator control array

Parameters
PCThe PlayerController to set the main controller param to.

◆ SetViewerOverride()

void UDemoNetDriver::SetViewerOverride ( APlayerController *const  InViewerOverride)
inline

Sets the controller to use as the viewpoint for recording prioritization purposes.

◆ SetWorld()

void UDemoNetDriver::SetWorld ( class UWorld InWorld)
overridevirtual

Associate a world with this net driver. Disassociates any previous world first.

Parameters
InWorldthe world to associate with this netdriver

Reimplemented from UNetDriver.

◆ ShouldClientDestroyTearOffActors()

bool UDemoNetDriver::ShouldClientDestroyTearOffActors ( ) const
overridevirtual

Returns true if the client should destroy immediately any actor that becomes torn-off

Reimplemented from UNetDriver.

◆ ShouldForwardFunction()

bool UDemoNetDriver::ShouldForwardFunction ( AActor Actor,
UFunction Function,
void Parms 
) const
overridevirtual

Returns true if this network driver will forward a received remote function call to other active net drivers.

Reimplemented from UNetDriver.

◆ ShouldIgnoreRPCs()

bool UDemoNetDriver::ShouldIgnoreRPCs ( ) const
overridevirtual

Returns whether or not RPCs processed by this driver should be ignored.

Reimplemented from UNetDriver.

◆ ShouldQueueBunchesForActorGUID()

bool UDemoNetDriver::ShouldQueueBunchesForActorGUID ( FNetworkGUID  InGUID) const
overridevirtual

Returns true if actor channels with InGUID should queue up bunches, even if they wouldn't otherwise be queued.

Reimplemented from UNetDriver.

◆ ShouldReceiveRepNotifiesForObject()

bool UDemoNetDriver::ShouldReceiveRepNotifiesForObject ( UObject Object) const
overridevirtual

Returns true if RepNotifies should be checked and generated when receiving properties for the given object.

Reimplemented from UNetDriver.

◆ ShouldReplicateActor()

bool UDemoNetDriver::ShouldReplicateActor ( AActor Actor) const
overridevirtual

Returns true if this network driver will replicate the given actor.

Reimplemented from UNetDriver.

◆ ShouldReplicateFunction()

bool UDemoNetDriver::ShouldReplicateFunction ( AActor Actor,
UFunction Function 
) const
overridevirtual

Returns true if this network driver will handle the remote function call for the given actor.

Reimplemented from UNetDriver.

◆ ShouldSkipRepNotifies()

bool UDemoNetDriver::ShouldSkipRepNotifies ( ) const
overridevirtual

Returns whether or not properties that are replicating using this driver should not call RepNotify functions.

Reimplemented from UNetDriver.

◆ ShouldTickFlushAsyncEndOfFrame()

bool UDemoNetDriver::ShouldTickFlushAsyncEndOfFrame ( ) const

Returns true if TickFlush can be called in parallel with the Slate tick.

◆ SkipTime()

void UDemoNetDriver::SkipTime ( const float  InTimeToSkip)

◆ SkipTimeInternal()

void UDemoNetDriver::SkipTimeInternal ( const float  SecondsToSkip,
const bool  InFastForward,
const bool  InIsForCheckpoint 
)

◆ SpawnDemoRecSpectator()

void UDemoNetDriver::SpawnDemoRecSpectator ( UNetConnection Connection,
const FURL ListenURL 
)

◆ SpawnSplitscreenViewer()

bool UDemoNetDriver::SpawnSplitscreenViewer ( ULocalPlayer NewPlayer,
UWorld InWorld 
)

Creates a new splitscreen replay viewer.

Parameters
NewPlayerThe LocalPlayer in control of this new viewer
InWorldThe world to spawn the new viewer in.
Returns
If the viewer was able to be created or not.

◆ StopDemo()

void UDemoNetDriver::StopDemo ( )

◆ TickDemoPlayback()

void UDemoNetDriver::TickDemoPlayback ( float  DeltaSeconds)

◆ TickDemoRecord()

void UDemoNetDriver::TickDemoRecord ( float  DeltaSeconds)

◆ TickDispatch()

void UDemoNetDriver::TickDispatch ( float  DeltaTime)
overridevirtual

handle time update: read and process packets

Reimplemented from UNetDriver.

◆ TickFlush()

void UDemoNetDriver::TickFlush ( float  DeltaSeconds)
overridevirtual

ReplicateActors and Flush

Reimplemented from UNetDriver.

◆ TickFlushAsyncEndOfFrame()

void UDemoNetDriver::TickFlushAsyncEndOfFrame ( float  DeltaSeconds)

Called by a task thread if the engine is doing async end of frame tasks in parallel with Slate.

◆ WriteDemoFrameFromQueuedDemoPackets()

void UDemoNetDriver::WriteDemoFrameFromQueuedDemoPackets ( FArchive Ar,
TArray< FQueuedDemoPacket > &  QueuedPackets,
float  FrameTime,
EWriteDemoFrameFlags  Flags 
)

◆ WritePacket()

void UDemoNetDriver::WritePacket ( FArchive Ar,
uint8 Data,
int32  Count 
)

Friends And Related Symbol Documentation

◆ FPendingTaskHelper

friend class FPendingTaskHelper
friend

◆ FQueuedReplayTask

friend class FQueuedReplayTask
friend

◆ UDemoNetConnection

friend class UDemoNetConnection
friend

Member Data Documentation

◆ AccumulatedRecordTime

double UDemoNetDriver::AccumulatedRecordTime

Internal debug timing/tracking

◆ bIsWaitingForHeaderDownload

uint8 UDemoNetDriver::bIsWaitingForHeaderDownload
protected

◆ bIsWaitingForStream

uint8 UDemoNetDriver::bIsWaitingForStream
protected

◆ LastRecordAvgFlush

double UDemoNetDriver::LastRecordAvgFlush

◆ MaxArchiveReadPos

int64 UDemoNetDriver::MaxArchiveReadPos
protected

◆ MaxRecordTime

double UDemoNetDriver::MaxRecordTime

◆ PendingRecordFailure

TOptional<UE::Net::TNetResult<EReplayResult> > UDemoNetDriver::PendingRecordFailure
protected

◆ PlaybackPackets

TArray<FPlaybackPacket> UDemoNetDriver::PlaybackPackets

PlaybackPackets are used to buffer packets up when we read a demo frame, which we can then process when the time is right

◆ QueuedPacketsBeforeTravel

TArray<FQueuedDemoPacket> UDemoNetDriver::QueuedPacketsBeforeTravel
protected

◆ RecordCountSinceFlush

int32 UDemoNetDriver::RecordCountSinceFlush

The documentation for this class was generated from the following files: