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

Method CreateStyleHandle

core/MenuManager.cpp:140–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140Handle_t MenuManager::CreateStyleHandle(IMenuStyle *style)
141{
142 if (m_StyleType == NO_HANDLE_TYPE)
143 {
144 return BAD_HANDLE;
145 }
146
147 return handlesys->CreateHandle(m_StyleType, style, g_pCoreIdent, g_pCoreIdent, NULL);
148}
149
150HandleError MenuManager::ReadMenuHandle(Handle_t handle, IBaseMenu **menu)
151{

Callers 1

GetHandleMethod · 0.80

Calls 1

CreateHandleMethod · 0.45

Tested by

no test coverage detected