swiftlys2/docs/api/releases/features/ai/
API Reference › Menu.Components

MenuPlayerContext

Struct
Namespace: SwiftlyS2.Shared.Menu.Components · Assembly: SwiftlyS2.CS2.dll
public readonly record struct MenuPlayerContext : IEquatable<MenuPlayerContext>
View source

Properties

Player

The player who made the selection.

public IPlayer Player { get; }
Property Value

Session

The session that selected the player.

public required IMenuSession Session { get; init; }
Property Value

Target

The player that was selected.

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