internal static void RaisePlayerBeingKickedEvent(PlayerBeingKickedEventArgs e) { var h = PlayerBeingKicked; if (h != null) { h(null, e); } }
private static void RaisePlayerBeingKickedEvent([NotNull] PlayerBeingKickedEventArgs e) { if (e == null) { throw new ArgumentNullException(nameof(e)); } var h = BeingKicked; h?.Invoke(null, e); }
static void RaisePlayerBeingKickedEvent([NotNull] PlayerBeingKickedEventArgs e) { if (e == null) { throw new ArgumentNullException("e"); } var h = BeingKicked; if (h != null) { h(null, e); } }