MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / IsSpectating

Method IsSpectating

Sources/Jazz2/UI/Menu/InGameMenu.cpp:534–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532
533#if defined(WITH_MULTIPLAYER)
534 bool InGameMenu::IsSpectating()
535 {
536 if (auto* mpLevelHandler = runtime_cast<Jazz2::Multiplayer::MpLevelHandler>(_root)) {
537 return mpLevelHandler->IsSpectating();
538 }
539
540 return false;
541 }
542
543 void InGameMenu::ToggleSpectate()
544 {

Callers 2

OnShowMethod · 0.45
ToggleSpectateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected