Limen Framework 0.1 Help

ULimenLevelManagerSubsystem

Overview

ULimenLevelManagerSubsystem is a subsystem that handles the opening and management of different levels in the game. It provides functions to open various types of levels such as initialization, main menu, game end, and specific game levels. The subsystem also includes methods to reset the current level based on the context (local, connect, server).

Properties

Type

Name

Access

Description

UEnum

ELevelOpenContext

Public

Enumerates different contexts for opening levels: Local, Connect, Server.

Functions

Return Type

Signature

Description

bool

OpenInitializationLevel()

Opens the initialization level as defined in the developer settings.

void

OpenMainMenu()

Opens the main menu level as defined in the developer settings.

void

OpenGameEndLevel()

Opens the game end level as defined in the developer settings.

void

OpenGameLevel(ELevelOpenContext Context = ELevelOpenContext::Local, const int32 Index = 0, FString Options = TEXT(""))

Opens a specific game level based on the context and index.

void

OpenLevel(const TSoftObjectPtr

& Level, ELevelOpenContext Context = ELevelOpenContext::Local, FString Options = TEXT(""))

Opens a given level with the specified context and options.

void

ResetCurrentLevel(ELevelOpenContext Context = ELevelOpenContext::Local)

Resets the current level based on the provided context.

Usage & Implementation Notes

  • This subsystem is initialized during the game instance's initialization phase.

  • It uses UGameMapsSettings to set and retrieve default map settings.

  • The OpenOfflineLevel_Internal, ConnectToServer_Internal, and OpenServerLevel_Internal functions handle the actual level opening based on the context.

22 May 2026