UAttributeSet::SetNetAddressable
#include "AttributeSet.h"
Access: public
Description
Marks this AttributeSet so it can be identified by name, rather than by index, when replicated as part of a fast array or subobject list.
Caveats & Gotchas
- • Must be called before the AttributeSet starts replicating (typically in its constructor or during ability actor info initialization); calling it late won't retroactively fix already-replicated references.
- • Sets the internal bNetAddressable flag read by IsNameStableForNetworking(); if you override that function yourself without checking the flag, calling SetNetAddressable() has no effect.
Signature
void SetNetAddressable() Return Type
void Example
Mark a spawned AttributeSet net addressable C++
UMyHealthSet::UMyHealthSet()
{
SetNetAddressable();
} Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?