| 52 | } |
| 53 | |
| 54 | bool ValveMenuStyle::OnClientCommand(int client, const char *cmdname, const CCommand &cmd) |
| 55 | { |
| 56 | if (strcmp(cmdname, "sm_vmenuselect") == 0) |
| 57 | { |
| 58 | int key_press = atoi(cmd.Arg(1)); |
| 59 | g_ValveMenuStyle.ClientPressedKey(client, key_press); |
| 60 | return true; |
| 61 | } |
| 62 | |
| 63 | return false; |
| 64 | } |
| 65 | |
| 66 | void ValveMenuStyle::OnSourceModAllInitialized() |
| 67 | { |
nothing calls this directly
no test coverage detected