SwiftlyS2

MenuOptionFormattingEventArgs

Class MenuOptionFormattingEventArgs

Namespace: SwiftlyS2.Shared.Menus

Assembly: SwiftlyS2.CS2.dll

Provides event data for menu option HTML formatting events.

public sealed class MenuOptionFormattingEventArgs : EventArgs

Inheritance

Inherited Members

Properties

CustomText

Gets or sets custom text to use instead of the default text during HTML assembly.

public string? CustomText { get; set; }
Property Value

Option

The menu option being formatted.

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

Player

The player for whom the option is being formatted.

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

On this page