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

Function SendHotkey

bwapi/BWAPI/Source/WMode.cpp:116–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116bool SendHotkey(BW::dlgEvent *pEvent)
117{
118#ifndef SHADOW_BROODWAR
119 BW::dialog *dlg = BW::BWDATA::EventDialogs[pEvent->wNo];
120 if ( dlg && dlg->pfcnInteract(dlg, pEvent) )
121 return true;
122
123 dlg = BW::BWDATA::DialogList;
124 while ( dlg )
125 {
126 if ( dlg->pfcnInteract(dlg, pEvent) )
127 return true;
128 dlg = dlg->next();
129 }
130#endif
131 return false;
132}
133
134void ButtonEvent(DWORD dwEvent, LPARAM lParam)
135{

Callers 1

ButtonEventFunction · 0.85

Calls 1

nextMethod · 0.80

Tested by

no test coverage detected