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

Method SetDefaultStyle

core/MenuManager.cpp:170–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170bool MenuManager::SetDefaultStyle(IMenuStyle *style)
171{
172 if (!style)
173 {
174 return false;
175 }
176
177 m_pDefaultStyle = style;
178
179 return true;
180}
181
182IMenuStyle *MenuManager::GetStyle(unsigned int index)
183{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected