RealDocs

UAttributeSet::RegisterReplicationFragments

function GameplayAbilities Since unknown
#include "AttributeSet.h"
Access: public Specifiers: virtualoverride

Description

Registers this attribute set's replication fragments with the Iris replication system, overriding UObject's default implementation.

Caveats & Gotchas

  • Only relevant when the Iris replication system is enabled; projects on the legacy replication system never call this.
  • Custom attribute sets that add their own replicated properties generally don't need to override this directly — it's part of the low-level Iris integration UAttributeSet already implements for its UPROPERTY-declared attributes.

Signature

virtual void RegisterReplicationFragments(UE::Net::FFragmentRegistrationContext& Context, UE::Net::EFragmentRegistrationFlags RegistrationFlags) override

Parameters

Name Type Description Default
Context UE::Net::FFragmentRegistrationContext& Registration context supplied by the Iris replication system to register fragments against.
RegistrationFlags UE::Net::EFragmentRegistrationFlags Flags controlling how replication fragments are registered.

Return Type

void

Example

Signature as declared on UAttributeSet C++
// UAttributeSet already implements this for its own UPROPERTY attributes;
// most game code never needs to override it directly.
virtual void RegisterReplicationFragments(UE::Net::FFragmentRegistrationContext& Context, UE::Net::EFragmentRegistrationFlags RegistrationFlags) override;

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.