Navigation
API > API/Runtime > API/Runtime/IrisCore
A reference to a network addressable object.
| Name | FNetObjectReference |
| Type | class |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/Core/NetObjectReference.h |
| Include Path | #include "Iris/Core/NetObjectReference.h" |
Syntax
class FNetObjectReference
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Iris/Core/NetObjectReference.h | |||
FNetObjectReference
(
FNetRefHandle Handle |
Iris/Core/NetObjectReference.h | ||
FNetObjectReference
(
FNetRefHandle InHandle, |
Iris/Core/NetObjectReference.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PathToken | FNetToken | Iris/Core/NetObjectReference.h | ||
| RefHandle | FNetRefHandle | Iris/Core/NetObjectReference.h | ||
| Traits | ENetObjectReferenceTraits | Iris/Core/NetObjectReference.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanBeExported() |
Returns whether the object reference can be exported. | Iris/Core/NetObjectReference.h | |
FNetToken GetPathToken() |
Returns the NetToken part of the object reference. | Iris/Core/NetObjectReference.h | |
FNetRefHandle GetRefHandle() |
Returns the NetRefHandle part of the object reference. | Iris/Core/NetObjectReference.h | |
bool IsValid() |
Returns whether the reference points to a valid object. | Iris/Core/NetObjectReference.h | |
FString ToString() |
Returns a human readable string representing the object reference, for debugging purposes. | Iris/Core/NetObjectReference.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FNetObjectReference& Other |
Returns whether this reference doesn't point to the same network addressable objects as some other reference. | Iris/Core/NetObjectReference.h | |
bool operator==
(
const FNetObjectReference& Other |
Returns whether this reference points to the same network addressable objects as some other reference. | Iris/Core/NetObjectReference.h |