Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerController
Description
Called when the client adds/removes a streamed level. This version of the function allows you to pass the state of multiple levels at once, to reduce the number of RPC events that will be sent.
| Name | ServerUpdateMultipleLevelsVisibility |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include Path | #include "GameFramework/PlayerController.h" |
UFUNCTION (Reliable, Server, WithValidation, SealedEvent)
void ServerUpdateMultipleLevelsVisibility
(
const TArray < FUpdateLevelVisibilityLevelInfo > & LevelVisibilities
)
Parameters
| Name | Remarks |
|---|---|
| LevelVisibilities | Visibility state for each level whose state has changed |