#include <public/extensions/ITopMenus.h>
Inherits SourceMod::SMInterface.
Inheritance diagram for SourceMod::ITopMenuManager:
Public Member Functions | |
| virtual const char * | GetInterfaceName ()=0 |
| Must return a string defining the interface's unique name. | |
| virtual unsigned int | GetInterfaceVersion ()=0 |
| Must return an integer defining the interface's version. | |
| virtual bool | IsVersionCompatible (unsigned int version) |
| Must return whether the requested version number is backwards compatible. Note: This can be overridden for breaking changes or custom versioning. | |
| virtual ITopMenu * | CreateTopMenu (ITopMenuObjectCallbacks *callbacks)=0 |
| Creates a new top-level menu. | |
| virtual void | DestroyTopMenu (ITopMenu *topmenu)=0 |
| Destroys a top-level menu. | |
Definition at line 284 of file ITopMenus.h.
| virtual bool SourceMod::ITopMenuManager::IsVersionCompatible | ( | unsigned int | version | ) | [inline, virtual] |
Must return whether the requested version number is backwards compatible. Note: This can be overridden for breaking changes or custom versioning.
| version | Version number to compare against. |
Reimplemented from SourceMod::SMInterface.
Definition at line 289 of file ITopMenus.h.
| virtual ITopMenu* SourceMod::ITopMenuManager::CreateTopMenu | ( | ITopMenuObjectCallbacks * | callbacks | ) | [pure virtual] |
Creates a new top-level menu.
| callbacks | Callbacks for the title text. The object_id for the title will always be 0. |
| virtual void SourceMod::ITopMenuManager::DestroyTopMenu | ( | ITopMenu * | topmenu | ) | [pure virtual] |
1.5.1