예제 #1
0
 /// <summary>
 ///     Raises the <see cref="PlayerSelectedMenuRow" /> event.
 /// </summary>
 /// <param name="player">The player triggering the event.</param>
 /// <param name="e">An <see cref="MenuRowEventArgs" /> that contains the event data. </param>
 protected virtual void OnPlayerSelectedMenuRow(GtaPlayer player, MenuRowEventArgs e)
 {
     if (PlayerSelectedMenuRow != null)
         PlayerSelectedMenuRow(player, e);
 }
예제 #2
0
 /// <summary>
 ///     Raises the <see cref="PlayerSelectedMenuRow" /> event.
 /// </summary>
 /// <param name="player">The player triggering the event.</param>
 /// <param name="e">An <see cref="MenuRowEventArgs" /> that contains the event data. </param>
 protected virtual void OnPlayerSelectedMenuRow(BasePlayer player, MenuRowEventArgs e)
 {
     PlayerSelectedMenuRow?.Invoke(player, e);
 }