AActor::HasLocalNetOwner

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

Windows
MacOS
Linux

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 HasLocalNetOwner() const

Remarks

Does this actor have a locally controlled 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