Skip to content

Conversation

@AshleighAdams
Copy link
Contributor

  • Added shell for ScreenMenuAPI
  • Added and implemented CSSharp compat which redirects to the universal API when any of the following methods are used:
    • MenuManager.OpenCenterHtmlMenu()
    • MenuManager.OpenChatMenu()
    • MenuManager.OpenConsoleMenu()
    • new CenterHtmlMenu().Open(player) and the like

- Added shell for ScreenMenuAPI
- Added and implemented CSSharp compat which redirects to the universal API when
  any of the following methods are used:
  - `MenuManager.OpenCenterHtmlMenu()`
  - `MenuManager.OpenChatMenu()`
  - `MenuManager.OpenConsoleMenu()`
  - `new CenterHtmlMenu().Open(player)` and the like
@AshleighAdams AshleighAdams added the enhancement New feature or request label Apr 18, 2025
@AshleighAdams
Copy link
Contributor Author

AshleighAdams commented Apr 18, 2025

How it plugs with a deathmatch plugin that uses new CenterHtmlMenu().Open(player), with the ScreenMenuAPI driver:

image

image

The built in menus assume only 1 menu at a time, and opening a new menu
closes the previous one, so replicate this behavior when adapting the menu
interface.
@AshleighAdams AshleighAdams merged commit c5f87e0 into main Apr 18, 2025
1 check passed
@AshleighAdams AshleighAdams deleted the default-menu-compat branch April 19, 2025 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants