Teams.h file
Namespaces
- namespace Jazz2
- Root namespace of Jazz² Resurrection.
- namespace Jazz2::Multiplayer
- Multiplayer-related classes, compiled only if
WITH_MULTIPLAYER.
Functions
- auto IsTeamGameMode(MpGameMode mode) -> bool
- Returns
trueif the specified game mode splits players into teams. -
auto GetTeamColor(std::
uint8_t team) -> nCine::Colorf - Returns the display color of the specified team (Blue, Red, Green, Yellow).
-
auto GetTeamName(std::
uint8_t team) -> Death:: Containers:: StringView - Returns the display name of the specified team.
-
auto ApplyTeamFurColor(std::
uint32_t furColor, std:: uint8_t team) -> std:: uint32_t - Recolors a packed fur color so the primary character color section matches the team color.
Variables
-
static std::
uint8_t MaxTeamCount constexpr - Maximum number of teams supported.
-
static std::
uint8_t NoPreferredTeam constexpr - Sentinel team value meaning "no preference, let the server decide".