private void TriggerEvent(object sender, PlayerJoinEventArgs ea) { if (this.PlayerJoined != null) { this.PlayerJoined(sender, ea); } }
/// <summary> /// Creates a new instance of wrapper event args. /// </summary> /// <param name="e">Wrapped event's arguments.</param> internal PlayerAsyncEventArgs(PlayerJoinEventArgs e) { this.Player = e.Player; }