Skip to content

Menu Sessions

The easiest way to understand DaisyCore menus is to split them into two layers.

DaisyMenu is the reusable menu definition. It describes slots, render logic, and click behavior.

When a player opens that menu, DaisyCore creates a DaisyMenuSession.

That session is where runtime concerns live:

  • the open inventory
  • refresh scheduling
  • invalidation
  • player-specific state

It keeps your reusable menu definitions clean while still letting the library handle per-player state safely.