RealDocs

UAttributeSet::IsNameStableForNetworking

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

Description

Returns true when this AttributeSet was marked net addressable via SetNetAddressable(), telling the networking system it can be referenced by a stable name instead of an index.

Caveats & Gotchas

  • Return value depends entirely on the bNetAddressable flag set by SetNetAddressable(); if that's never called, this always returns false.
  • This is a UObject networking override, not something you'd normally call directly; the replication system queries it internally.

Signature

virtual bool IsNameStableForNetworking() const override

Return Type

bool

Example

Enable stable naming for replication C++
UMyHealthSet::UMyHealthSet()
{
    SetNetAddressable();
}

// IsNameStableForNetworking() now returns true for this instance

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.