MCPcopy Create free account
hub / github.com/bwapi/bwapi / getSelectedIndex

Method getSelectedIndex

bwapi/BWAPI/Source/BW/Dialog.cpp:590–595  ·  view source on GitHub ↗

--------------- GET SELECTED INDEX --------------

Source from the content-addressed store, hash-verified

588 }
589 // --------------- GET SELECTED INDEX --------------
590 u8 dialog::getSelectedIndex() const
591 {
592 if ( this && this->isList() )
593 return this->u.list.bSelectedIndex;
594 return 0;
595 }
596 // --------------- GET SELECTED VALUE --------------
597 u32 dialog::getSelectedValue() const
598 {

Callers 2

removeListEntryMethod · 0.95
onMenuFrameMethod · 0.80

Calls 1

isListMethod · 0.95

Tested by

no test coverage detected