MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / CreateMenuHandle

Method CreateMenuHandle

core/MenuManager.cpp:130–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130Handle_t MenuManager::CreateMenuHandle(IBaseMenu *menu, IdentityToken_t *pOwner)
131{
132 if (m_MenuType == NO_HANDLE_TYPE)
133 {
134 return BAD_HANDLE;
135 }
136
137 return handlesys->CreateHandle(m_MenuType, menu, pOwner, g_pCoreIdent, NULL);
138}
139
140Handle_t MenuManager::CreateStyleHandle(IMenuStyle *style)
141{

Callers 1

GetHandleMethod · 0.80

Calls 1

CreateHandleMethod · 0.45

Tested by

no test coverage detected