Class PlayerEventsAddedEventArgs
Send events as a list, allowing them to be batched on the browser for less congestion. If batched, events must ALWAYS be in chronological order.
public sealed record PlayerEventsAddedEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<PlayerEventsAddedEventArgs>
- Inheritance
-
EventArgsPlayerEventsAddedEventArgs
- Implements
-
IEquatable<EventArgs>
- Inherited Members
-
EventArgs.ToString()EventArgs.GetHashCode()EventArgs.Equals(EventArgs)EventArgs.<Clone>$()EventArgs.BiDiEventArgs.AdditionalDataEventArgs.AdditionalMessageData
Constructors
PlayerEventsAddedEventArgs(PlayerId, ImmutableArray<PlayerEvent>)
Send events as a list, allowing them to be batched on the browser for less congestion. If batched, events must ALWAYS be in chronological order.
public PlayerEventsAddedEventArgs(PlayerId PlayerId, ImmutableArray<PlayerEvent> Events)
Parameters
PlayerIdPlayerIdEventsImmutableArray<PlayerEvent>
Properties
Events
public ImmutableArray<PlayerEvent> Events { get; init; }
Property Value
PlayerId
public PlayerId PlayerId { get; init; }