Skip to content
Version 2.11.0
↓ Get the launcher

IEntityContextMenu interface

Extension point for entity-scoped row context menus (CombatMeter renders these on a right-click). Any plugin registers items; the renderer need not know the registrant. Items can gate per-entity.

public interface IEntityContextMenu
name description
ItemsFor(…) The menu items currently visible for entity, each pre-bound to it.
Register(…) Register a menu item. isVisible gates per-entity (null = always visible); onClick fires with the row’s entity. Dispose the return value to unregister.