Jazz2::LevelInitialization struct

Level initialization parameters.

Constructors, destructors, conversion operators

LevelInitialization()
LevelInitialization(StringView level, GameDifficulty difficulty, bool isReforged)
LevelInitialization(StringView level, GameDifficulty difficulty, bool isReforged, bool cheatsUsed, PlayerType playerType)
LevelInitialization(StringView level, GameDifficulty difficulty, bool isReforged, bool cheatsUsed, ArrayView<const PlayerType> playerTypes)
LevelInitialization(const LevelInitialization& copy) noexcept
LevelInitialization(LevelInitialization&& move) noexcept

Public functions

auto GetPlayerCount(const PlayerCarryOver** firstPlayer = nullptr) const -> std::int32_t
Returns number of assigned players.

Public variables

String LevelName
Level name in <episode>/<level> format.
String LastEpisodeName
Last episode name.
bool IsLocalSession
Whether the session is local (not online)
GameDifficulty Difficulty
Difficulty.
bool IsReforged
Whether reforged gameplay is enabled.
bool CheatsUsed
Whether cheats were used.
ExitType LastExitType
Last exit type.
std::uint64_t ElapsedMilliseconds
Elapsed milliseconds (gameplay time)
PlayerCarryOver PlayerCarryOvers
Player carry over descriptions.

Constants

static std::int32_t MaxPlayerCount constexpr
Maximum player count.
static std::int32_t DefaultLives constexpr
Default number of lives.