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

Method getSelectedString

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

--------------- GET SELECTED STRING -------------

Source from the content-addressed store, hash-verified

605 }
606 // --------------- GET SELECTED STRING -------------
607 char *dialog::getSelectedString() const
608 {
609 if ( this && this->isList() && this->u.list.ppStrs && this->u.list.ppStrs[this->u.list.bCurrStr])
610 return this->u.list.ppStrs[this->u.list.bCurrStr];
611 return "";
612 }
613// -------------- SET SELECTED INDEX -----------------
614 bool dialog::setSelectedIndex(u8 bIndex)
615 {

Callers 1

onMenuFrameMethod · 0.80

Calls 1

isListMethod · 0.95

Tested by

no test coverage detected