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

Method getSelectedValue

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

--------------- GET SELECTED VALUE --------------

Source from the content-addressed store, hash-verified

595 }
596 // --------------- GET SELECTED VALUE --------------
597 u32 dialog::getSelectedValue() const
598 {
599 if ( this
600 && this->isList()
601 && this->u.list.pdwData
602 && this->u.list.bSelectedIndex < this->u.list.bStrs)
603 return this->u.list.pdwData[this->u.list.bSelectedIndex];
604 return 0;
605 }
606 // --------------- GET SELECTED STRING -------------
607 char *dialog::getSelectedString() const
608 {

Callers 2

_changeRaceMethod · 0.80
onMenuFrameMethod · 0.80

Calls 1

isListMethod · 0.95

Tested by

no test coverage detected