Navigation
API > API/Plugins > API/Plugins/ReplicationGraph
References
| Module | ReplicationGraph |
| Header | /Engine/Plugins/Runtime/ReplicationGraph/Source/Public/ReplicationGraphTypes.h |
| Include | #include "ReplicationGraphTypes.h" |
Syntax
struct FGlobalActorReplicationInfoMap
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddDependentActor
(
AActor* Parent, |
AddDependentActor makes a dependent actor (the child) considered for replication whenever the parent actor is replicated to a client. | |
| void | CountBytes
(
FArchive& Ar |
||
| TMap< FActorRepListType, TUniquePtr< FGlobalActorReplicationInfo > >::TConstIterator | |||
| TMap< FActorRepListType, TUniquePtr< FGlobalActorReplicationInfo > >::TIterator | |||
| TMap< FObjectKey, FClassReplicationInfo >::TIterator | |||
| FGlobalActorReplicationInfo * | Find
(
const FActorRepListType& Actor |
Finds data associated with the actor but does not create if its not there yet. | |
| FGlobalActorReplicationInfo & | Get
(
const FActorRepListType& Actor, |
Same as above but outputs bool if it was created. This is uncommonly called. Don't want to slow down the frequently called version. | |
| FGlobalActorReplicationInfo & | Get
(
const FActorRepListType& Actor |
Returns data associated with the actor. Will create it with default class values if necessary | |
| FClassReplicationInfo & | GetClassInfo
(
UClass* Class |
Returns ClassInfo for a given class. | |
| int32 | Num () |
||
| int32 | Remove
(
const FActorRepListType& RemovedActor |
Removes actor data from map | |
| void | RemoveAllActorDependencies
(
AActor* MainActor, |
||
| void | RemoveAllActorDependencies
(
AActor* MainActor |
||
| void | RemoveDependentActor
(
AActor* Parent, |
RemoveDependentActor will remove the given child actor from the parent's dependent list. | |
| void | |||
| void | SetClassInfo
(
UClass* InClass, |
Sets class info for a given class and its derived classes if desired. | |
| void | SetInitClassInfoFunc
(
TFunction< bool(UClass*, FClassReplicationInfo&)> Func |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EWarnFlag |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | RemoveAllActorDependancies
(
AActor* MainActor |
Fixed a typo. Use RemoveAllActorDependencies instead |