Table of Contents

Class PlayerEvent

Namespace
McServerLauncher.Services
Assembly
McServerLauncher.dll

One thing a player did, read from a console line.

public sealed record PlayerEvent : IEquatable<PlayerEvent>
Inheritance
PlayerEvent
Implements
Inherited Members

Constructors

PlayerEvent(PlayerEventKind, string, string?)

One thing a player did, read from a console line.

public PlayerEvent(PlayerEventKind Kind, string Player, string? Text)

Parameters

Kind PlayerEventKind

What it was.

Player string

Who did it.

Text string

What they said, how they died, or which advancement; null for joins and leaves.

Properties

Kind

What it was.

public PlayerEventKind Kind { get; init; }

Property Value

PlayerEventKind

Player

Who did it.

public string Player { get; init; }

Property Value

string

Text

What they said, how they died, or which advancement; null for joins and leaves.

public string? Text { get; init; }

Property Value

string