SwiftlyS2

MenuOptionEventArgs

Class MenuOptionEventArgs

Namespace: SwiftlyS2.Shared.Menus

Assembly: SwiftlyS2.CS2.dll

Provides event data for menu option events.

public sealed class MenuOptionEventArgs : EventArgs

Inheritance

Inherited Members

Remarks

The Player property will be null for this event since it's a global property change.

Properties

Option

The menu option involved in this event, or null for lifecycle events like opening or closing the menu.

public IMenuOption? Option { get; init; }
Property Value

Player

The player who triggered this menu event.

public IPlayer? Player { get; init; }
Property Value

On this page