Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Net
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Net/DataReplication.h |
| Include | #include "Net/DataReplication.h" |
Syntax
class FObjectReplicator
Remarks
Represents an object that is currently being replicated or handling RPCs.
| NetGUID ObjRef |
|---|
| Properties... |
| RPCs... |
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bForceUpdateUnmapped | True if we need to do an unmapped check next frame. | |
| uint32: 1 | bHasReplicatedProperties | Whether or not we've already replicated properties this frame. | |
| uint32: 1 | bLastUpdateEmpty | True if last update (ReplicateActor) produced no replicated properties | |
| uint32: 1 | bOpenAckCalled | Whether or not the Actor Channel on which we're replicating has been Opened / Acked by the receiver. | |
| TSharedPtr< class FReplicationChangelistMgr > | ChangelistMgr | ||
| TUniquePtr< FRepState > | CheckpointRepState | ||
| UNetConnection * | Connection | Connection this replicator was created on. | |
| TObjectPtr< UClass > | ObjectClass | ||
| FNetworkGUID | ObjectNetGUID | Net GUID for the object we're replicating. | |
| UObject * | ObjectPtr | ||
| UActorChannel * | OwningChannel | The Actor Channel that we're replicating on. This expected to be owned by Connection. | |
| TArray< FRPCPendingLocalCall > | PendingLocalRPCs | Information on RPCs that have been received but not yet executed | |
| TSet< FNetworkGUID > | ReferencedGuids | ||
| TArray< FRPCCallInfo > | RemoteFuncInfo | Meta information on pending net RPCs (to be sent) | |
| FOutBunch * | RemoteFunctions | ||
| TSharedPtr< FRepLayout > | RepLayout | ||
| TUniquePtr< FRepState > | RepState | ||
| int32 | TrackedGuidMemoryBytes | The amount of memory (in bytes) that we're using to track Unmapped GUIDs. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CallRepNotifies
(
bool bSkipIfChannelHasQueuedBunches |
||
| bool | CanSkipUpdate
(
FReplicationFlags Flags |
||
| void | CleanUp () |
||
| void | CountBytes
(
FArchive& Ar |
||
| void | |||
| UObject * | GetObject () |
||
| TWeakObjectPtr< UObject > | |||
| void | InitRecentProperties
(
uint8* Source |
Recent/dirty related functionsUtility function to make a copy of the net properties | |
| void | InitWithObject
(
UObject* InObject, |
||
| bool | |||
| bool | MoveMappedObjectToUnmapped
(
const FNetworkGUID& GUID |
||
| void | |||
| void | |||
| void | PostSendBunch
(
FPacketIdRange& PacketRange, |
||
| void | |||
| void | QueuePropertyRepNotify
(
UObject* Object, |
||
| void | QueueRemoteFunctionBunch
(
UFunction* Func, |
||
| bool | ReadyForDormancy
(
bool bDebug |
||
| bool | ReceivedBunch
(
FNetBitReader& Bunch, |
||
| void | ReceivedNak
(
int32 NakPacketId |
Packet was dropped | |
| bool | ReceivedRPC
(
FNetBitReader& Reader, |
||
| void | |||
| void | ReplicateCustomDeltaProperties
(
FNetBitWriter& Bunch, |
||
| bool | ReplicateProperties
(
FOutBunch& Bunch, |
||
| bool | ReplicateProperties
(
FOutBunch& Bunch, |
||
| bool | ReplicateProperties_r
(
FOutBunch& Bunch, |
Replicates properties to the Bunch. Returns true if it wrote anything | |
| void | |||
| bool | SendCustomDeltaProperty
(
UObject* InObject, |
||
| void | |||
| void | |||
| void | StartReplicating
(
UActorChannel* InActorChannel |
||
| void | StopReplicating
(
UActorChannel* InActorChannel |
||
| void | |||
| void | UpdateUnmappedObjects
(
bool& bOutHasMoreUnmapped |
||
| bool | ValidateAgainstState
(
const UObject* ObjectState |
Takes Data, and compares against shadow state to log differences | |
| void | WritePropertyHeaderAndPayload
(
UObject* Object, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FRPCCallInfo | |||
| FRPCPendingLocalCall |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ReplicateCustomDeltaProperties
(
FNetBitWriter& Bunch, |
Now takes an additional out param |