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

Function FindDialogGlobal

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

------------------ TEMPLATE --------------------- bool __fastcall InteractTemplate(dialog *dlg, dlgEvent *evt) { char out[512]; switch (evt->wNo) { case 0: // Key down break; case 1: // Key repeat break; case 2: // Key Modifier?? Key up? break; case 3: // Mouse Move break; case 4: // Left Button down break; case 5:

Source from the content-addressed store, hash-verified

103 }*/
104 // ------------------ FIND GLOBAL ------------------
105 dialog *FindDialogGlobal(const char *pszName)
106 {
107 if ( BW::BWDATA::DialogList && pszName )
108 return BW::BWDATA::DialogList->findDialog(pszName);
109 return nullptr;
110 }
111 // ----------------- CONSTRUCTORS ------------------
112 /*
113 dialog::dialog(u16 ctrlType, short index, const char *text, u16 left, u16 top, u16 width, u16 height, bool (__fastcall *pfInteract)(dialog*,dlgEvent*))

Callers 3

DrawDialogHookFunction · 0.85
_changeRaceMethod · 0.85
onMenuFrameMethod · 0.85

Calls 1

findDialogMethod · 0.80

Tested by

no test coverage detected