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