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

#include <UpdateLevelVisibilityLevelInfo.h>

Public Member Functions

 GENERATED_BODY ()
 
 FUpdateLevelVisibilityLevelInfo ()
 
ENGINE_API FUpdateLevelVisibilityLevelInfo (const class ULevel *const Level, const bool bInIsVisible, const bool bInTryMakeVisible=false)
 
ENGINE_API bool NetSerialize (FArchive &Ar, UPackageMap *PackageMap, bool &bOutSuccess)
 

Public Attributes

FName PackageName
 
FName FileName
 
FNetLevelVisibilityTransactionId VisibilityRequestId
 
uint32 bIsVisible: 1
 
uint32 bTryMakeVisible: 1
 
uint32 bSkipCloseOnError: 1
 

Detailed Description

This structure is used to pass arguments to ServerUpdateLevelVisibilty() and ServerUpdateMultipleLevelsVisibility() server RPC functions

Constructor & Destructor Documentation

◆ FUpdateLevelVisibilityLevelInfo() [1/2]

FUpdateLevelVisibilityLevelInfo::FUpdateLevelVisibilityLevelInfo ( )
inline

◆ FUpdateLevelVisibilityLevelInfo() [2/2]

ENGINE_API FUpdateLevelVisibilityLevelInfo::FUpdateLevelVisibilityLevelInfo ( const class ULevel *const  Level,
const bool  bInIsVisible,
const bool  bInTryMakeVisible = false 
)
Parameters
LevelLevel to pull PackageName and FileName from.
bInIsVisibleDefault value for bIsVisible.
bInTryMakeVisibleWhether the level is trying to be made visible or not.

Member Function Documentation

◆ GENERATED_BODY()

FUpdateLevelVisibilityLevelInfo::GENERATED_BODY ( )

◆ NetSerialize()

bool FUpdateLevelVisibilityLevelInfo::NetSerialize ( FArchive Ar,
UPackageMap PackageMap,
bool bOutSuccess 
)

Member Data Documentation

◆ bIsVisible

uint32 FUpdateLevelVisibilityLevelInfo::bIsVisible

The new visibility state for this level.

◆ bSkipCloseOnError

uint32 FUpdateLevelVisibilityLevelInfo::bSkipCloseOnError

Skip connection close if level can't be found (not net serialized)

◆ bTryMakeVisible

uint32 FUpdateLevelVisibilityLevelInfo::bTryMakeVisible

Whether the level is in the state of making visible and waits for server to acknowledge.

◆ FileName

FName FUpdateLevelVisibilityLevelInfo::FileName

The name / path of the asset file for the level whose status changed.

◆ PackageName

FName FUpdateLevelVisibilityLevelInfo::PackageName

The name of the package for the level whose status changed.

◆ VisibilityRequestId

FNetLevelVisibilityTransactionId FUpdateLevelVisibilityLevelInfo::VisibilityRequestId

Identifies this visibility request when communicating with server


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