Exemple #1
0
 private void TriggerEvent(object sender, PlayerJoinEventArgs ea)
 {
     if (this.PlayerJoined != null)
     {
         this.PlayerJoined(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(PlayerJoinEventArgs e)
 {
     this.Player = e.Player;
 }