UObject::NeedsLoadForServer

Called during saving to determine the load flags to save with the object.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h

Include

#include "UObject/Object.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp

Syntax

virtual bool NeedsLoadForServer() const

Remarks

Called during saving to determine the load flags to save with the object. If false, this object will be discarded on servers

Returns

true if this object should be loaded on servers