| 52 | } |
| 53 | |
| 54 | void RootConsoleMenu::OnSourceModStartup(bool late) |
| 55 | { |
| 56 | AddRootConsoleCommand3("version", "Display version information", this); |
| 57 | AddRootConsoleCommand3("credits", "Display credits listing", this); |
| 58 | |
| 59 | bridge->DefineCommand("sm_dump_handles", "Dumps Handle usage to a file for finding Handle leaks", |
| 60 | sm_dump_handles); |
| 61 | bridge->DefineCommand("sm", "SourceMod Menu", [this] (int client, const ICommandArgs *args) -> bool { |
| 62 | GotRootCmd(args); |
| 63 | return true; |
| 64 | }); |
| 65 | } |
| 66 | |
| 67 | void RootConsoleMenu::OnSourceModAllInitialized() |
| 68 | { |
nothing calls this directly
no test coverage detected