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

Method onMenuFrame

bwapi/BWAPI/Source/BWAPI/GameMenu.cpp:48–57  ·  view source on GitHub ↗

---------------------------------------------- ON MENU FRAME ---------------------------------------------

Source from the content-addressed store, hash-verified

46
47 //---------------------------------------------- ON MENU FRAME ---------------------------------------------
48 void GameImpl::onMenuFrame()
49 {
50 //this function is called each frame while starcraft is in the main menu system (not in-game).
51 this->inGame = false;
52
53 events.push_back(Event::MenuFrame());
54 this->server.update();
55
56 this->autoMenuManager.onMenuFrame();
57 }
58 //---------------------------------------------- CHANGE RACE -----------------------------------------------
59 void GameImpl::_changeRace(int slot, BWAPI::Race race)
60 {

Callers 1

DrawDialogHookFunction · 0.45

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected