MCPcopy Create free account
hub / github.com/chrxh/alien / processDefenderContent

Method processDefenderContent

source/Gui/InspectorWindow.cpp:601–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

599}
600
601void _InspectorWindow::processDefenderContent(DefenderDescription& defender)
602{
603 if (ImGui::TreeNodeEx("Properties", TreeNodeFlags)) {
604 AlienImGui::Combo(
605 AlienImGui::ComboParameters()
606 .name("Mode")
607 .values({"Anti-attacker", "Anti-injector"})
608 .textWidth(CellFunctionDefenderWidth)
609 .tooltip(Const::GenomeDefenderModeTooltip),
610 defender.mode);
611 ImGui::TreePop();
612 }
613}
614
615void _InspectorWindow::processTransmitterContent(TransmitterDescription& transmitter)
616{

Callers

nothing calls this directly

Calls 1

ComboParametersClass · 0.85

Tested by

no test coverage detected