/Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationState/ReplicationStateDescriptor.h
A ReplicationState is our replication primitive, all members of a ReplicationState has the same high level conditional, i.e. connection level, IsInit, and has the same owner filtering on the block level might be Initial, Connection, Owner Within a ReplicationState we do we also support per member conditionals
struct FReplicationStateDescriptor
constUScriptSt...
BaseStruct
Non-null for derived struct descriptors.
uint16
ChangeMaskBitCount
How many bits do we need for our tracking of dirty changes.
uint32
ChangeMasksExternalOffset
This is the offset to where we store data for changemasks in the external state.
ConstructReplic...
ConstructReplicationState
Function to construct external state representation in a preallocated buffer.
CreateAndRegist...
CreateAndRegisterReplicationFragmentFunction
Function used to construct custom replication fragments.
constFNetDebug...
DebugName
Optional debug info.
const uint8 ...
DefaultStateBuffer
Pointer to default state buffer, must be explicitly destroyed if set since it might contain dynamic data.
FReplicationSta...
DescriptorIdentifier
We need to assign a unique key that is stable between server and client (name hash of class + state type for now)
DestructReplica...
DestructReplicationState
Function to destruct external state representation.
uint16
ExternalAlignment
uint32
ExternalSize
uint16
FunctionCount
uint16
InternalAlignment
uint32
InternalSize
constFReplicat...
MemberChangeMaskDescriptors
uint16
MemberCount
constFReplicat...
MemberDebugDescriptors
constFReplicat...
MemberDescriptors
constFReplicat...
MemberFunctionDescriptors
constFReplicat...
MemberLifetimeConditionDescriptors
Non-null if trait HasLifetimeConditionals is set.
constFProperty...
MemberProperties
This should possibly be moved to its own external descriptor as we do not want to rely on UProperties if we can.
constFReplicat...
MemberPropertyDescriptors
Additional data associated with applying state data for properties We keep this in a separate array as we might only need this if we can receive data
constFReplicat...
MemberReferenceDescriptors
constFReplicat...
MemberRepIndexToMemberIndexDescriptors
constFReplicat...
MemberSerializerDescriptors
constFReplicat...
MemberTagDescriptors
constFReplicat...
MemberTraitsDescriptors
uint16
ObjectReferenceCount
std::atomic< in...
RefCount
uint16
RepIndexCount
How many RepIndex to MemberIndex entries there are.
uint16
TagCount
EReplicationSta...
Traits