swiftlys2/docs/api/ai/
API Reference › Menu

MenuInputMethod

Enum
Namespace: SwiftlyS2.Shared.Menu · Assembly: SwiftlyS2.CS2.dll
public enum MenuInputMethod

How a player interacts with an open menu.

View source
Buttons

Keyboard buttons bound to menu actions, as resolved by the menu's IMenuKeymap.

0
Chat

Chat commands. Typing !1 , !2 and so on selects the entry with that number on the current page, and !0 closes the menu. Keyboard buttons are ignored while this method is active. Matching messages are swallowed and never reach the chat.

1