Example #1
0
 /// <summary>
 ///  Helper function used to fire teleported events.
 /// </summary>
 /// <param name="e">The teleported event arguments.</param>
 /// <param name="clearOnly">Only clear the action, don't fire the event.</param>
 private void OnTeleported(TeleportedEventArgs e, bool clearOnly)
 {
     if (!clearOnly && Teleported != null)
     {
         Teleported(this, e);
     }
 }
Example #2
0
 /// <summary>
 ///  Helper function used to fire teleported events.
 /// </summary>
 /// <param name="e">The teleported event arguments.</param>
 /// <param name="clearOnly">Only clear the action, don't fire the event.</param>
 private void OnTeleported(TeleportedEventArgs e, bool clearOnly)
 {
     if (!clearOnly && Teleported != null)
     {
         Teleported(this, e);
     }
 }