예제 #1
0
 /// <summary>
 ///     Dispatches the <see cref="PlayerDisconnected"/> event asynchronously.
 /// </summary>
 /// <param name="eventArgs">the event arguments passed with the event</param>
 /// <returns>a task that represents the asynchronous operation</returns>
 protected virtual Task OnPlayerDisconnectedAsync(PlayerDisconnectedEventArgs eventArgs)
 => PlayerDisconnected.InvokeAsync(this, eventArgs);