Jazz2::Actors::Multiplayer::CtfBase class

Capture The Flag base.

Static visual structure marking a team's home base in Jazz2::Multiplayer::MpGameMode::CaptureTheFlag. It is spawned by the server and remoted to clients; the carryable flag (see Flag) rests on it and the capture logic lives in Jazz2::Multiplayer::MpLevelHandler.

Base classes

class Jazz2::Actors::ActorBase
Base class of an object.

Public static functions

static void Preload(const ActorActivationDetails& details)
Preloads all assets required by this actor.

Constructors, destructors, conversion operators

CtfBase()

Public functions

auto GetTeam() const -> std::uint8_t
Returns the team this base belongs to.

Protected functions

auto OnActivatedAsync(const ActorActivationDetails& details) -> Task<bool> override
Called when the object is created and activated.