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