/// <summary> /// Raises the <see cref="IMenu.Response" /> event. /// </summary> /// <param name="player">The player.</param> /// <param name="e">The <see cref="MenuRowEventArgs" /> instance containing the event data.</param> public void OnResponse(GtaPlayer player, MenuRowEventArgs e) { if (Response != null) { Response(player, e); } }
/// <summary> /// Raises the <see cref="Menu.Response" /> event. /// </summary> /// <param name="player">The player.</param> /// <param name="e">The <see cref="MenuRowEventArgs" /> instance containing the event data.</param> public void OnResponse(BasePlayer player, MenuRowEventArgs e) { Response?.Invoke(player, e); }