Exemplo n.º 1
0
 /// <summary>
 ///     Raises the <see cref="PlayerEditPlayerObject" /> event.
 /// </summary>
 /// <param name="player">The player triggering the event.</param>
 /// <param name="e">An <see cref="EditPlayerObjectEventArgs" /> that contains the event data. </param>
 protected virtual void OnPlayerEditPlayerObject(GtaPlayer player, EditPlayerObjectEventArgs e)
 {
     if (PlayerEditPlayerObject != null)
         PlayerEditPlayerObject(player, e);
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Raises the <see cref="PlayerEditPlayerObject" /> event.
 /// </summary>
 /// <param name="player">The player triggering the event.</param>
 /// <param name="e">An <see cref="EditPlayerObjectEventArgs" /> that contains the event data. </param>
 protected virtual void OnPlayerEditPlayerObject(BasePlayer player, EditPlayerObjectEventArgs e)
 {
     PlayerEditPlayerObject?.Invoke(player, e);
 }