AActor::HasNetOwner

Does this actor have an owner responsible for replication? ([APlayerController](API\Runtime\Engine\GameFramework\APlayerController) typically)

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h

Include

#include "GameFramework/Actor.h"

Source

/Engine/Source/Runtime/Engine/Private/Actor.cpp

Syntax

virtual bool HasNetOwner() const

Remarks

Does this actor have an owner responsible for replication? (APlayerController typically)

Returns

true if this actor can call RPCs or false if no such owner chain exists

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss