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
KindPlayerEventKindWhat it was.
PlayerstringWho did it.
TextstringWhat 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
Player
Who did it.
public string Player { get; init; }
Property Value
Text
What they said, how they died, or which advancement; null for joins and leaves.
public string? Text { get; init; }