Jazz2::LevelInitialization struct

Level initialization.

Public static variables

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

Constructors, destructors, conversion operators

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

Public functions

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

Public variables

String LevelName
Level name.
String EpisodeName
Episode name.
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.