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

Method GetCurrentSection

Sources/Jazz2/UI/Menu/MainMenu.cpp:397–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395 }
396
397 MenuSection* MainMenu::GetCurrentSection() const
398 {
399 std::size_t count = _sections.size();
400 return (count >= 1 ? _sections[count - 1].get() : nullptr);
401 }
402
403 MenuSection* MainMenu::GetUnderlyingSection() const
404 {

Callers 2

OnPeerDisconnectedMethod · 0.45
OnPacketReceivedMethod · 0.45

Calls 2

sizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected