UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FNetworkObjectList::FSubObjectChannelReference Struct Reference

#include <NetworkObjectList.h>

Public Member Functions

bool operator== (const FSubObjectChannelReference &rhs) const
 
bool operator== (const TWeakObjectPtr< UObject > &rhs) const
 
bool IsTearOff () const
 
bool IsDelete () const
 
bool IsActive () const
 
 FSubObjectChannelReference ()=default
 
 FSubObjectChannelReference (const TWeakObjectPtr< UObject > &InSubObject)
 

Public Attributes

TWeakObjectPtr< UObjectSubObjectPtr
 
uint16 ChannelRefCount = 0
 
ENetSubObjectStatus Status = ENetSubObjectStatus::Active
 

Friends

uint32 GetTypeHash (const FSubObjectChannelReference &SubObjChannelRef)
 

Detailed Description

Keeps track of the number of channels that have replicated a subobject. When the status is not Active anymore it is expected of existing references to be gradually removed as the actor replicates itself to each connection.

Constructor & Destructor Documentation

◆ FSubObjectChannelReference() [1/2]

FNetworkObjectList::FSubObjectChannelReference::FSubObjectChannelReference ( )
default

◆ FSubObjectChannelReference() [2/2]

FNetworkObjectList::FSubObjectChannelReference::FSubObjectChannelReference ( const TWeakObjectPtr< UObject > &  InSubObject)
inlineexplicit

Member Function Documentation

◆ IsActive()

bool FNetworkObjectList::FSubObjectChannelReference::IsActive ( ) const
inline

◆ IsDelete()

bool FNetworkObjectList::FSubObjectChannelReference::IsDelete ( ) const
inline

◆ IsTearOff()

bool FNetworkObjectList::FSubObjectChannelReference::IsTearOff ( ) const
inline

◆ operator==() [1/2]

bool FNetworkObjectList::FSubObjectChannelReference::operator== ( const FSubObjectChannelReference rhs) const
inline

◆ operator==() [2/2]

bool FNetworkObjectList::FSubObjectChannelReference::operator== ( const TWeakObjectPtr< UObject > &  rhs) const
inline

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FSubObjectChannelReference SubObjChannelRef)
friend

Member Data Documentation

◆ ChannelRefCount

uint16 FNetworkObjectList::FSubObjectChannelReference::ChannelRefCount = 0

Number of channels that replicated the subobject

◆ Status

ENetSubObjectStatus FNetworkObjectList::FSubObjectChannelReference::Status = ENetSubObjectStatus::Active

Current status of the subobject

◆ SubObjectPtr

TWeakObjectPtr<UObject> FNetworkObjectList::FSubObjectChannelReference::SubObjectPtr

The replicated subobject


The documentation for this struct was generated from the following file: